diff options
author | unknown <georg@lmy002.wdf.sap.corp> | 2005-07-20 13:31:45 +0200 |
---|---|---|
committer | unknown <georg@lmy002.wdf.sap.corp> | 2005-07-20 13:31:45 +0200 |
commit | 6147be6eafb9dc896b2e2561ad9c523016af95c3 (patch) | |
tree | 04f06c6033d620530c5882c6080f13d695bf5bc9 /tests | |
parent | 1dccfdac1b3aaff78c1dd0177b272c2856e52135 (diff) | |
download | mariadb-git-6147be6eafb9dc896b2e2561ad9c523016af95c3.tar.gz |
cs fixes from last commit
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 1af9e82fde3..455ba68bef9 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -11755,12 +11755,12 @@ static void test_bug12001() { MYSQL *mysql_local; MYSQL_RES *result; - const char *query = "DROP TABLE IF EXISTS test_table;" - "CREATE TABLE test_table(id INT);" - "INSERT INTO test_table VALUES(10);" - "UPDATE test_table SET id=20 WHERE id=10;" - "SELECT * FROM test_table;" - "INSERT INTO non_existent_table VALUES(11);"; + const char *query= "DROP TABLE IF EXISTS test_table;" + "CREATE TABLE test_table(id INT);" + "INSERT INTO test_table VALUES(10);" + "UPDATE test_table SET id=20 WHERE id=10;" + "SELECT * FROM test_table;" + "INSERT INTO non_existent_table VALUES(11);"; int rc, res; myheader("test_bug12001"); @@ -11779,16 +11779,16 @@ static void test_bug12001() exit(1); } - rc = mysql_query(mysql_local, query); + rc= mysql_query(mysql_local, query); myquery(rc); do { - if (mysql_field_count(mysql_local) && (result = mysql_use_result(mysql_local))) { + if (mysql_field_count(mysql_local) && (result= mysql_use_result(mysql_local))) { mysql_free_result(result); } - } while (!(res = mysql_next_result(mysql_local))); + } while (!(res= mysql_next_result(mysql_local))); - rc = mysql_query(mysql_local, "DROP TABLE IF EXISTS test_table"); + rc= mysql_query(mysql_local, "DROP TABLE IF EXISTS test_table"); myquery(rc); mysql_close(mysql_local); |