You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
- Fixed memory overrun in mysql_stmt_execute due to wrong length calculation.
- Fixed bug in mysql_stmt_next_result - Fixed mysql_stmt_reset: multi result sets weren't flushed properly - Fixed several test cases
This commit is contained in:
@@ -4615,6 +4615,7 @@ static int test_long_data1(MYSQL *mysql)
|
||||
FAIL_IF(!stmt, mysql_error(mysql));
|
||||
rc= mysql_stmt_prepare(stmt, query, strlen(query));
|
||||
check_stmt_rc(rc, stmt);
|
||||
memset(bind, 0, sizeof(MYSQL_BIND));
|
||||
bind[0].buffer_type= MYSQL_TYPE_STRING;
|
||||
rc= mysql_stmt_bind_param(stmt, bind);
|
||||
check_stmt_rc(rc, stmt);
|
||||
|
Reference in New Issue
Block a user