summaryrefslogtreecommitdiff
path: root/sql/sql_statistics.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-05-16 14:24:29 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-05-16 14:24:29 +0300
commit3d56adbfac394b2b3ffd22a89fe7c2978ed9a505 (patch)
tree20d568348fb9aab84446988823f1a971f45a7aca /sql/sql_statistics.cc
parentb7d22a843e36cd5b8695f8ac2b92789d1cf50e4f (diff)
parent796486d19b7eede58566620dfd110d24ac723218 (diff)
downloadmariadb-git-3d56adbfac394b2b3ffd22a89fe7c2978ed9a505.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'sql/sql_statistics.cc')
-rw-r--r--sql/sql_statistics.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_statistics.cc b/sql/sql_statistics.cc
index 9ed49cef3e6..5b8c1b63b6f 100644
--- a/sql/sql_statistics.cc
+++ b/sql/sql_statistics.cc
@@ -2199,6 +2199,9 @@ inline bool statistics_for_command_is_needed(THD *thd)
case SQLCOM_DELETE_MULTI:
case SQLCOM_REPLACE:
case SQLCOM_REPLACE_SELECT:
+ case SQLCOM_CREATE_TABLE:
+ case SQLCOM_SET_OPTION:
+ case SQLCOM_DO:
break;
default:
return FALSE;