diff options
author | unknown <konstantin@mysql.com> | 2006-03-05 00:38:54 +0300 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2006-03-05 00:38:54 +0300 |
commit | 217d626c95f778ecaec7950f33b848a7ccada30a (patch) | |
tree | 26378335beadcd3fc08ec9df825bfd3ba9d8c87f /libmysql | |
parent | c41a4ac8d795f8340e83c513904a7d30e4413b74 (diff) | |
download | mariadb-git-217d626c95f778ecaec7950f33b848a7ccada30a.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.
libmysql/libmysql.c:
Revert the changeset for Bug#16144: it breaks binary compatibility.
tests/mysql_client_test.c:
Revert the changeset for Bug#16144: it breaks binary compatibility.
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; |