diff options
| author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-03-06 09:00:52 +0200 |
|---|---|---|
| committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-03-06 09:00:52 +0200 |
| commit | 2a791c53ad93c8bc1441dd227000234bd49c4990 (patch) | |
| tree | 4c52ad715c99bd3c6681771d7cb77d451a34e216 /sql/sql_cmd.h | |
| parent | b5c72a843abee033e9ea6028e1a109f03afc4455 (diff) | |
| parent | 723ffdb32ee785cbc511abc457eb70d41c2fcce3 (diff) | |
| download | mariadb-git-2a791c53ad93c8bc1441dd227000234bd49c4990.tar.gz | |
Merge 10.3 into 10.4
Diffstat (limited to 'sql/sql_cmd.h')
| -rw-r--r-- | sql/sql_cmd.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/sql_cmd.h b/sql/sql_cmd.h index 973e159c0cb..cbd7513e29f 100644 --- a/sql/sql_cmd.h +++ b/sql/sql_cmd.h @@ -161,6 +161,8 @@ public: */ virtual bool execute(THD *thd) = 0; + virtual bool log_slow_enabled_statement(const THD *thd) const; + protected: Sql_cmd() {} @@ -178,6 +180,17 @@ protected: }; +class Sql_cmd_admin: public Sql_cmd +{ +public: + Sql_cmd_admin() + {} + ~Sql_cmd_admin() + {} + bool log_slow_enabled_statement(const THD *thd) const; +}; + + /** Sql_cmd_call represents the CALL statement. */ |
