Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1.9, 10.1(EOL)
-
 XAMPP bundle on Windows 8.1
-
10.1.13
Description
The following query fails:
- SET SESSION wait_timeout = GREATEST(28000, @@wait_timeout)
Error:
#1232 - Incorrect argument type to variable 'wait_timeout`
There should be no type conversion issue as those queries work:
- SET SESSION wait_timeout = 28000;
- SET SESSION wait_timeout = @@wait_timeout;
- SELECT GREATEST(28000, @@wait_timeout);
please see this SO question for detail:
http://stackoverflow.com/questions/35187378/mariadb-type-error-when-setting-session-variable