File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -679,13 +679,13 @@ def test_drop_table_tablemetadata_unavailable(self):
679679 assert had_error
680680
681681 def test_ignore_decode_errors (self ):
682- problematic_unicode_string = b'[{"type":"paragraph"," text":"\xed \xa0 \xbd \xed \xb1 \x8d Some string"}]'
682+ problematic_unicode_string = b'[{"text":"\xed \xa0 \xbd \xed \xb1 \x8d Some string"}]'
683683 self .stream .close ()
684684 self .execute ("CREATE TABLE test (id INTEGER(11), data VARCHAR(50))" )
685685 self .execute ("INSERT INTO test VALUES (1, 'A value')" )
686686 self .execute ("COMMIT" )
687687 self .execute ("ALTER TABLE test MODIFY COLUMN data VARCHAR(50) CHARACTER SET utf8mb4" )
688- self .execute (f"INSERT INTO test VALUES (2, { problematic_unicode_string } )" )
688+ self .execute (f"INSERT INTO test VALUES (2, ' { problematic_unicode_string } ' )" )
689689 self .execute ("COMMIT" )
690690
691691 self .stream = BinLogStreamReader (
You can’t perform that action at this time.
0 commit comments