summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/plugins/t/locales.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/plugins/t/locales.test')
-rw-r--r--mysql-test/suite/plugins/t/locales.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/suite/plugins/t/locales.test b/mysql-test/suite/plugins/t/locales.test
new file mode 100644
index 00000000..a3afe750
--- /dev/null
+++ b/mysql-test/suite/plugins/t/locales.test
@@ -0,0 +1,13 @@
+if (`select count(*) = 0 from information_schema.plugins where plugin_name = 'locales' and plugin_status='active'`)
+{
+ --skip LOCALES plugin is not active
+}
+
+select * from information_schema.locales;
+show locales;
+--error ER_PARSE_ERROR
+show locales like '%spanish%';
+show locales where description like '%spanish%';
+--error ER_PARSE_ERROR
+flush locales;
+