Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mx_mysql: Fix test_mx_mysql
  • Loading branch information
mariux committed May 22, 2015
1 parent ce4ab06 commit 59bf9ef
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test_mx_mysql.c
Expand Up @@ -28,11 +28,8 @@ int main(int argc, char *argv[])
//res = mx_mysql_connect(mysql);
//assert(res == 0);

res = mx_mysql_statement_init(mysql, &stmt);
assert(res == 0);

res = mx_mysql_statement_prepare(stmt, "SELECT group_id, group_id, group_name FROM mxq_group where group_id = ?");
assert(res == 0);
stmt = mx_mysql_statement_prepare(mysql, "SELECT group_id, group_id, group_name FROM mxq_group where group_id = ?");
assert(stmt);
mx_log_debug("field_count = %d", mx_mysql_statement_field_count(stmt));
mx_log_debug("param_count = %d", mx_mysql_statement_param_count(stmt));

Expand Down

0 comments on commit 59bf9ef

Please sign in to comment.