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 | 4391f938922a7f62831481c350ad4a680c64c827 (patch) | |
tree | 26378335beadcd3fc08ec9df825bfd3ba9d8c87f /libmysql | |
parent | 2fe8095662044f2a0299050106ddf36e451506fe (diff) | |
download | mariadb-git-4391f938922a7f62831481c350ad4a680c64c827.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; |