Re: [Maria-developers] MYSQL_THDVAR and SET GLOBAL

2011-11-30 Thread Sergei Golubchik
Hi, MARK! On Nov 29, MARK CALLAGHAN wrote: > Is there an easy way to prevent SET GLOBAL ... from being done for > plugin variables declared via MYSQL_THDVAR_...? For the following > variable I can do SET GLOBAL innodb_fake_changes=1 and that sets a > global variable. > > static MYSQL_THDVAR_BOOL(

Re: [Maria-developers] MYSQL_THDVAR and SET GLOBAL

2011-11-30 Thread Michael Widenius
Hi! > "MARK" == MARK CALLAGHAN writes: MARK> Is there an easy way to prevent SET GLOBAL ... from being done for MARK> plugin variables declared via MYSQL_THDVAR_...? For the following MARK> variable I can do SET GLOBAL innodb_fake_changes=1 and that sets a MARK> global variable. MARK> stat

[Maria-developers] MYSQL_THDVAR and SET GLOBAL

2011-11-29 Thread MARK CALLAGHAN
Is there an easy way to prevent SET GLOBAL ... from being done for plugin variables declared via MYSQL_THDVAR_...? For the following variable I can do SET GLOBAL innodb_fake_changes=1 and that sets a global variable. static MYSQL_THDVAR_BOOL(fake_changes, PLUGIN_VAR_OPCMDARG, "In the transaction