1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Fixed crash when calling mysql_close_options twice (pointer weren't adjusted to NULL)

Fixed wrong behaviour when using stored procedures inside prepared statements
Fixed identiation in my_stmt.h
This commit is contained in:
Georg Richter
2013-05-29 11:59:01 +02:00
parent 30caf3c64b
commit f2e78fe089
7 changed files with 690 additions and 404 deletions

View File

@@ -2252,7 +2252,7 @@ static int test_bug4079(MYSQL *mysql)
mysql_stmt_bind_result(stmt, my_bind);
rc= mysql_stmt_fetch(stmt);
FAIL_UNLESS(rc == MYSQL_NO_DATA, "rc != MYSQL_NO_DATA");
FAIL_UNLESS(rc == 1, "rc != 1");
/* buggy version of libmysql hanged up here */
mysql_stmt_close(stmt);
return OK;