Closed fdcastel closed 7 months ago
Trying to pass datetime.date(1727, 4, 1) as a SQL DATE parameter causes this line of Cursor._pack_input() to raise a OverflowError("can't convert negative int to unsigned")
datetime.date(1727, 4, 1)
DATE
Cursor._pack_input()
OverflowError("can't convert negative int to unsigned")
_util.encode_date(value) returns -48077 in this case.
_util.encode_date(value)
-48077
Trying to pass
datetime.date(1727, 4, 1)
as a SQLDATE
parameter causes this line ofCursor._pack_input()
to raise aOverflowError("can't convert negative int to unsigned")
_util.encode_date(value)
returns-48077
in this case.