summaryrefslogtreecommitdiff
path: root/sql/sql_view.cc
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2007-02-11 22:52:12 +0300
committerunknown <evgen@moonbone.local>2007-02-11 22:52:12 +0300
commit5e42c0de8d0793d3e714e8368dccd3b69e385fab (patch)
tree0de0235659c09833b1b642f40e64037e215791c5 /sql/sql_view.cc
parenta544b64f8d3907a7c73ce93a8165fbe1233280b2 (diff)
downloadmariadb-git-5e42c0de8d0793d3e714e8368dccd3b69e385fab.tar.gz
sql_view.cc:
Post fix for bug#12122. information_schema.result: Corrected test case after fixing bug#12122. sql/sql_view.cc: Post fix for bug#12122. mysql-test/r/information_schema.result: Corrected test case after fixing bug#12122.
Diffstat (limited to 'sql/sql_view.cc')
-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;
}