diff options
author | unknown <evgen@moonbone.local> | 2007-02-11 22:52:12 +0300 |
---|---|---|
committer | unknown <evgen@moonbone.local> | 2007-02-11 22:52:12 +0300 |
commit | 56baa89b82e16dfec5ad153c47d781e82c1ae14d (patch) | |
tree | 0de0235659c09833b1b642f40e64037e215791c5 | |
parent | 537de83a7dd53e5c9ae2d63cb2dc2b4a6f621b9b (diff) | |
download | mariadb-git-56baa89b82e16dfec5ad153c47d781e82c1ae14d.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.
-rw-r--r-- | mysql-test/r/information_schema.result | 3 | ||||
-rw-r--r-- | sql/sql_view.cc | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/information_schema.result b/mysql-test/r/information_schema.result index b93a4c28849..3986dce2c29 100644 --- a/mysql-test/r/information_schema.result +++ b/mysql-test/r/information_schema.result @@ -1262,8 +1262,7 @@ from information_schema.tables order by object_schema; explain select * from v1; id select_type table type possible_keys key key_len ref rows Extra -1 PRIMARY <derived2> system NULL NULL NULL NULL 0 const row not found -2 DERIVED tables ALL NULL NULL NULL NULL 2 Using filesort +1 SIMPLE tables ALL NULL NULL NULL NULL 2 Using filesort explain select * from (select table_name from information_schema.tables) as a; id select_type table type possible_keys key key_len ref rows Extra 1 PRIMARY <derived2> system NULL NULL NULL NULL 0 const row not found 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; } |