summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2009-05-05 17:03:23 -0400
committerChad MILLER <chad@mysql.com>2009-05-05 17:03:23 -0400
commit4822696ecb7302efc543e0be109f1c2a8f1bdf4e (patch)
tree14698de1876a7bea69d52b7f7ddaedbf0877551f /sql/sql_show.cc
parent14f923c0286588f9f391a2fda8b9fab5a4e2953c (diff)
downloadmariadb-git-4822696ecb7302efc543e0be109f1c2a8f1bdf4e.tar.gz
Pull 5.1 treatment of community features into 5.0.
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 297061207cf..59679c96120 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -1549,9 +1549,12 @@ static bool show_status_array(THD *thd, const char *wild,
nr= (long) (thd->query_start() - server_start_time);
end= int10_to_str(nr, buff, 10);
break;
+#ifdef COMMUNITY_SERVER
case SHOW_FLUSHTIME:
nr= (long) (thd->query_start() - flush_status_time);
end= int10_to_str(nr, buff, 10);
+ break;
+#endif
case SHOW_QUERIES:
end= int10_to_str((long) thd->query_id, buff, 10);
break;