Commit 369fa4c3 authored by Kentoku SHIBA's avatar Kentoku SHIBA

Fix for crash bug #4733.

parent 39d4b96a
...@@ -8351,6 +8351,10 @@ ha_rows ha_spider::records() ...@@ -8351,6 +8351,10 @@ ha_rows ha_spider::records()
backup_error_status(); backup_error_status();
DBUG_ENTER("ha_spider::records"); DBUG_ENTER("ha_spider::records");
DBUG_PRINT("info",("spider this=%p", this)); DBUG_PRINT("info",("spider this=%p", this));
if (sql_command == SQLCOM_ALTER_TABLE)
{
DBUG_RETURN(0);
}
if ((error_num = spider_db_show_records(this, search_link_idx))) if ((error_num = spider_db_show_records(this, search_link_idx)))
{ {
check_error_mode(error_num); check_error_mode(error_num);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment