请各位XDJM们帮忙解答:
为啥查看指定的系统变量的值,@@ 后加或者不加global/session运行均可,且结果正常。例如:
select @@global.transaction_isolation;
select @@session.transaction_isolation;
select @@transaction_isolation;
select @@global.autocommit;
select @@session.autocommit;
select @@autocommit;
select @@global.AUTO_INCREMENT_INCREMENT;
select @@session.AUTO_INCREMENT_INCREMENT;
select @@AUTO_INCREMENT_INCREMENT;