mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed a bug that caused crashes for SHOW CREATE VIEW <view> when <view> was recursive. Added a test case to check the fix.
This commit is contained in:
@ -205,13 +205,13 @@ select_union_recursive::create_result_table(THD *thd_arg,
|
||||
{
|
||||
if (select_union::create_result_table(thd_arg, column_types,
|
||||
is_union_distinct, options,
|
||||
alias, bit_fields_as_long,
|
||||
"", bit_fields_as_long,
|
||||
create_table, keep_row_order))
|
||||
return true;
|
||||
|
||||
if (! (incr_table= create_tmp_table(thd_arg, &tmp_table_param, *column_types,
|
||||
(ORDER*) 0, false, 1,
|
||||
options, HA_POS_ERROR, alias,
|
||||
options, HA_POS_ERROR, "",
|
||||
!create_table, keep_row_order)))
|
||||
return true;
|
||||
|
||||
|
Reference in New Issue
Block a user