@@ -626,7 +626,7 @@ class _ExecuteResponse(object):
626
626
627
627
__slots__ = ("row_metadata" , "row_page" , "update_count" )
628
628
629
- def __init__ (self , row_metadata , row_page , update_count , error ):
629
+ def __init__ (self , row_metadata , row_page , update_count ):
630
630
self .row_metadata = row_metadata
631
631
"""SqlRowMetadata: Row metadata or None, if the response only
632
632
contains update count."""
@@ -1403,10 +1403,10 @@ def _handle_execute_response(self, future, connection):
1403
1403
# The result contains some rows, not an update count.
1404
1404
row_metadata = SqlRowMetadata (row_metadata )
1405
1405
# Set the update count to -1.
1406
- return _ExecuteResponse (row_metadata , response ["row_page" ], - 1 , None )
1406
+ return _ExecuteResponse (row_metadata , response ["row_page" ], - 1 )
1407
1407
1408
1408
# Result only contains the update count.
1409
- return _ExecuteResponse (None , None , response ["update_count" ], None )
1409
+ return _ExecuteResponse (None , None , response ["update_count" ])
1410
1410
1411
1411
1412
1412
class SqlExpectedResultType (object ):
0 commit comments