Skip to content

Commit 4756c1f

Browse files
committed
---
yaml --- r: 10191 b: refs/heads/snehashah-dml c: f1bf1be h: refs/heads/master i: 10189: 2f2fc58 10187: c0d207a 10183: f6fd8a3 10175: 255661d
1 parent 274b35c commit 4756c1f

3 files changed

Lines changed: 20 additions & 4 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@ refs/heads/mrschmidt-arrayuniontests: 98e5ed4411344fa5e3735e59b1d6a4da7333f241
131131
refs/heads/mrschmidt-list: a65b2421eaa3fbb59565fcd978df62ca6b6f1ec3
132132
refs/heads/mrschmidt-nosnapshot: 94df9c0a286591a5b58a207e99f4d9cf030c7317
133133
refs/heads/mrschmidt-renamegetcollections: 3bd620be870bc764d7feafabbb91676956a0511e
134-
refs/heads/snehashah-dml: 4e2a9507d42b93bfd7b6229661896399e915e899
134+
refs/heads/snehashah-dml: f1bf1be3a49677aec3e2d3cd3440a19bdbd6b4c2

branches/snehashah-dml/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ private ResultSet executeQueryInternal(
10291029

10301030
ExecuteSqlRequest.Builder getExecuteSqlRequestBuilder(
10311031
Statement statement,
1032-
com.google.spanner.v1.ExecuteSqlRequest.QueryMode queryMode) {
1032+
QueryMode queryMode) {
10331033
ExecuteSqlRequest.Builder builder =
10341034
ExecuteSqlRequest.newBuilder()
10351035
.setSql(statement.getSql())
@@ -1388,7 +1388,7 @@ public long executePartitionedUpdate(Statement statement) {
13881388
final ExecuteSqlRequest.Builder builder =
13891389
ExecuteSqlRequest.newBuilder()
13901390
.setSql(statement.getSql())
1391-
.setQueryMode(com.google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL)
1391+
.setQueryMode(QueryMode.NORMAL)
13921392
.setSession(session.name)
13931393
.setTransaction(TransactionSelector.newBuilder().setId(transactionId).build());
13941394
Map<String, Value> stmtParameters = statement.getParameters();
@@ -1613,7 +1613,7 @@ public long executeUpdate(Statement statement) {
16131613
final ExecuteSqlRequest.Builder builder =
16141614
getExecuteSqlRequestBuilder(
16151615
statement,
1616-
com.google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL);
1616+
QueryMode.NORMAL);
16171617
builder.setSeqno(getSeqNo());
16181618
com.google.spanner.v1.ResultSet resultSet =
16191619
runWithRetries(

branches/snehashah-dml/google-cloud-clients/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITDMLTest.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2017 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package com.google.cloud.spanner.it;
218

319
import static com.google.common.truth.Truth.assertThat;

0 commit comments

Comments
 (0)