summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2004-05-06 13:49:20 +0400
committerkonstantin@mysql.com <>2004-05-06 13:49:20 +0400
commit57feb6625a66aa238b741d419b89b94e46f456b0 (patch)
tree29e8d681a8747e8359219f9fc84ab02d6719a42f /tests
parentc150453b429e896f17ef679a3023157c6ebe6b57 (diff)
downloadmariadb-git-57feb6625a66aa238b741d419b89b94e46f456b0.tar.gz
Few cleanups to client_test.c
Diffstat (limited to 'tests')
-rw-r--r--tests/client_test.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/client_test.c b/tests/client_test.c
index 30caa5f1505..facb3de70f0 100644
--- a/tests/client_test.c
+++ b/tests/client_test.c
@@ -8189,10 +8189,6 @@ static void test_ts()
/*
Test for bug #1500.
- XXX: despite that this bug is fixed, it spots mysqld code which is not
- working correctly yet: to fix all things properly we need to implement
- Item::cleanup() method for all items (as described in bugs #1663 and
- #1749). So don't be surprised in case valgrind barks on it.
*/
static void test_bug1500()
@@ -8238,7 +8234,6 @@ static void test_bug1500()
assert(1 == my_process_stmt_result(stmt));
- /* FIXME If we comment out next string server will crash :( */
mysql_stmt_close(stmt);
rc= mysql_query(mysql,"DROP TABLE test_bg1500");
@@ -9351,16 +9346,17 @@ static void test_bug3035()
int64_val= int64_max;
uint64_val= uint64_max;
- mysql_stmt_execute(stmt);
+ rc= mysql_stmt_execute(stmt);
check_execute(stmt, rc);
- stmt_text= "SELECT i8, ui8, i16, ui16, i32, ui32, i64, ui64, ui64, cast(ui64 as signed),ui64, cast(ui64 as signed)"
+ stmt_text= "SELECT i8, ui8, i16, ui16, i32, ui32, i64, ui64, ui64, "
+ "cast(ui64 as signed),ui64, cast(ui64 as signed)"
"FROM t1 ORDER BY id ASC";
- mysql_stmt_prepare(stmt, stmt_text, strlen(stmt_text));
+ rc= mysql_stmt_prepare(stmt, stmt_text, strlen(stmt_text));
check_execute(stmt, rc);
- mysql_stmt_execute(stmt);
+ rc= mysql_stmt_execute(stmt);
check_execute(stmt, rc);
bind_array[8].buffer_type= MYSQL_TYPE_DOUBLE;