summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-11-12 14:34:00 +0200
committerbell@sanja.is.com.ua <>2004-11-12 14:34:00 +0200
commit31f7811183b6dd197cb7643abbe1b56cec72b602 (patch)
tree7591e416fa1685ed1e41707824091a5ca7f9c2c1 /sql/sql_handler.cc
parent5bf7a8c30b7fb3c21a8cd57b4dad9b05b2a3b521 (diff)
downloadmariadb-git-31f7811183b6dd197cb7643abbe1b56cec72b602.tar.gz
post-review fixes
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc4
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;
}
}