From bbb0f7788457a43821e2ae29bbd1599ea044b9dc Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 27 Nov 2002 18:05:41 +0200 Subject: [PATCH] fix for SHOW VARS for IA64 and other 64 bit systems --- sql/sql_show.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 9829f7f0b78..1d737f0bf62 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -1145,7 +1145,7 @@ int mysqld_show(THD *thd, const char *wild, show_var_st *variables) switch (variables[i].type){ case SHOW_LONG: case SHOW_LONG_CONST: - net_store_data(&packet2,(uint32) *(ulong*) variables[i].value); + net_store_data(&packet2,(long long) *(ulong*) variables[i].value); break; case SHOW_BOOL: net_store_data(&packet2,(ulong) *(bool*) variables[i].value ?