Skip to content

Commit d753901

Browse files
committed
add comment
1 parent 8e77e51 commit d753901

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

google/cloud/bigtable/internal/data_connection_impl.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ class DefaultPartialResultSetReader
149149
return true;
150150
}
151151

152-
// A metadata message after the first one indicates a schema change.
152+
// Throw an error when there is a schema difference between
153+
// ExecuteQueryResponse and PrepareQueryResponse.
153154
if (response.has_metadata()) {
154155
std::string initial_metadata_str, response_metadata_str;
155156
if (response.metadata().ByteSizeLong() == 0 ||

0 commit comments

Comments
 (0)