diff options
author | unknown <petr/cps@mysql.com/owlet.local> | 2006-09-27 17:48:00 +0400 |
---|---|---|
committer | unknown <petr/cps@mysql.com/owlet.local> | 2006-09-27 17:48:00 +0400 |
commit | ac4b66236342910ebfb8aed19ae46113df3465c6 (patch) | |
tree | 79853f87274ed5468b1141a716df2d0ac956b9c2 /sql/sql_table.cc | |
parent | 7c59445af08270ae3e34830b1d30a974f0ea4c4c (diff) | |
download | mariadb-git-ac4b66236342910ebfb8aed19ae46113df3465c6.tar.gz |
Remove unused error messages (no release contains them
at the moment, so we can safely do that). Update an error
mesage to make it translateable.
mysql-test/r/log_tables.result:
update result file
sql/share/errmsg.txt:
remove unused error messages
sql/sql_table.cc:
Use name of the statements rather then English words.
This way error message is translateable.
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 25de19b20b2..78a67eddf9e 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -1628,7 +1628,7 @@ int mysql_rm_table_part2(THD *thd, TABLE_LIST *tables, bool if_exists, (!my_strcasecmp(system_charset_info, table->table_name, "slow_log") && opt_slow_log && logger.is_slow_log_table_enabled()))) { - my_error(ER_BAD_LOG_STATEMENT, MYF(0), "drop"); + my_error(ER_BAD_LOG_STATEMENT, MYF(0), "DROP"); DBUG_RETURN(1); } } @@ -5179,7 +5179,7 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name, (table_kind == SLOW_LOG && opt_slow_log && logger.is_slow_log_table_enabled())) { - my_error(ER_BAD_LOG_STATEMENT, MYF(0), "alter"); + my_error(ER_BAD_LOG_STATEMENT, MYF(0), "ALTER"); DBUG_RETURN(TRUE); } |