~maria-captains/maria/maria-5.5-galera

Viewing all changes in revision 3513.

  • Committer: Nirbhay Choubey
  • Date: 2014-07-22 13:27:35 UTC
  • Revision ID: nirbhay@skysql.com-20140722132735-8pu5r3l3nqzyewb0
MDEV-4647: Crash on setting wsep system variables to default

The variables' ON_CHECK functions relied on set_var's "value"
member, which is NULL for SET ... =default. Fixed by using
save_result instead.

Also, for many wsrep variables, pointers to their respective
global variables were used to provide default values. The patch
fixes this by using appropriate macros and string literals.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: