summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2004-04-30 17:21:06 +0400
committerunknown <sergefp@mysql.com>2004-04-30 17:21:06 +0400
commit541cef756834d1d1d4947b998d0befcb940f8945 (patch)
treeb708db9e173cce6da752f3f08fb865d3de85688f /tests
parent2668cb018ef80c10f59450948764aea0909ae96c (diff)
downloadmariadb-git-541cef756834d1d1d4947b998d0befcb940f8945.tar.gz
Fix client_test to use new statement assertion macros
Diffstat (limited to 'tests')
-rw-r--r--tests/client_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/client_test.c b/tests/client_test.c
index 3e260899bf6..5ec39bdf725 100644
--- a/tests/client_test.c
+++ b/tests/client_test.c
@@ -1855,7 +1855,7 @@ static void test_ps_conj_select()
strmov(query, "select id1,value1 from t1 where id1=? or value1=?");
stmt= mysql_simple_prepare(mysql, query);
- mystmt_init(stmt);
+ check_stmt(stmt);
verify_param_count(stmt,2);
@@ -1871,14 +1871,14 @@ static void test_ps_conj_select()
bind[1].length= &str_length;
rc = mysql_bind_param(stmt,bind);
- mystmt(stmt, rc);
+ check_execute(stmt, rc);
int_data= 1;
strcpy(str_data, "hh");
str_length= strlen(str_data);
rc = mysql_execute(stmt);
- mystmt(stmt, rc);
+ check_execute(stmt, rc);
assert(my_process_stmt_result(stmt) == 3);