diff options
author | bell@sanja.is.com.ua <> | 2004-11-12 14:34:00 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-11-12 14:34:00 +0200 |
commit | 31f7811183b6dd197cb7643abbe1b56cec72b602 (patch) | |
tree | 7591e416fa1685ed1e41707824091a5ca7f9c2c1 /sql/sql_handler.cc | |
parent | 5bf7a8c30b7fb3c21a8cd57b4dad9b05b2a3b521 (diff) | |
download | mariadb-git-31f7811183b6dd197cb7643abbe1b56cec72b602.tar.gz |
post-review fixes
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r-- | sql/sql_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc index 6bab90a786e..37079fbc856 100644 --- a/sql/sql_handler.cc +++ b/sql/sql_handler.cc @@ -341,7 +341,7 @@ bool mysql_ha_read(THD *thd, TABLE_LIST *tables, break; } default: - my_error(ER_ILLEGAL_HA, MYF(0)); + my_message(ER_ILLEGAL_HA, ER(ER_ILLEGAL_HA), MYF(0)); goto err; } @@ -370,7 +370,7 @@ bool mysql_ha_read(THD *thd, TABLE_LIST *tables, if (item->send(thd->protocol, &buffer)) { protocol->free(); // Free used - my_error(ER_OUT_OF_RESOURCES,MYF(0)); + my_message(ER_OUT_OF_RESOURCES, ER(ER_OUT_OF_RESOURCES), MYF(0)); goto err; } } |