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 after enabled, UPDATE, INSERT and DELETE only
move the cursor to the records "
  "and do nothing other operations (no changes, no ibuf, no undo, no
transaction log) in the transaction. "
  "This is to cause replication prefetch IO. ATTENTION: the
transaction started after enabled is affected.",
  check_fake_changes, NULL, FALSE);

-- 
Mark Callaghan
mdcal...@gmail.com

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to