summaryrefslogtreecommitdiff
path: root/mysql-test/r/plugin.result
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-04-09 14:28:07 +0200
committerSergei Golubchik <sergii@pisem.net>2014-04-09 14:28:07 +0200
commit32b3c9f35de3e52695d7d8d6dc0b34ff9c097733 (patch)
tree618eda633ab098b1a432ec29b4ac2243ef8e552a /mysql-test/r/plugin.result
parentab157e4556ef2c46de6d4a1f29a024ae58e4d4aa (diff)
downloadmariadb-git-32b3c9f35de3e52695d7d8d6dc0b34ff9c097733.tar.gz
Make THDVAR_INT variables to be signed in SELECT in SHOW
Diffstat (limited to 'mysql-test/r/plugin.result')
-rw-r--r--mysql-test/r/plugin.result7
1 files changed, 6 insertions, 1 deletions
diff --git a/mysql-test/r/plugin.result b/mysql-test/r/plugin.result
index 53b6a6f1651..4fb4986d0fd 100644
--- a/mysql-test/r/plugin.result
+++ b/mysql-test/r/plugin.result
@@ -40,15 +40,20 @@ SELECT * FROM t1;
a
set global example_ulong_var=500;
set global example_enum_var= e1;
+set session example_int_var= -1;
show status like 'example%';
Variable_name Value
-example_func_example enum_var is 0, ulong_var is 500, double_var is 8.500000, really
+example_func_example enum_var is 0, ulong_var is 500, int_var is -1, double_var is 8.500000, really
show variables like 'example%';
Variable_name Value
example_double_thdvar 8.500000
example_double_var 8.500000
example_enum_var e1
+example_int_var -1
example_ulong_var 500
+select @@session.example_int_var;
+@@session.example_int_var
+-1
UNINSTALL SONAME 'ha_example';
Warnings:
Warning 1620 Plugin is busy and will be uninstalled on shutdown