@@ -610,13 +610,14 @@ def test_numeric_types_and_limits():
610610 test3 TINYINT,
611611 test4 TINYINT UNSIGNED,
612612 test5 MEDIUMINT UNSIGNED,
613+ test6 INT UNSIGNED,
613614 PRIMARY KEY (id)
614615);
615616 ''' )
616617
617618 mysql .execute (
618- f"INSERT INTO { TEST_TABLE_NAME } (name, test1, test2, test3, test4, test5) VALUES "
619- f"('Ivan', -20000, 50000, -30, 100, 16777200);" ,
619+ f"INSERT INTO { TEST_TABLE_NAME } (name, test1, test2, test3, test4, test5, test6 ) VALUES "
620+ f"('Ivan', -20000, 50000, -30, 100, 16777200, 4294967290 );" ,
620621 commit = True ,
621622 )
622623
@@ -633,11 +634,13 @@ def test_numeric_types_and_limits():
633634 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME )) == 1 )
634635
635636 mysql .execute (
636- f"INSERT INTO { TEST_TABLE_NAME } (name, test1, test2, test3, test4, test5) VALUES "
637- f"('Peter', -10000, 60000, -120, 250, 16777200);" ,
637+ f"INSERT INTO { TEST_TABLE_NAME } (name, test1, test2, test3, test4, test5, test6 ) VALUES "
638+ f"('Peter', -10000, 60000, -120, 250, 16777200, 4294967280 );" ,
638639 commit = True ,
639640 )
640641 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME )) == 2 )
641642 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test2=60000' )) == 1 )
642643 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test4=250' )) == 1 )
643644 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test5=16777200' )) == 2 )
645+ assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test6=4294967290' )) == 1 )
646+ assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test6=4294967280' )) == 1 )
0 commit comments