Skip to content

Commit 71a3360

Browse files
Address comments
1 parent aac9e9f commit 71a3360

File tree

3 files changed

+226
-226
lines changed

3 files changed

+226
-226
lines changed

google-cloud-spanner/src/main/resources/com/google/cloud/spanner/connection/ClientSideStatements.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@
758758
"executorName": "ClientSideStatementSetExecutor",
759759
"resultType": "NO_RESULT",
760760
"statementType": "SET_BATCH_DML_UPDATE_COUNT",
761-
"regex": "(?is)\\A\\s*set\\s+((?:session|local)\\s+)?batch_dml_update_count\\s*(?:=)\\s*(.*)\\z",
761+
"regex": "(?is)\\A\\s*set\\s+(local\\s+)?batch_dml_update_count\\s*(?:=)\\s*(.*)\\z",
762762
"method": "statementSetBatchDmlUpdateCount",
763763
"exampleStatements": [
764764
"set local batch_dml_update_count = 0",
@@ -769,7 +769,7 @@
769769
"examplePrerequisiteStatements": ["set readonly = false", "set autocommit = false"],
770770
"setStatement": {
771771
"propertyName": "BATCH_DML_UPDATE_COUNT",
772-
"separator": "(?:=|\\s+TO\\s+)",
772+
"separator": "=",
773773
"allowedValues": "(\\d{1,19})",
774774
"converterName": "ClientSideStatementValueConverters$LongConverter"
775775
}

0 commit comments

Comments
 (0)