1
0
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:
unknown
2004-11-12 12:28:34 +01:00
parent c3531618f1
commit eed282d6dd
4 changed files with 6 additions and 5 deletions

View File

@ -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: