1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Undo the patch for Bug#16144 "mysql_stmt_attr_get type error",

it breaks binary compatibility. The patch will be left intact
in 5.1. Warning: this changeset should be null-merged into 5.1.
A separate commit in order to push into the release clone of 
5.0.19.


libmysql/libmysql.c:
  Undo the patch for Bug#16144
tests/mysql_client_test.c:
  Undo the patch for Bug#16144
This commit is contained in:
unknown
2006-03-04 23:04:48 +03:00
parent 350475fae4
commit fb71f423c4
2 changed files with 1 additions and 20 deletions

View File

@ -2822,7 +2822,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;
case STMT_ATTR_CURSOR_TYPE:
*(ulong*) value= stmt->flags;