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

Merge of fix for bug#58553, "Queries with pushed conditions causes 'explain

extended' to crash mysqld" (see http://lists.mysql.com/commits/128409).
This commit is contained in:
Jan Wedvik
2011-01-11 12:33:28 +01:00
3 changed files with 6 additions and 1 deletions

View File

@ -3068,6 +3068,11 @@ retry_share:
table->reginfo.lock_type=TL_READ; /* Assume read */
reset:
/*
Check that there is no reference to a condtion from an earlier query
(cf. Bug#58553).
*/
DBUG_ASSERT(table->file->pushed_cond == NULL);
table_list->updatable= 1; // It is not derived table nor non-updatable VIEW
table_list->table= table;