diff options
author | msvensson@neptunus.(none) <> | 2006-10-25 16:27:36 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-10-25 16:27:36 +0200 |
commit | 4d8eda13033782d5186d8c49cc67d070342ca3a8 (patch) | |
tree | a60f4d2d27089a95717cbce6899aa491e1abc236 /tests | |
parent | 30c755c21e2142d8df3d9c193d7b33d3ac514d38 (diff) | |
parent | eab6dbceabb5e80cde473202888c6e972b470d57 (diff) | |
download | mariadb-git-4d8eda13033782d5186d8c49cc67d070342ca3a8.tar.gz |
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index eef3ddedb7b..624d9d9cce5 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -14480,6 +14480,7 @@ static void test_bug11718() printf("return type: %s", (res->fields[0].type == MYSQL_TYPE_DATE)?"DATE": "not DATE"); DIE_UNLESS(res->fields[0].type == MYSQL_TYPE_DATE); + mysql_free_result(res); rc= mysql_query(mysql, "drop table t1, t2"); myquery(rc); } @@ -14946,6 +14947,8 @@ static void test_bug15613() DIE_UNLESS(field[4].length == 255); DIE_UNLESS(field[5].length == 255); DIE_UNLESS(field[6].length == 255); + mysql_free_result(metadata); + mysql_stmt_free_result(stmt); /* III. Cleanup */ rc= mysql_query(mysql, "drop table t1"); @@ -15122,6 +15125,9 @@ static void test_bug14169() if (!opt_silent) printf("GROUP_CONCAT() result type %i", field[1].type); DIE_UNLESS(field[1].type == MYSQL_TYPE_BLOB); + mysql_free_result(res); + mysql_stmt_free_result(stmt); + mysql_stmt_close(stmt); rc= mysql_query(mysql, "drop table t1"); myquery(rc); @@ -15369,7 +15375,7 @@ static void test_bug15752() MYSQL mysql_local; int rc, i; const int ITERATION_COUNT= 100; - char *query= "CALL p1()"; + const char *query= "CALL p1()"; myheader("test_bug15752"); |