1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Portability compilation fixes.

This commit is contained in:
knielsen@mysql.com
2006-01-20 13:23:24 +01:00
parent 5788197dfc
commit c346208a40
6 changed files with 74 additions and 59 deletions

View File

@@ -326,11 +326,11 @@ int open_table_def(THD *thd, TABLE_SHARE *share, uint db_flags)
{
if (!my_strcasecmp(system_charset_info, share->table_name.str,
"general_log"))
share->log_table= LOG_GENERAL;
share->log_table= QUERY_LOG_GENERAL;
else
if (!my_strcasecmp(system_charset_info, share->table_name.str,
"slow_log"))
share->log_table= LOG_SLOW;
share->log_table= QUERY_LOG_SLOW;
}
}
error_given= 1;