1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

make error message more detailed

This commit is contained in:
serg@serg.mylan
2003-11-12 22:33:28 +01:00
parent e51d0ced61
commit 0b7ccfa882

View File

@ -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) 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", sql_print_error("mysql_ha_read: Got error %d when reading table '%s'",
err); err, tables->real_name);
table->file->print_error(err,MYF(0)); table->file->print_error(err,MYF(0));
goto err; goto err;
} }