@@ -611,13 +611,14 @@ def test_numeric_types_and_limits():
611
611
test4 TINYINT UNSIGNED,
612
612
test5 MEDIUMINT UNSIGNED,
613
613
test6 INT UNSIGNED,
614
+ test7 BIGINT UNSIGNED,
614
615
PRIMARY KEY (id)
615
616
);
616
617
''' )
617
618
618
619
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 );" ,
621
622
commit = True ,
622
623
)
623
624
@@ -634,8 +635,8 @@ def test_numeric_types_and_limits():
634
635
assert_wait (lambda : len (ch .select (TEST_TABLE_NAME )) == 1 )
635
636
636
637
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 );" ,
639
640
commit = True ,
640
641
)
641
642
assert_wait (lambda : len (ch .select (TEST_TABLE_NAME )) == 2 )
@@ -644,3 +645,4 @@ def test_numeric_types_and_limits():
644
645
assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test5=16777200' )) == 2 )
645
646
assert_wait (lambda : len (ch .select (TEST_TABLE_NAME , 'test6=4294967290' )) == 1 )
646
647
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