We should not call API functions in the update process, but for some reason this has not been applied to variable_set() - it does not invoke hooks, but it is also a function that is likely to be completely removed once things are converted to CMI.
Since that is going to happen after some updates have already run moving things to the variables table - i.e. various D8MI patches as things stand, we should add update_8000_variable_set() to 8.x. This way when the function is removed, those updates will still run OK.
Critical bug because we already have some updates that do this.
PASSED: [[SimpleTest]]: [MySQL] 39,804 pass(es). View
FAILED: [[SimpleTest]]: [MySQL] 39,740 pass(es), 12 fail(s), and 2 exception(s). View
FAILED: [[SimpleTest]]: [MySQL] 39,737 pass(es), 12 fail(s), and 2 exception(s). View
PASSED: [[SimpleTest]]: [MySQL] 35,114 pass(es). View