1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Revert the changeset for Bug#16144 "mysql_stmt_attr_get type error":

it breaks binary compatibility. The patch will be left intact
in 5.1.
This commit is contained in:
konstantin@mysql.com
2006-03-05 00:38:54 +03:00
parent 40b368af16
commit 2ea0b9b72c
2 changed files with 1 additions and 21 deletions

View File

@ -2733,7 +2733,7 @@ my_bool STDCALL mysql_stmt_attr_get(MYSQL_STMT *stmt,
{
switch (attr_type) {
case STMT_ATTR_UPDATE_MAX_LENGTH:
*(my_bool*) value= stmt->update_max_length;
*(unsigned long *) value= stmt->update_max_length;
break;
default:
return TRUE;