summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2006-03-05 00:38:54 +0300
committerunknown <konstantin@mysql.com>2006-03-05 00:38:54 +0300
commit4391f938922a7f62831481c350ad4a680c64c827 (patch)
tree26378335beadcd3fc08ec9df825bfd3ba9d8c87f /libmysql
parent2fe8095662044f2a0299050106ddf36e451506fe (diff)
downloadmariadb-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.c2
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;