diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-11-27 18:05:41 +0200 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-11-27 18:05:41 +0200 |
commit | bbb0f7788457a43821e2ae29bbd1599ea044b9dc (patch) | |
tree | cb10391683c5c5ae8f4b8834d5de9ca0b1b68a60 | |
parent | 6f5b38b9dd0841e1841af1243dd19b5a12b59e34 (diff) | |
download | mariadb-git-bbb0f7788457a43821e2ae29bbd1599ea044b9dc.tar.gz |
fix for SHOW VARS for IA64 and other 64 bit systems
-rw-r--r-- | sql/sql_show.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 ? |