mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Various build fixes.
sql/mysql_priv.h: Fix build problems (causing link errors with the Sun compiler). sql/net_serv.cc: Corrected macro definition. sql/sql_base.cc: Fixed build problems (for broken HP compiler). sql/sql_show.cc: 64-bit build fix.
This commit is contained in:
@ -1965,7 +1965,7 @@ int mysqld_show(THD *thd, const char *wild, show_var_st *variables,
|
||||
switch (show_type) {
|
||||
case SHOW_LONG_STATUS:
|
||||
case SHOW_LONG_CONST_STATUS:
|
||||
value= ((char *) status_var + (uint) value);
|
||||
value= ((char *) status_var + (ulong) value);
|
||||
/* fall through */
|
||||
case SHOW_LONG:
|
||||
case SHOW_LONG_CONST:
|
||||
|
Reference in New Issue
Block a user