summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-09-04 20:17:09 +0200
committerunknown <serg@serg.mylan>2004-09-04 20:17:09 +0200
commitdf8a43b8b2f51901fc35cd5dbd047e09941eeae3 (patch)
tree6c5ba5b242257855157cdf52a44d6a7e88c3884a /sql/sql_base.cc
parentc0c7e8f56454f6624b0f32a556f71fc12b7f210b (diff)
downloadmariadb-git-df8a43b8b2f51901fc35cd5dbd047e09941eeae3.tar.gz
sql_print_error cleanup
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index ac5008717e6..30f97cf20a9 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -1384,7 +1384,7 @@ static int open_unireg_entry(THD *thd, TABLE *entry, const char *db,
/* Give right error message */
thd->clear_error();
my_error(ER_NOT_KEYFILE, MYF(0), name, my_errno);
- sql_print_error("Error: Couldn't repair table: %s.%s",db,name);
+ sql_print_error("Couldn't repair table: %s.%s",db,name);
if (entry->file)
closefrm(entry);
error=1;
@@ -1424,7 +1424,7 @@ static int open_unireg_entry(THD *thd, TABLE *entry, const char *db,
DBA on top of warning the client (which will automatically be done
because of MYF(MY_WME) in my_malloc() above).
*/
- sql_print_error("Error: when opening HEAP table, could not allocate \
+ sql_print_error("When opening HEAP table, could not allocate \
memory to write 'DELETE FROM `%s`.`%s`' to the binary log",db,name);
if (entry->file)
closefrm(entry);
@@ -1820,8 +1820,8 @@ bool rm_temporary_table(enum db_type base, char *path)
if (file && file->delete_table(path))
{
error=1;
- sql_print_error("Warning: Could not remove tmp table: '%s', error: %d",
- path, my_errno);
+ sql_print_warning("Could not remove tmp table: '%s', error: %d",
+ path, my_errno);
}
delete file;
DBUG_RETURN(error);