mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-15475: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed on EXPLAIN EXTENDED with constant table and view
Print constant ISNULL value independent. Fix of printing of view FRM and CREATE VIEW output
This commit is contained in:
@ -2085,7 +2085,7 @@ view_store_create_info(THD *thd, TABLE_LIST *table, String *buff)
|
||||
We can't just use table->query, because our SQL_MODE may trigger
|
||||
a different syntax, like when ANSI_QUOTES is defined.
|
||||
*/
|
||||
table->view->unit.print(buff, QT_ORDINARY);
|
||||
table->view->unit.print(buff, QT_VIEW_INTERNAL);
|
||||
|
||||
if (table->with_check != VIEW_CHECK_NONE)
|
||||
{
|
||||
|
Reference in New Issue
Block a user