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):
679
679
assert had_error
680
680
681
681
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"}]'
683
683
self .stream .close ()
684
684
self .execute ("CREATE TABLE test (id INTEGER(11), data VARCHAR(50))" )
685
685
self .execute ("INSERT INTO test VALUES (1, 'A value')" )
686
686
self .execute ("COMMIT" )
687
687
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 } ' )" )
689
689
self .execute ("COMMIT" )
690
690
691
691
self .stream = BinLogStreamReader (
You can’t perform that action at this time.
0 commit comments