This repository was archived by the owner on May 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ class MySQL(ThreadedDatabase):
2020 "float" : Float ,
2121 "decimal" : Decimal ,
2222 "int" : Integer ,
23+ "bigint" : Integer ,
2324 }
2425 ROUNDS_ON_PREC_LOSS = True
2526
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ def __next__(self) -> float:
170170 "int" : [
171171 # "smallint", # 2 bytes
172172 "int" , # 4 bytes
173- # "bigint", # 8 bytes
173+ "bigint" , # 8 bytes
174174 ],
175175 # https://www.postgresql.org/docs/current/datatype-datetime.html
176176 "datetime_no_timezone" : [
@@ -193,7 +193,7 @@ def __next__(self) -> float:
193193 # "smallint", # 2 bytes
194194 # "mediumint", # 3 bytes
195195 "int" , # 4 bytes
196- # "bigint", # 8 bytes
196+ "bigint" , # 8 bytes
197197 ],
198198 # https://dev.mysql.com/doc/refman/8.0/en/datetime.html
199199 "datetime_no_timezone" : [
@@ -228,8 +228,8 @@ def __next__(self) -> float:
228228 "int" : [
229229 # all 38 digits with 0 precision, don't need to test all
230230 "int" ,
231- # "integer",
232- # "bigint",
231+ "integer" ,
232+ "bigint" ,
233233 # "smallint",
234234 # "tinyint",
235235 # "byteint"
@@ -281,7 +281,7 @@ def __next__(self) -> float:
281281 # "smallint", # 2 bytes
282282 # "mediumint", # 3 bytes
283283 "int" , # 4 bytes
284- # "bigint", # 8 bytes
284+ "bigint" , # 8 bytes
285285 ],
286286 "datetime_no_timezone" : [
287287 "timestamp" ,
You can’t perform that action at this time.
0 commit comments