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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user