Skip to content

Commit ca9e554

Browse files
authored
chore: remove remove_for_update on emulator (#3036)
1 parent de7b638 commit ca9e554

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/main/java/com/google/cloud/spanner/pgadapter/ConnectionHandler.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -274,13 +274,6 @@ public void connectToSpanner(String database, @Nullable Credentials credentials)
274274
this.spannerConnection = spannerConnection;
275275
this.databaseId = connectionOptions.getDatabaseId();
276276
this.extendedQueryProtocolHandler = new ExtendedQueryProtocolHandler(this);
277-
// TODO: Remove when the emulator supports FOR UPDATE clauses.
278-
if (Boolean.parseBoolean(server.getProperties().getProperty("autoConfigEmulator", "false"))) {
279-
this.extendedQueryProtocolHandler
280-
.getBackendConnection()
281-
.getSessionState()
282-
.setConnectionStartupValue("spanner", "replace_for_update", "true");
283-
}
284277
}
285278

286279
@VisibleForTesting

0 commit comments

Comments
 (0)