Skip to content

Commit

Permalink
Merge "Reduce insert_values length in QueryResultSerializerTest.Rando…
Browse files Browse the repository at this point in the history
…mSizes" into main
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed Sep 23, 2024
2 parents 2fadc23 + 9ac629d commit 23fae2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ TEST(QueryResultSerializerTest, RandomSizes) {
insert_values += ",";
} else {
insert_values += "),";
if (insert_values.size() > 1024 * 1024 || i == kNumCells - 1) {
if (insert_values.size() > 100 * 1024 || i == kNumCells - 1) {
insert_values[insert_values.size() - 1] = ';';
auto query = "insert into tab (a,b,c) values " + insert_values;
insert_values = "";
Expand Down

0 comments on commit 23fae2c

Please sign in to comment.