summaryrefslogtreecommitdiff
path: root/plugin/feedback
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-08-25 19:08:01 +0200
committerSergei Golubchik <serg@mariadb.org>2014-10-11 18:53:04 +0200
commitdb8af31831beb949dfcf7675b3c6392dc52dc38c (patch)
tree875eb553866accbb0f05bfe8cbe3a789752d86f2 /plugin/feedback
parent932eaf31e91cf875e336b8d9332682aca03c6e58 (diff)
downloadmariadb-git-db8af31831beb949dfcf7675b3c6392dc52dc38c.tar.gz
SHOW and FLUSH for I_S tables.
Extend existing plugins to support * SHOW QUERY_RESPONSE_TIME * FLUSH QUERY_RESPONSE_TIME * SHOW LOCALE move userstat tables to use the new API instead of hand-coded syntax
Diffstat (limited to 'plugin/feedback')
-rw-r--r--plugin/feedback/sender_thread.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/feedback/sender_thread.cc b/plugin/feedback/sender_thread.cc
index 465bdfa8feb..732118f245e 100644
--- a/plugin/feedback/sender_thread.cc
+++ b/plugin/feedback/sender_thread.cc
@@ -16,6 +16,7 @@
#include "feedback.h"
#include <sql_acl.h>
#include <sql_parse.h>
+#include <sql_show.h>
#include <time.h>
namespace feedback {
@@ -120,7 +121,7 @@ static int prepare_for_fill(TABLE_LIST *tables)
strlen(i_s_feedback->table_name),
0, TL_READ);
tables->schema_table= i_s_feedback;
- tables->table= i_s_feedback->create_table(thd, tables);
+ tables->table= create_schema_table(thd, tables);
if (!tables->table)
return 1;