SELECT @@session.sort_buffer_size >= 32776 AND @@session.sort_buffer_size < 33000;
SELECT @@session.sort_buffer_size BETWEEN 32776 AND 32999;
@@session.sort_buffer_size >= 32776 AND @@session.sort_buffer_size < 33000
@@session.sort_buffer_size BETWEEN 32776 AND 32999
1
1
SET @@session.sort_buffer_size = -2;
SET @@session.sort_buffer_size = -2;
SELECT @@session.sort_buffer_size >= 32776 AND @@session.sort_buffer_size < 33000;
SELECT @@session.sort_buffer_size BETWEEN 32776 AND 32999;
@@session.sort_buffer_size >= 32776 AND @@session.sort_buffer_size < 33000
@@session.sort_buffer_size BETWEEN 32776 AND 32999
1
1
SET @@session.sort_buffer_size = 65530.34.;
SET @@session.sort_buffer_size = 65530.34.;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.' at line 1
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.' at line 1
...
@@ -105,12 +105,12 @@ INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='sort_buffer_size';
...
@@ -105,12 +105,12 @@ INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='sort_buffer_size';
SELECT @@session.sort_buffer_size >= 32776 AND @@session.sort_buffer_size < 33000;
SELECT @@session.sort_buffer_size BETWEEN 32776 AND 32999;
@@session.sort_buffer_size >= 32776 AND @@session.sort_buffer_size < 33000
@@session.sort_buffer_size BETWEEN 32776 AND 32999
1
1
SET @@session.sort_buffer_size = -2;
SET @@session.sort_buffer_size = -2;
SELECT @@session.sort_buffer_size >= 32776 AND @@session.sort_buffer_size < 33000;
SELECT @@session.sort_buffer_size BETWEEN 32776 AND 32999;
@@session.sort_buffer_size >= 32776 AND @@session.sort_buffer_size < 33000
@@session.sort_buffer_size BETWEEN 32776 AND 32999
1
1
SET @@session.sort_buffer_size = 65530.34.;
SET @@session.sort_buffer_size = 65530.34.;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.' at line 1
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.' at line 1
...
@@ -105,12 +105,12 @@ INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='sort_buffer_size';
...
@@ -105,12 +105,12 @@ INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='sort_buffer_size';