diff options
author | unknown <serg@serg.mylan> | 2003-11-12 22:33:28 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-11-12 22:33:28 +0100 |
commit | 75392a0d2e4c7f95fa1490fed8203c9f2ffbee48 (patch) | |
tree | 0b91ce927564af5d7273867dbc28bd7cda41bd00 | |
parent | 25f9971aaac1d599856a3b3e1a2b5320b82c08b5 (diff) | |
download | mariadb-git-75392a0d2e4c7f95fa1490fed8203c9f2ffbee48.tar.gz |
make error message more detailed
-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 a19fcdc2d73..dd8dfb31163 100644 --- a/sql/sql_handler.cc +++ b/sql/sql_handler.cc @@ -232,8 +232,8 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables, { if (err != HA_ERR_KEY_NOT_FOUND && err != HA_ERR_END_OF_FILE) { - sql_print_error("mysql_ha_read: Got error %d when reading table", - err); + sql_print_error("mysql_ha_read: Got error %d when reading table '%s'", + err, tables->real_name); table->file->print_error(err,MYF(0)); goto err; } |