mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
cosmetic change
sql/sql_class.h: comment sql/sql_table.cc: smarter use of the Disable_binlog object (using a block so that when leaving it either way, the object gets destroyed and so properties of the thread get reset).
This commit is contained in:
@@ -647,7 +647,7 @@ public:
|
||||
so we internally disable it temporarily by creating the Disable_binlog
|
||||
object and reset the state by destroying the object (don't forget that! or
|
||||
write code so that the object gets automatically destroyed when leaving a
|
||||
function...).
|
||||
block, see example in sql_table.cc).
|
||||
*/
|
||||
class Disable_binlog {
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user