Mega Code Archive

 
Categories / MySQL / Select Clause
 

If youre retrieving the value of a global variable, you must also precede the variable name with the global keyword

SELECT @@global.max_binlog_size;