1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

fixed problem with reference on derived table fields (BUG#1031)

This commit is contained in:
bell@sanja.is.com.ua
2003-08-12 15:04:49 +03:00
parent c767f0b2a0
commit b6a8d68ae4
8 changed files with 26 additions and 14 deletions

View File

@ -157,7 +157,8 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit,
is_union && !unit->union_option, 1,
(select_cursor->options | thd->options |
TMP_TABLE_ALL_COLUMNS),
HA_POS_ERROR)))
HA_POS_ERROR,
org_table_list->alias)))
{
res= -1;
goto exit;