diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2018-08-21 10:07:26 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2018-08-21 10:07:26 +0200 |
commit | b4210f364003fbea3ccd778b5f5f5dbfc2bfa2f8 (patch) | |
tree | df1647a564cfe504d5ceae00e1bb09ba750bdf77 /sql/sql_show.cc | |
parent | 75dfd4acb995789ca5f86ccbd361fff9d2797e79 (diff) | |
parent | bcc677bb7264db08b22284998706b44c377ed8ec (diff) | |
download | mariadb-git-b4210f364003fbea3ccd778b5f5f5dbfc2bfa2f8.tar.gz |
Merge branch '10.0' into 10.1
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index bbf2cb30b97..c029b607815 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -2389,7 +2389,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, enum_query_type(QT_ORDINARY | + table->view->unit.print(buff, enum_query_type(QT_VIEW_INTERNAL | QT_ITEM_ORIGINAL_FUNC_NULLIF)); if (table->with_check != VIEW_CHECK_NONE) |