summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorevgen@moonbone.local <>2007-02-11 22:52:12 +0300
committerevgen@moonbone.local <>2007-02-11 22:52:12 +0300
commitffdf7b159b8840f249b04cd998b3bf51e2a6f089 (patch)
tree0de0235659c09833b1b642f40e64037e215791c5 /sql
parent9e2a0c7528613927717f3ff7530145749d7edbbd (diff)
downloadmariadb-git-ffdf7b159b8840f249b04cd998b3bf51e2a6f089.tar.gz
sql_view.cc:
Post fix for bug#12122. information_schema.result: Corrected test case after fixing bug#12122.
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_view.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc
index 18ef3eaf29c..fd2d6c89785 100644
--- a/sql/sql_view.cc
+++ b/sql/sql_view.cc
@@ -1263,6 +1263,7 @@ bool mysql_make_view(THD *thd, File_parser *parser, TABLE_LIST *table,
but it will not be included to SELECT_LEX tree, because it
will not be executed
*/
+ table->select_lex->order_list.push_back(&lex->select_lex.order_list);
goto ok;
}