We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d521385 commit 936ea31Copy full SHA for 936ea31
pymysqlreplication/tests/test_basic.py
@@ -1006,11 +1006,11 @@ def test_parsing(self):
1006
class TestRowsQueryLogEvents(base.PyMySQLReplicationTestCase):
1007
def setUp(self):
1008
super(TestRowsQueryLogEvents, self).setUp()
1009
- self.execute("SET global binlog_rows_query_log_events=1")
+ self.execute("SET SESSION binlog_rows_query_log_events=1")
1010
1011
def tearDown(self):
1012
+ self.execute("SET SESSION binlog_rows_query_log_events=0")
1013
super(TestRowsQueryLogEvents, self).tearDown()
- self.execute("SET global binlog_rows_query_log_events=0")
1014
1015
def test_rows_query_log_event(self):
1016
self.stream.close()
0 commit comments