diff options
author | Igor Babaev <igor@askmonty.org> | 2018-04-25 18:22:56 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2018-04-25 18:22:56 -0700 |
commit | 5bba69f816129dff8f85e7e87c91b90e2d34b8e1 (patch) | |
tree | 53f081495ca68af692b521f09a1afe51fa526e6f /tests | |
parent | b4ee699a89ccf4f3cf52a18236e821f0d8466e8d (diff) | |
download | mariadb-git-5bba69f816129dff8f85e7e87c91b90e2d34b8e1.tar.gz |
Fixed a compiler error
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 0140a630e89..fd336481439 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -20295,9 +20295,10 @@ static void test_bulk_autoinc() static void print_metadata(MYSQL_RES *rs_metadata, int num_fields) { + int i; MYSQL_FIELD *fields= mysql_fetch_fields(rs_metadata); - for (int i = 0; i < num_fields; ++i) + for (i = 0; i < num_fields; ++i) { mct_log(" - %d: name: '%s'/'%s'; table: '%s'/'%s'; " "db: '%s'; catalog: '%s'; length: %d; max_length: %d; " |