diff options
author | gluh@eagle.intranet.mysql.r18.ru <> | 2006-01-24 16:48:19 +0400 |
---|---|---|
committer | gluh@eagle.intranet.mysql.r18.ru <> | 2006-01-24 16:48:19 +0400 |
commit | b4f7c9bbd53c4934f98cd5a7c3b492d82a997e64 (patch) | |
tree | 847fce48cce8fd12c1deb74d0c82e424c197d071 /sql/sql_prepare.cc | |
parent | f2fa83fae084d316eb195e173e3f429b0a39f89c (diff) | |
download | mariadb-git-b4f7c9bbd53c4934f98cd5a7c3b492d82a997e64.tar.gz |
Fix for bug#15307 GROUP_CONCAT() with ORDER BY returns empty set on information_schema(2nd ver)
Fill schema tables with data before filesort if it's necessary
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r-- | sql/sql_prepare.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc index ffbbf0c6476..68f033f78fe 100644 --- a/sql/sql_prepare.cc +++ b/sql/sql_prepare.cc @@ -2111,6 +2111,8 @@ void reinit_stmt_before_use(THD *thd, LEX *lex) were closed in the end of previous prepare or execute call. */ tables->table= 0; + /* Reset is_schema_table_processed value(needed for I_S tables */ + tables->is_schema_table_processed= FALSE; if (tables->prep_on_expr) { |