Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
N/A
Description
Documentation https://mariadb.com/kb/en/mariadb/documentation/optimization-and-tuning/system-variables/server-system-variables/#old says that old variable is global and non-dynamic; in fact, it's can be set on a session level at runtime (at least in 5.5 and above, I didn't check earlier versions):
Welcome to the MariaDB monitor. Commands end with ; or \g. |
Your MariaDB connection id is 1 |
Server version: 5.5.40-MariaDB-debug Source distribution
|
|
|
Copyright (c) 2000, 2014, Oracle, Monty Program Ab and others. |
|
|
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. |
|
|
MariaDB [test]> set old = 1; |
Query OK, 0 rows affected (0.00 sec) |