Details
Description
plugin variables (MYSQL_SYSVAR and MYSQL_THDVAR) can provide a validation callback, it's invoked on SET checking whether a value is valid and can be assigned.
But for SET var=DEFAULT it's not invoked, and while normally a default value can be expected to be valid, it doesn't necessarily mean that it can be assigned at any arbitrary point in time, for example, a variable might be read-only inside a transaction.
validation callback must be invoked for =DEFAULT assignments too.
Attachments
Issue Links
- blocks
-
MDEV-36828 SET GLOBAL cannot be atomic when inter-parameter constraints exist
-
- Open
-
- is blocked by
-
MDEV-36769 set var=DEFAULT validates values too late
-
- Open
-
- relates to
-
MDEV-36301 SET GLOBAL innodb_log_group_home_dir, innodb_log_file_disabled
-
- Stalled
-