[MDEV-7008] Docs: `old` variable is session and dynamic Created: 2014-11-01  Updated: 2015-01-28  Resolved: 2014-11-05

Status: Closed
Project: MariaDB Server
Component/s: Documentation
Affects Version/s: N/A
Fix Version/s: N/A

Type: Bug Priority: Trivial
Reporter: Elena Stepanova Assignee: Ian Gilfillan
Resolution: Fixed Votes: 0
Labels: documentation


 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)



 Comments   
Comment by Ian Gilfillan [ 2014-11-05 ]

Documentation updated, the behaviour changed in 5.5

Generated at Thu Feb 08 07:16:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.