Commit 73e6e6de authored by unknown's avatar unknown

Fix client_test to use new statement assertion macros

parent a5e56eb4
...@@ -1855,7 +1855,7 @@ static void test_ps_conj_select() ...@@ -1855,7 +1855,7 @@ static void test_ps_conj_select()
strmov(query, "select id1,value1 from t1 where id1=? or value1=?"); strmov(query, "select id1,value1 from t1 where id1=? or value1=?");
stmt= mysql_simple_prepare(mysql, query); stmt= mysql_simple_prepare(mysql, query);
mystmt_init(stmt); check_stmt(stmt);
verify_param_count(stmt,2); verify_param_count(stmt,2);
...@@ -1871,14 +1871,14 @@ static void test_ps_conj_select() ...@@ -1871,14 +1871,14 @@ static void test_ps_conj_select()
bind[1].length= &str_length; bind[1].length= &str_length;
rc = mysql_bind_param(stmt,bind); rc = mysql_bind_param(stmt,bind);
mystmt(stmt, rc); check_execute(stmt, rc);
int_data= 1; int_data= 1;
strcpy(str_data, "hh"); strcpy(str_data, "hh");
str_length= strlen(str_data); str_length= strlen(str_data);
rc = mysql_execute(stmt); rc = mysql_execute(stmt);
mystmt(stmt, rc); check_execute(stmt, rc);
assert(my_process_stmt_result(stmt) == 3); assert(my_process_stmt_result(stmt) == 3);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment