diff options
author | konstantin@mysql.com <> | 2006-03-05 00:38:54 +0300 |
---|---|---|
committer | konstantin@mysql.com <> | 2006-03-05 00:38:54 +0300 |
commit | 2ea0b9b72c25cb5bac183289cd674000f0ff7df5 (patch) | |
tree | 26378335beadcd3fc08ec9df825bfd3ba9d8c87f /libmysql | |
parent | 40b368af16b29c5b936824d2078b65a6608e5195 (diff) | |
download | mariadb-git-2ea0b9b72c25cb5bac183289cd674000f0ff7df5.tar.gz |
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.
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index 498881aa947..898e0ad3273 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -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; |