Comments - Replication and Binary Log System Variables

2 years, 1 month ago Andrei Elkin

Hallo, Oli!

That's because this type of variables belongs to the @@global/@@session class. And its semantics was settled long time ago so the session first initializes its private instance from the current value of the overall system-wide @@global "parent". And *then* it is free to change its @@session. So if one would prefer a behavior like you did then the freedom of making changes obviously suffers a lot. In such use case the variable would had to be defined as a pure @@global. However, I don't see as impossible to merge two perceptions with introduction of a magic value to the global instance of the @@global/@@session that would turn it into the pure @@global class.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.