summaryrefslogtreecommitdiff
path: root/mysql-test/main/no-threads.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/no-threads.result')
-rw-r--r--mysql-test/main/no-threads.result13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/main/no-threads.result b/mysql-test/main/no-threads.result
new file mode 100644
index 00000000000..9bc2dad6e2a
--- /dev/null
+++ b/mysql-test/main/no-threads.result
@@ -0,0 +1,13 @@
+select 1+1;
+1+1
+2
+select 1+2;
+1+2
+3
+SHOW GLOBAL VARIABLES LIKE 'thread_handling';
+Variable_name Value
+thread_handling no-threads
+select @@session.thread_handling;
+ERROR HY000: Variable 'thread_handling' is a GLOBAL variable
+set GLOBAL thread_handling='one-thread';
+ERROR HY000: Variable 'thread_handling' is a read only variable