@@ -611,13 +611,14 @@ def test_numeric_types_and_limits():
611611 test4 TINYINT UNSIGNED,
612612 test5 MEDIUMINT UNSIGNED,
613613 test6 INT UNSIGNED,
614+ test7 BIGINT UNSIGNED,
614615 PRIMARY KEY (id)
615616);
616617 ''' )
617618
618619 mysql .execute (
619- f"INSERT INTO { TEST_TABLE_NAME } (name, test1, test2, test3, test4, test5, test6) VALUES "
620- f"('Ivan', -20000, 50000, -30, 100, 16777200, 4294967290);" ,
620+ f"INSERT INTO { TEST_TABLE_NAME } (name, test1, test2, test3, test4, test5, test6, test7 ) VALUES "
621+ f"('Ivan', -20000, 50000, -30, 100, 16777200, 4294967290, 18446744073709551586 );" ,
621622 commit = True ,
622623 )
623624
@@ -634,8 +635,8 @@ def test_numeric_types_and_limits():
634635 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME )) == 1 )
635636
636637 mysql .execute (
637- f"INSERT INTO { TEST_TABLE_NAME } (name, test1, test2, test3, test4, test5, test6) VALUES "
638- f"('Peter', -10000, 60000, -120, 250, 16777200, 4294967280);" ,
638+ f"INSERT INTO { TEST_TABLE_NAME } (name, test1, test2, test3, test4, test5, test6, test7 ) VALUES "
639+ f"('Peter', -10000, 60000, -120, 250, 16777200, 4294967280, 18446744073709551586 );" ,
639640 commit = True ,
640641 )
641642 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME )) == 2 )
@@ -644,3 +645,4 @@ def test_numeric_types_and_limits():
644645 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test5=16777200' )) == 2 )
645646 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test6=4294967290' )) == 1 )
646647 assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test6=4294967280' )) == 1 )
648+ assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test7=18446744073709551586' )) == 2 )
0 commit comments