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.test14
1 files changed, 14 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..2b4d5643
--- /dev/null
+++ b/mysql-test/suite/plugins/t/locales.test
@@ -0,0 +1,14 @@
+if (`select count(*) = 0 from information_schema.plugins where plugin_name = 'locales' and plugin_status='active'`)
+{
+ --skip LOCALES plugin is not active
+}
+SET names utf8;
+
+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;
+