@@ -609,12 +609,14 @@ def test_numeric_types_and_limits():
609609 test2 smallint unsigned,
610610 test3 TINYINT,
611611 test4 TINYINT UNSIGNED,
612+ test5 MEDIUMINT UNSIGNED,
612613 PRIMARY KEY (id)
613614);
614615 ''' )
615616
616617 mysql .execute (
617- f"INSERT INTO { TEST_TABLE_NAME } (name, test1, test2, test3, test4) VALUES ('Ivan', -20000, 50000, -30, 100);" ,
618+ f"INSERT INTO { TEST_TABLE_NAME } (name, test1, test2, test3, test4, test5) VALUES "
619+ f"('Ivan', -20000, 50000, -30, 100, 16777200);" ,
618620 commit = True ,
619621 )
620622
@@ -631,10 +633,11 @@ def test_numeric_types_and_limits():
631633 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME )) == 1 )
632634
633635 mysql .execute (
634- f"INSERT INTO { TEST_TABLE_NAME } (name, test1, test2, test3, test4) VALUES ('Peter', -10000, 60000, -120, 250);" ,
636+ f"INSERT INTO { TEST_TABLE_NAME } (name, test1, test2, test3, test4, test5) VALUES "
637+ f"('Peter', -10000, 60000, -120, 250, 16777200);" ,
635638 commit = True ,
636639 )
637640 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME )) == 2 )
638641 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test2=60000' )) == 1 )
639-
640642 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test4=250' )) == 1 )
643+ assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test5=16777200' )) == 2 )
0 commit comments