Skip to content

Commit 4ab018b

Browse files
chore: generate libraries at Thu Apr 24 15:05:17 UTC 2025
1 parent 78cffe3 commit 4ab018b

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/TransactionRunnerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ options, getPreviousTransactionId())))
679679
"Timeout while waiting for a transaction to be returned by another statement."
680680
+ (trackTransactionStarter
681681
? " See the suppressed exception for the stacktrace of the caller that"
682-
+ " should return a transaction"
682+
+ " should return a transaction"
683683
: ""),
684684
e);
685685
if (transactionStarter != null) {

google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection/AbstractSqlScriptVerifier.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ public abstract class AbstractSqlScriptVerifier {
8383
Pattern.compile(
8484
"(?is)\\s*(?:@EXPECT)\\s+(?<type>NO_RESULT|RESULT_SET\\s*(?<column>'.*?'(?<value>,.*?)?)?"
8585
+ "|UPDATE_COUNT\\s*(?<count>-?\\d{1,19})"
86-
+ "|EXCEPTION\\s*(?<exception>(?<code>CANCELLED|UNKNOWN|INVALID_ARGUMENT|DEADLINE_EXCEEDED|NOT_FOUND|ALREADY_EXISTS|PERMISSION_DENIED|UNAUTHENTICATED|RESOURCE_EXHAUSTED|FAILED_PRECONDITION|ABORTED|OUT_OF_RANGE|UNIMPLEMENTED|INTERNAL|UNAVAILABLE|DATA_LOSS)(?:\\s*)(?<messagePrefix>'.*?')?)"
87-
+ "|EQUAL\\s+(?<variable1>'.+?')\\s*,\\s*(?<variable2>'.+?'))(\\n"
86+
+ "|EXCEPTION\\s*(?<exception>(?<code>CANCELLED|UNKNOWN|INVALID_ARGUMENT|DEADLINE_EXCEEDED|NOT_FOUND|ALREADY_EXISTS|PERMISSION_DENIED|UNAUTHENTICATED|RESOURCE_EXHAUSTED|FAILED_PRECONDITION|ABORTED|OUT_OF_RANGE|UNIMPLEMENTED|INTERNAL|UNAVAILABLE|DATA_LOSS)(?:\\s*)(?<messagePrefix>'.*?')?)|EQUAL\\s+(?<variable1>'.+?')\\s*,\\s*(?<variable2>'.+?'))(\\n"
8887
+ "(?<statement>.*))?");
8988

9089
private static final String PUT_CONDITION =

google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITDmlReturningTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ public static List<DialectTestParameter> data() {
125125
private String getInsertDmlReturningTemplate() {
126126
if (dialect.dialect == Dialect.POSTGRESQL) {
127127
return "INSERT INTO T (\"K\", \"V\") VALUES ('%d-boo1', 1), ('%d-boo2', 2), ('%d-boo3', 3),"
128-
+ " ('%d-boo4', 4) RETURNING *";
128+
+ " ('%d-boo4', 4) RETURNING *";
129129
}
130130
return "INSERT INTO T (K, V) VALUES ('%d-boo1', 1), ('%d-boo2', 2), ('%d-boo3', 3), ('%d-boo4',"
131-
+ " 4) THEN RETURN *";
131+
+ " 4) THEN RETURN *";
132132
}
133133

134134
private String getUpdateDmlReturningTemplate() {

0 commit comments

Comments
 (0)