summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2018-08-15 16:48:13 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2018-08-15 16:48:13 +0200
commitbcc677bb7264db08b22284998706b44c377ed8ec (patch)
treeedbffbf3a801c0fcc26f6bb6a0fc0b62d151fc87 /sql/sql_show.cc
parentb62ac161856570e9a0e92d17de1e3dd31d54410f (diff)
parent1b797e9e6308913c2472f3e04ad253e95a35d59f (diff)
downloadmariadb-git-bcc677bb7264db08b22284998706b44c377ed8ec.tar.gz
Merge branch '5.5' into 10.0
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index af02c74c58b..cdcd6fe47e3 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -2219,7 +2219,7 @@ static int show_create_view(THD *thd, TABLE_LIST *table, String *buff)
We can't just use table->query, because our SQL_MODE may trigger
a different syntax, like when ANSI_QUOTES is defined.
*/
- table->view->unit.print(buff, QT_ORDINARY);
+ table->view->unit.print(buff, QT_VIEW_INTERNAL);
if (table->with_check != VIEW_CHECK_NONE)
{