Skip to content

Commit

Permalink
3rd minor commit to speed up test. To revert later
Browse files Browse the repository at this point in the history
  • Loading branch information
renecannao committed Jun 9, 2020
1 parent 93f9787 commit 097c9a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tap/tests/test_ps_large_result-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ int main(int argc, char** argv) {
restore_admin(mysqladmin);
return exit_status();
}
query = "SELECT t1.id id1, t1.k k1, t1.c c1, t1.pad pad1, t2.id id2, t2.k k2, t2.c c2, t2.pad pad2 FROM test.sbtest1 t1 JOIN test.sbtest1 t2 LIMIT 10000";
query = "SELECT t1.id id1, t1.k k1, t1.c c1, t1.pad pad1, t2.id id2, t2.k k2, t2.c c2, t2.pad pad2 FROM test.sbtest1 t1 JOIN test.sbtest1 t2 LIMIT 100000";
if (mysql_stmt_prepare(stmt2,query.c_str(), query.size())) {
fprintf(stderr, "Query error %s\n", mysql_error(mysql));
mysql_close(mysql);
Expand Down Expand Up @@ -297,7 +297,7 @@ int main(int argc, char** argv) {
{
row_count2++;
}
ok(row_count2==10000000, "Fetched 10000000 rows");
ok(row_count2==100000, "Fetched 10000 rows");
ok(true, "Fetched 4GB");


Expand Down

0 comments on commit 097c9a7

Please sign in to comment.