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

Fix for CONC-60: crash when STMT_ATTR_UPDATE_MAX_LENGTH attribute was set and new date formats are used.

Special thanks to Lionel Elie Mamane and Daniel Bart for their tremendous help.
This commit is contained in:
holzboote@googlemail.com
2013-11-20 20:37:30 +01:00
parent f6384aa941
commit c9c78d0c31
4 changed files with 65 additions and 21 deletions

View File

@@ -2914,6 +2914,7 @@ static int test_bug6096(MYSQL *mysql)
}
mysql_stmt_bind_result(stmt, my_bind);
rc= mysql_stmt_fetch(stmt);
diag("rc=%d", rc);
check_stmt_rc(rc, stmt);
rc= mysql_stmt_fetch(stmt);
FAIL_UNLESS(rc == MYSQL_NO_DATA, "rc != MYSQL_NO_DATA");