mirror of
https://github.com/MariaDB/server.git
synced 2025-06-13 13:01:51 +03:00
A fix and a test case for Bug#16144 "mysql_stmt_attr_get type error":
use the right type in mysql_stmt_attr_get libmysql/libmysql.c: Fix Bug#16144 "mysql_stmt_attr_get type error" tests/mysql_client_test.c: A test case for Bug#16144
This commit is contained in:
@ -2733,7 +2733,7 @@ my_bool STDCALL mysql_stmt_attr_get(MYSQL_STMT *stmt,
|
||||
{
|
||||
switch (attr_type) {
|
||||
case STMT_ATTR_UPDATE_MAX_LENGTH:
|
||||
*(unsigned long *) value= stmt->update_max_length;
|
||||
*(my_bool*) value= stmt->update_max_length;
|
||||
break;
|
||||
default:
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user