diff --git a/google-cloud-spanner/src/main/resources/com/google/cloud/spanner/connection/PG_ClientSideStatements.json b/google-cloud-spanner/src/main/resources/com/google/cloud/spanner/connection/PG_ClientSideStatements.json index aad7e93d4b..01f55f846e 100644 --- a/google-cloud-spanner/src/main/resources/com/google/cloud/spanner/connection/PG_ClientSideStatements.json +++ b/google-cloud-spanner/src/main/resources/com/google/cloud/spanner/connection/PG_ClientSideStatements.json @@ -224,13 +224,16 @@ "examplePrerequisiteStatements": ["begin transaction"] }, { - "name": "ROLLBACK [TRANSACTION | WORK] [AND NO CHAIN]", + "name": "{ROLLBACK | ABORT} [TRANSACTION | WORK] [AND NO CHAIN]", "executorName": "ClientSideStatementNoParamExecutor", "resultType": "NO_RESULT", "statementType": "ROLLBACK", - "regex": "(?is)\\A\\s*(?:rollback)(?:\\s+transaction|\\s+work)?(?:\\s+and\\s+no\\s+chain)?\\s*\\z", + "regex": "(?is)\\A\\s*(?:rollback|abort)(?:\\s+transaction|\\s+work)?(?:\\s+and\\s+no\\s+chain)?\\s*\\z", "method": "statementRollback", - "exampleStatements": ["rollback", "rollback transaction", "rollback work", "rollback and no chain", "rollback transaction and no chain", "rollback work and no chain"], + "exampleStatements": [ + "rollback", "rollback transaction", "rollback work", "rollback and no chain", "rollback transaction and no chain", "rollback work and no chain", + "abort", "abort transaction", "abort work", "abort and no chain", "abort transaction and no chain", "abort work and no chain" + ], "examplePrerequisiteStatements": ["begin transaction"] }, { diff --git a/google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection/ClientSideStatementsTest.java b/google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection/ClientSideStatementsTest.java index c0ca4f96c9..0fc6a82260 100644 --- a/google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection/ClientSideStatementsTest.java +++ b/google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection/ClientSideStatementsTest.java @@ -78,6 +78,22 @@ public void testClientSideStatementType() { assertEquals( ClientSideStatementType.ROLLBACK, parser.parse(Statement.of("ROLLBACK TRANSACTION")).getClientSideStatementType()); + if (dialect == Dialect.POSTGRESQL) { + assertEquals( + ClientSideStatementType.ROLLBACK, + parser.parse(Statement.of("ABORT")).getClientSideStatementType()); + assertEquals( + ClientSideStatementType.ROLLBACK, + parser.parse(Statement.of("ABORT TRANSACTION")).getClientSideStatementType()); + assertEquals( + ClientSideStatementType.ROLLBACK, + parser.parse(Statement.of("ABORT WORK")).getClientSideStatementType()); + assertEquals( + ClientSideStatementType.ROLLBACK, + parser + .parse(Statement.of("ABORT TRANSACTION and no chain")) + .getClientSideStatementType()); + } for (ClientSideStatementImpl statement : parser.getClientSideStatements()) { assertNotNull( diff --git a/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/ClientSideStatementsTest.sql b/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/ClientSideStatementsTest.sql index 914244a02a..4a10fe34e5 100644 --- a/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/ClientSideStatementsTest.sql +++ b/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/ClientSideStatementsTest.sql @@ -3591,205 +3591,6 @@ NEW_CONNECTION; @EXPECT EXCEPTION UNIMPLEMENTED show variable/-savepoint_support; NEW_CONNECTION; -show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -SHOW VARIABLE DELAY_TRANSACTION_START_UNTIL_FIRST_WRITE; -NEW_CONNECTION; -show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; - show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; - show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; - - - -show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -show variable delay_transaction_start_until_first_write ; -NEW_CONNECTION; -show variable delay_transaction_start_until_first_write ; -NEW_CONNECTION; -show variable delay_transaction_start_until_first_write - -; -NEW_CONNECTION; -show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -show -variable -delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -foo show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write bar; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -%show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write%; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable%delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -_show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write_; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable_delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -&show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write&; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable&delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -$show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write$; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable$delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -@show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write@; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable@delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -!show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write!; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable!delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -*show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write*; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable*delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -(show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write(; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable(delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -)show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write); -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable)delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write-; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable-delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -+show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write+; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable+delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --#show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write-#; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable-#delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write/; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable/delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -\show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write\; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable\delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -?show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write?; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable?delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --/show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write-/; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable-/delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/#show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write/#; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable/#delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/-show variable delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable delay_transaction_start_until_first_write/-; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable/-delay_transaction_start_until_first_write; -NEW_CONNECTION; begin; NEW_CONNECTION; BEGIN; @@ -17301,403 +17102,3 @@ set savepoint_support='DISABLED'/-; NEW_CONNECTION; @EXPECT EXCEPTION INVALID_ARGUMENT set/-savepoint_support='DISABLED'; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -SET DELAY_TRANSACTION_START_UNTIL_FIRST_WRITE = TRUE; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; - set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; - set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; - - - -set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = true ; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = true ; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = true - -; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -set -delay_transaction_start_until_first_write -= -true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -foo set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true bar; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -%set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true%; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =%true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -_set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true_; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =_true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -&set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true&; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =&true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -$set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true$; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =$true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -@set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true@; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =@true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -!set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true!; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =!true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -*set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true*; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =*true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -(set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true(; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =(true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -)set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true); -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =)true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =-true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -+set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true+; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =+true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --#set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true-#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =-#true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =/true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -\set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true\; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =\true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -?set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true?; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =?true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --/set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true-/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =-/true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/#set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true/#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =/#true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/-set delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = true/-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =/-true; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -SET DELAY_TRANSACTION_START_UNTIL_FIRST_WRITE = FALSE; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; - set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; - set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; - - - -set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = false ; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = false ; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = false - -; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -set -delay_transaction_start_until_first_write -= -false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -foo set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false bar; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -%set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false%; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =%false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -_set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false_; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =_false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -&set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false&; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =&false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -$set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false$; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =$false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -@set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false@; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =@false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -!set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false!; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =!false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -*set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false*; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =*false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -(set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false(; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =(false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -)set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false); -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =)false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =-false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -+set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false+; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =+false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --#set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false-#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =-#false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =/false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -\set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false\; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =\false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -?set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false?; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =?false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --/set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false-/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =-/false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/#set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false/#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =/#false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/-set delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write = false/-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set delay_transaction_start_until_first_write =/-false; diff --git a/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/ConnectionImplGeneratedSqlScriptTest.sql b/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/ConnectionImplGeneratedSqlScriptTest.sql index d1e7971876..db44cd1b8c 100644 --- a/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/ConnectionImplGeneratedSqlScriptTest.sql +++ b/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/ConnectionImplGeneratedSqlScriptTest.sql @@ -162,15 +162,15 @@ NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=TRUE; SET READ_ONLY_STALENESS='MAX_STALENESS 10s'; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:29.560000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:29.560000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:18.835000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:18.835000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=TRUE; SET READ_ONLY_STALENESS='MAX_STALENESS 10s'; -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:29.560000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:29.560000000Z' +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:18.835000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:18.835000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; @@ -577,8 +577,8 @@ SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; SELECT 1 AS TEST; COMMIT; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:29.894000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:29.894000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:19.179000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:19.179000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; @@ -586,8 +586,8 @@ SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; SELECT 1 AS TEST; COMMIT; -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:29.894000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:29.894000000Z' +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:19.179000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:19.179000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; @@ -970,15 +970,15 @@ NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:30.153000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:30.153000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:19.454000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:19.454000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:30.153000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:19.454000000Z'; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=TRUE; @@ -1316,15 +1316,15 @@ NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=TRUE; SELECT 1 AS TEST; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:30.478000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:30.478000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:19.646000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:19.646000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=TRUE; SELECT 1 AS TEST; -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:30.478000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:30.478000000Z' +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:19.646000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:19.646000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; @@ -1671,15 +1671,15 @@ NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=TRUE; SELECT 1 AS TEST; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:30.715000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:30.715000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:19.930000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:19.930000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=TRUE; SELECT 1 AS TEST; -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:30.715000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:30.715000000Z' +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:19.930000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:19.930000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; @@ -1996,14 +1996,14 @@ SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=TRUE; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:30.919000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:30.919000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:20.158000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:20.158000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=TRUE; -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:30.919000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:30.919000000Z' +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:20.158000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:20.158000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; @@ -2325,15 +2325,15 @@ NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; COMMIT; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:31.177000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:31.177000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:20.345000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:20.345000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; COMMIT; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:31.177000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:20.345000000Z'; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -2675,15 +2675,15 @@ NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; SET READ_ONLY_STALENESS='EXACT_STALENESS 10s'; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:31.320000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:31.320000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:20.534000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:20.534000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; SET READ_ONLY_STALENESS='EXACT_STALENESS 10s'; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:31.320000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:20.534000000Z'; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -3115,8 +3115,8 @@ BEGIN TRANSACTION; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; ROLLBACK; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:31.518000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:31.518000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:20.720000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:20.720000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; @@ -3126,7 +3126,7 @@ BEGIN TRANSACTION; SELECT 1 AS TEST; ROLLBACK; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:31.518000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:20.720000000Z'; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -3627,8 +3627,8 @@ BEGIN TRANSACTION; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; COMMIT; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:31.731000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:31.731000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:20.919000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:20.919000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; @@ -3638,7 +3638,7 @@ BEGIN TRANSACTION; SELECT 1 AS TEST; COMMIT; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:31.731000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:20.919000000Z'; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -4041,15 +4041,15 @@ NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; BEGIN TRANSACTION; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:31.934000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:31.934000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.116000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:21.116000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; BEGIN TRANSACTION; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:31.934000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.116000000Z'; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -4408,14 +4408,14 @@ SET AUTOCOMMIT=FALSE; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.068000000Z'; +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.236000000Z'; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.068000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.236000000Z'; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -4765,13 +4765,13 @@ SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.244000000Z'; +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.376000000Z'; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.244000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.376000000Z'; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -5075,14 +5075,14 @@ SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.446000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:32.446000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.507000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:21.507000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.446000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.507000000Z'; NEW_CONNECTION; SET READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -5394,13 +5394,13 @@ SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; START BATCH DDL; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.544000000Z'; +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.594000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; START BATCH DDL; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.544000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.594000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; @@ -5755,8 +5755,8 @@ SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; SET TRANSACTION READ ONLY; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.627000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:32.627000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.672000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:21.672000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; @@ -5764,7 +5764,7 @@ SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; SET TRANSACTION READ ONLY; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.627000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.672000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; @@ -6199,8 +6199,8 @@ SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; UPDATE foo SET bar=1; COMMIT; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.790000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:32.790000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.849000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:21.849000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; @@ -6208,8 +6208,8 @@ SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; UPDATE foo SET bar=1; COMMIT; -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.790000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:32.790000000Z' +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.849000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:21.849000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; @@ -6595,15 +6595,15 @@ NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.947000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:32.947000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.039000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.039000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.947000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.039000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; @@ -6954,15 +6954,15 @@ NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; CREATE TABLE foo (id INT64 NOT NULL, name STRING(100)) PRIMARY KEY (id); -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.048000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.048000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.160000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.160000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; CREATE TABLE foo (id INT64 NOT NULL, name STRING(100)) PRIMARY KEY (id); -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.048000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:33.048000000Z' +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.160000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:22.160000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; @@ -7322,15 +7322,15 @@ NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; UPDATE foo SET bar=1; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.176000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.176000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.296000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.296000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; UPDATE foo SET bar=1; -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.176000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:33.176000000Z' +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.296000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:22.296000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; @@ -7720,16 +7720,16 @@ SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.309000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.309000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.426000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.426000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.309000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:33.309000000Z' +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.426000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:22.426000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; @@ -8112,15 +8112,15 @@ NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; SELECT 1 AS TEST; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.438000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.438000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.537000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.537000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; SELECT 1 AS TEST; -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.438000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:33.438000000Z' +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.537000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:22.537000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; @@ -8450,14 +8450,14 @@ SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.553000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.553000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.648000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.648000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=TRUE; -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.553000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:33.553000000Z' +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.648000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:22.648000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; @@ -8788,15 +8788,15 @@ NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; COMMIT; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.647000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.647000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.731000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.731000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; COMMIT; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.647000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.731000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -9206,8 +9206,8 @@ SET AUTOCOMMIT=FALSE; START BATCH DDL; CREATE TABLE foo (id INT64 NOT NULL, name STRING(100)) PRIMARY KEY (id); RUN BATCH; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.744000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.744000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.827000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.827000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; @@ -9216,7 +9216,7 @@ START BATCH DDL; CREATE TABLE foo (id INT64 NOT NULL, name STRING(100)) PRIMARY KEY (id); RUN BATCH; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.744000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.827000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -9625,14 +9625,14 @@ SET AUTOCOMMIT=FALSE; START BATCH DDL; CREATE TABLE foo (id INT64 NOT NULL, name STRING(100)) PRIMARY KEY (id); @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.867000000Z'; +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.946000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; START BATCH DDL; CREATE TABLE foo (id INT64 NOT NULL, name STRING(100)) PRIMARY KEY (id); @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.867000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.946000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -9982,13 +9982,13 @@ SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; START BATCH DDL; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.965000000Z'; +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.044000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; START BATCH DDL; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.965000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.044000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -10422,8 +10422,8 @@ SET TRANSACTION READ ONLY; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; COMMIT; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.057000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:34.057000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.140000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:23.140000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; @@ -10433,7 +10433,7 @@ SET TRANSACTION READ ONLY; SELECT 1 AS TEST; COMMIT; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.057000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.140000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -10833,15 +10833,15 @@ NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; SET TRANSACTION READ ONLY; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.162000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:34.162000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.244000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:23.244000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; SET TRANSACTION READ ONLY; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.162000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.244000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -11187,15 +11187,15 @@ NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; SET READ_ONLY_STALENESS='EXACT_STALENESS 10s'; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.240000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:34.240000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.326000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:23.326000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; SET READ_ONLY_STALENESS='EXACT_STALENESS 10s'; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.240000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.326000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -11635,8 +11635,8 @@ BEGIN TRANSACTION; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; ROLLBACK; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.340000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:34.340000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.433000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:23.433000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; @@ -11646,7 +11646,7 @@ BEGIN TRANSACTION; SELECT 1 AS TEST; ROLLBACK; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.340000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.433000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -12155,8 +12155,8 @@ BEGIN TRANSACTION; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; COMMIT; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.486000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:34.486000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.604000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:23.604000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; @@ -12166,7 +12166,7 @@ BEGIN TRANSACTION; SELECT 1 AS TEST; COMMIT; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.486000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.604000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -12571,15 +12571,15 @@ NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; BEGIN TRANSACTION; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.618000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:34.618000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.755000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:23.755000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; BEGIN TRANSACTION; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.618000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.755000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -12942,14 +12942,14 @@ SET AUTOCOMMIT=FALSE; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.727000000Z'; +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.849000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.727000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.849000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -13304,13 +13304,13 @@ SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.887000000Z'; +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.965000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.887000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.965000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -13624,14 +13624,14 @@ SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; -SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:35.036000000Z'; -@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:35.036000000Z' +SET READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:24.080000000Z'; +@EXPECT RESULT_SET 'READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:24.080000000Z' SHOW VARIABLE READ_ONLY_STALENESS; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; @EXPECT EXCEPTION FAILED_PRECONDITION -SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:35.036000000Z'; +SET READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:24.080000000Z'; NEW_CONNECTION; SET READONLY=FALSE; SET AUTOCOMMIT=FALSE; diff --git a/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/postgresql/ClientSideStatementsTest.sql b/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/postgresql/ClientSideStatementsTest.sql index bb109c3feb..d2201dff1e 100644 --- a/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/postgresql/ClientSideStatementsTest.sql +++ b/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/postgresql/ClientSideStatementsTest.sql @@ -7167,403 +7167,6 @@ NEW_CONNECTION; @EXPECT EXCEPTION UNIMPLEMENTED show variable/-spanner.savepoint_support; NEW_CONNECTION; -show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -SHOW SPANNER.DELAY_TRANSACTION_START_UNTIL_FIRST_WRITE; -NEW_CONNECTION; -show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; - show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; - show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; - - - -show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -show spanner.delay_transaction_start_until_first_write ; -NEW_CONNECTION; -show spanner.delay_transaction_start_until_first_write ; -NEW_CONNECTION; -show spanner.delay_transaction_start_until_first_write - -; -NEW_CONNECTION; -show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -show -spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -foo show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write bar; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -%show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write%; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show%spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -_show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write_; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show_spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -&show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write&; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show&spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -$show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write$; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show$spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -@show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write@; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show@spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -!show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write!; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show!spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -*show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write*; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show*spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -(show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write(; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show(spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -)show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write); -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show)spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show-spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -+show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write+; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show+spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --#show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write-#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show-#spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show/spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -\show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write\; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show\spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -?show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write?; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show?spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --/show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write-/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show-/spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/#show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write/#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show/#spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/-show spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show spanner.delay_transaction_start_until_first_write/-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -show/-spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -SHOW VARIABLE SPANNER.DELAY_TRANSACTION_START_UNTIL_FIRST_WRITE; -NEW_CONNECTION; -show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; - show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; - show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; - - - -show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -show variable spanner.delay_transaction_start_until_first_write ; -NEW_CONNECTION; -show variable spanner.delay_transaction_start_until_first_write ; -NEW_CONNECTION; -show variable spanner.delay_transaction_start_until_first_write - -; -NEW_CONNECTION; -show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -show -variable -spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -foo show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write bar; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -%show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write%; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable%spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -_show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write_; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable_spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -&show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write&; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable&spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -$show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write$; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable$spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -@show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write@; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable@spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -!show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write!; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable!spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -*show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write*; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable*spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -(show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write(; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable(spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -)show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write); -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable)spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write-; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable-spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -+show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write+; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable+spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --#show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write-#; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable-#spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write/; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable/spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -\show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write\; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable\spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -?show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write?; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable?spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --/show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write-/; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable-/spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/#show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write/#; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable/#spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/-show variable spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable spanner.delay_transaction_start_until_first_write/-; -NEW_CONNECTION; -@EXPECT EXCEPTION UNIMPLEMENTED -show variable/-spanner.delay_transaction_start_until_first_write; -NEW_CONNECTION; show transaction isolation level; NEW_CONNECTION; SHOW TRANSACTION ISOLATION LEVEL; @@ -69321,803 +68924,3 @@ set spanner.savepoint_support to 'DISABLED'/-; NEW_CONNECTION; @EXPECT EXCEPTION INVALID_ARGUMENT set spanner.savepoint_support to/-'DISABLED'; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -SET SPANNER.DELAY_TRANSACTION_START_UNTIL_FIRST_WRITE = TRUE; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; - set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; - set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; - - - -set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = true ; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = true ; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = true - -; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -set -spanner.delay_transaction_start_until_first_write -= -true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -foo set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true bar; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -%set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true%; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =%true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -_set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true_; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =_true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -&set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true&; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =&true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -$set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true$; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =$true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -@set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true@; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =@true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -!set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true!; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =!true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -*set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true*; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =*true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -(set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true(; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =(true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -)set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true); -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =)true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =-true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -+set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true+; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =+true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --#set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true-#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =-#true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =/true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -\set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true\; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =\true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -?set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true?; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =?true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --/set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true-/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =-/true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/#set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true/#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =/#true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/-set spanner.delay_transaction_start_until_first_write = true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = true/-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =/-true; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -SET SPANNER.DELAY_TRANSACTION_START_UNTIL_FIRST_WRITE = FALSE; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; - set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; - set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; - - - -set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = false ; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = false ; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = false - -; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -set -spanner.delay_transaction_start_until_first_write -= -false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -foo set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false bar; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -%set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false%; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =%false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -_set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false_; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =_false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -&set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false&; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =&false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -$set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false$; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =$false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -@set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false@; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =@false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -!set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false!; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =!false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -*set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false*; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =*false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -(set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false(; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =(false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -)set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false); -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =)false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =-false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -+set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false+; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =+false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --#set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false-#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =-#false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =/false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -\set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false\; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =\false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -?set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false?; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =?false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --/set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false-/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =-/false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/#set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false/#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =/#false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/-set spanner.delay_transaction_start_until_first_write = false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write = false/-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write =/-false; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -SET SPANNER.DELAY_TRANSACTION_START_UNTIL_FIRST_WRITE TO TRUE; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; - set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; - set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; - - - -set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to true ; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to true ; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to true - -; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -set -spanner.delay_transaction_start_until_first_write -to -true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -foo set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true bar; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -%set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true%; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to%true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -_set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true_; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to_true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -&set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true&; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to&true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -$set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true$; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to$true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -@set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true@; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to@true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -!set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true!; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to!true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -*set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true*; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to*true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -(set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true(; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to(true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -)set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true); -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to)true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to-true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -+set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true+; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to+true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --#set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true-#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to-#true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to/true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -\set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true\; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to\true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -?set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true?; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to?true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --/set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true-/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to-/true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/#set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true/#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to/#true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/-set spanner.delay_transaction_start_until_first_write to true; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to true/-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to/-true; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -SET SPANNER.DELAY_TRANSACTION_START_UNTIL_FIRST_WRITE TO FALSE; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; - set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; - set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; - - - -set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to false ; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to false ; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to false - -; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -set -spanner.delay_transaction_start_until_first_write -to -false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -foo set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false bar; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -%set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false%; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to%false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -_set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false_; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to_false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -&set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false&; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to&false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -$set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false$; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to$false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -@set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false@; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to@false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -!set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false!; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to!false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -*set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false*; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to*false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -(set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false(; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to(false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -)set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false); -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to)false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to-false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -+set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false+; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to+false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --#set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false-#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to-#false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to/false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -\set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false\; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to\false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -?set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false?; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to?false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT --/set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false-/; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to-/false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/#set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false/#; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to/#false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -/-set spanner.delay_transaction_start_until_first_write to false; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to false/-; -NEW_CONNECTION; -@EXPECT EXCEPTION INVALID_ARGUMENT -set spanner.delay_transaction_start_until_first_write to/-false; diff --git a/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/postgresql/ConnectionImplGeneratedSqlScriptTest.sql b/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/postgresql/ConnectionImplGeneratedSqlScriptTest.sql index 195f61d694..09e88db7ae 100644 --- a/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/postgresql/ConnectionImplGeneratedSqlScriptTest.sql +++ b/google-cloud-spanner/src/test/resources/com/google/cloud/spanner/connection/postgresql/ConnectionImplGeneratedSqlScriptTest.sql @@ -162,15 +162,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=TRUE; SET SPANNER.READ_ONLY_STALENESS='MAX_STALENESS 10s'; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:29.726000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:29.726000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:19.019000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:19.019000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=TRUE; SET SPANNER.READ_ONLY_STALENESS='MAX_STALENESS 10s'; -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:29.726000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:29.726000000Z' +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:19.019000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:19.019000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; @@ -577,8 +577,8 @@ SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; SELECT 1 AS TEST; COMMIT; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:30.037000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:30.037000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:19.308000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:19.308000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; @@ -586,8 +586,8 @@ SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; SELECT 1 AS TEST; COMMIT; -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:30.037000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:30.037000000Z' +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:19.308000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:19.308000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; @@ -970,15 +970,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:30.249000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:30.249000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:19.540000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:19.540000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:30.249000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:19.540000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=TRUE; @@ -1316,15 +1316,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=TRUE; SELECT 1 AS TEST; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:30.599000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:30.599000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:19.792000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:19.792000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=TRUE; SELECT 1 AS TEST; -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:30.599000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:30.599000000Z' +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:19.792000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:19.792000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; @@ -1671,15 +1671,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=TRUE; SELECT 1 AS TEST; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:30.820000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:30.820000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:20.042000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:20.042000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=TRUE; SELECT 1 AS TEST; -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:30.820000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:30.820000000Z' +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:20.042000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:20.042000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; @@ -1996,14 +1996,14 @@ SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=TRUE; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:30.997000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:30.997000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:20.251000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:20.251000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=TRUE; -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:30.997000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:30.997000000Z' +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:20.251000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:20.251000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; @@ -2325,15 +2325,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; COMMIT; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:31.248000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:31.248000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:20.438000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:20.438000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; COMMIT; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:31.248000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:20.438000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -2675,15 +2675,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; SET SPANNER.READ_ONLY_STALENESS='EXACT_STALENESS 10s'; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:31.427000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:31.427000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:20.632000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:20.632000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; SET SPANNER.READ_ONLY_STALENESS='EXACT_STALENESS 10s'; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:31.427000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:20.632000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -3115,8 +3115,8 @@ BEGIN TRANSACTION; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; ROLLBACK; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:31.627000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:31.627000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:20.826000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:20.826000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; @@ -3126,7 +3126,7 @@ BEGIN TRANSACTION; SELECT 1 AS TEST; ROLLBACK; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:31.627000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:20.826000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -3627,8 +3627,8 @@ BEGIN TRANSACTION; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; COMMIT; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:31.840000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:31.840000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.025000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:21.025000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; @@ -3638,7 +3638,7 @@ BEGIN TRANSACTION; SELECT 1 AS TEST; COMMIT; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:31.840000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.025000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -4041,15 +4041,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; BEGIN TRANSACTION; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:31.992000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:31.992000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.172000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:21.172000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; BEGIN TRANSACTION; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:31.992000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.172000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -4408,14 +4408,14 @@ SET AUTOCOMMIT=FALSE; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.159000000Z'; +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.311000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.159000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.311000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -4765,13 +4765,13 @@ SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.353000000Z'; +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.448000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.353000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.448000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -5075,14 +5075,14 @@ SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.499000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:32.499000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.553000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:21.553000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.499000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.553000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=TRUE; SET AUTOCOMMIT=FALSE; @@ -5394,13 +5394,13 @@ SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; START BATCH DDL; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.588000000Z'; +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.633000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; START BATCH DDL; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.588000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.633000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; @@ -5755,8 +5755,8 @@ SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; SET TRANSACTION READ ONLY; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.667000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:32.667000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.711000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:21.711000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; @@ -5764,7 +5764,7 @@ SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; SET TRANSACTION READ ONLY; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.667000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.711000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; @@ -6199,8 +6199,8 @@ SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; UPDATE foo SET bar=1; COMMIT; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.881000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:32.881000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:21.954000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:21.954000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; @@ -6208,8 +6208,8 @@ SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; UPDATE foo SET bar=1; COMMIT; -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.881000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:32.881000000Z' +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:21.954000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:21.954000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; @@ -6595,15 +6595,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:32.992000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:32.992000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.094000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.094000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; BEGIN TRANSACTION; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:32.992000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.094000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; @@ -6954,15 +6954,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; CREATE TABLE foo (id INT64 NOT NULL, name STRING(100)) PRIMARY KEY (id); -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.117000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.117000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.229000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.229000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; CREATE TABLE foo (id INT64 NOT NULL, name STRING(100)) PRIMARY KEY (id); -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.117000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:33.117000000Z' +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.229000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:22.229000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; @@ -7322,15 +7322,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; UPDATE foo SET bar=1; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.242000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.242000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.356000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.356000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; UPDATE foo SET bar=1; -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.242000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:33.242000000Z' +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.356000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:22.356000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; @@ -7720,16 +7720,16 @@ SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.379000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.379000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.483000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.483000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.379000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:33.379000000Z' +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.483000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:22.483000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; @@ -8112,15 +8112,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; SELECT 1 AS TEST; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.502000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.502000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.600000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.600000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; SELECT 1 AS TEST; -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.502000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:33.502000000Z' +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.600000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:22.600000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; @@ -8450,14 +8450,14 @@ SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.602000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.602000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.688000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.688000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=TRUE; -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.602000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-05-22T15:54:33.602000000Z' +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.688000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','MIN_READ_TIMESTAMP 2023-06-02T14:28:22.688000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; @@ -8788,15 +8788,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; COMMIT; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.691000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.691000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.778000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.778000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; COMMIT; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.691000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.778000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -9206,8 +9206,8 @@ SET AUTOCOMMIT=FALSE; START BATCH DDL; CREATE TABLE foo (id INT64 NOT NULL, name STRING(100)) PRIMARY KEY (id); RUN BATCH; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.807000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:33.807000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.886000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:22.886000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; @@ -9216,7 +9216,7 @@ START BATCH DDL; CREATE TABLE foo (id INT64 NOT NULL, name STRING(100)) PRIMARY KEY (id); RUN BATCH; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.807000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.886000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -9625,14 +9625,14 @@ SET AUTOCOMMIT=FALSE; START BATCH DDL; CREATE TABLE foo (id INT64 NOT NULL, name STRING(100)) PRIMARY KEY (id); @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:33.914000000Z'; +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:22.997000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; START BATCH DDL; CREATE TABLE foo (id INT64 NOT NULL, name STRING(100)) PRIMARY KEY (id); @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:33.914000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:22.997000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -9982,13 +9982,13 @@ SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; START BATCH DDL; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.010000000Z'; +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.088000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; START BATCH DDL; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.010000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.088000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -10422,8 +10422,8 @@ SET TRANSACTION READ ONLY; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; COMMIT; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.115000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:34.115000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.196000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:23.196000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; @@ -10433,7 +10433,7 @@ SET TRANSACTION READ ONLY; SELECT 1 AS TEST; COMMIT; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.115000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.196000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -10833,15 +10833,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; SET TRANSACTION READ ONLY; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.199000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:34.199000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.284000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:23.284000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; SET TRANSACTION READ ONLY; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.199000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.284000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -11187,15 +11187,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; SET SPANNER.READ_ONLY_STALENESS='EXACT_STALENESS 10s'; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.287000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:34.287000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.370000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:23.370000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; SET SPANNER.READ_ONLY_STALENESS='EXACT_STALENESS 10s'; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.287000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.370000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -11635,8 +11635,8 @@ BEGIN TRANSACTION; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; ROLLBACK; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.411000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:34.411000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.515000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:23.515000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; @@ -11646,7 +11646,7 @@ BEGIN TRANSACTION; SELECT 1 AS TEST; ROLLBACK; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.411000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.515000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -12155,8 +12155,8 @@ BEGIN TRANSACTION; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; COMMIT; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.554000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:34.554000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.687000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:23.687000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; @@ -12166,7 +12166,7 @@ BEGIN TRANSACTION; SELECT 1 AS TEST; COMMIT; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.554000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.687000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -12571,15 +12571,15 @@ NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; BEGIN TRANSACTION; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.666000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:34.666000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.800000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:23.800000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; BEGIN TRANSACTION; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.666000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.800000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -12942,14 +12942,14 @@ SET AUTOCOMMIT=FALSE; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.802000000Z'; +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:23.909000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @EXPECT RESULT_SET 'TEST',1 SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.802000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:23.909000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -13304,13 +13304,13 @@ SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:34.967000000Z'; +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:24.028000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; SELECT 1 AS TEST; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:34.967000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:24.028000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @@ -13624,14 +13624,14 @@ SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; -SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-05-22T15:54:35.088000000Z'; -@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-05-22T15:54:35.088000000Z' +SET SPANNER.READ_ONLY_STALENESS='READ_TIMESTAMP 2023-06-02T14:28:24.119000000Z'; +@EXPECT RESULT_SET 'SPANNER.READ_ONLY_STALENESS','READ_TIMESTAMP 2023-06-02T14:28:24.119000000Z' SHOW VARIABLE SPANNER.READ_ONLY_STALENESS; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE; @EXPECT EXCEPTION FAILED_PRECONDITION -SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-05-22T15:54:35.088000000Z'; +SET SPANNER.READ_ONLY_STALENESS='MIN_READ_TIMESTAMP 2023-06-02T14:28:24.119000000Z'; NEW_CONNECTION; SET SPANNER.READONLY=FALSE; SET AUTOCOMMIT=FALSE;