Skip to content

Commit 50c84d2

Browse files
Fix test
1 parent 4358583 commit 50c84d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pymysqlreplication/tests/test_basic.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ def test_fetch_column_names_from_schema(self):
318318

319319
# Reset and replay events
320320
self.resetBinLog()
321-
self.execute("SET SESSION binlog_row_metadata = 'MINIMAL'")
321+
if self.isMySQL80AndMore():
322+
self.execute("SET SESSION binlog_row_metadata = 'MINIMAL'")
322323
self.execute("INSERT INTO test_column_cache (data) VALUES('World')")
323324
self.execute("COMMIT")
324325

0 commit comments

Comments
 (0)