Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f96cb44

Browse filesBrowse files
brianv0methane
authored andcommitted
Add NEWDECIMAL to the NUMBER DBAPISet (PyMySQL#167)
1 parent bb07f70 commit f96cb44
Copy full SHA for f96cb44

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎MySQLdb/__init__.py

Copy file name to clipboardExpand all lines: MySQLdb/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __eq__(self, other):
5454
FIELD_TYPE.MEDIUM_BLOB, FIELD_TYPE.TINY_BLOB])
5555
NUMBER = DBAPISet([FIELD_TYPE.DECIMAL, FIELD_TYPE.DOUBLE, FIELD_TYPE.FLOAT,
5656
FIELD_TYPE.INT24, FIELD_TYPE.LONG, FIELD_TYPE.LONGLONG,
57-
FIELD_TYPE.TINY, FIELD_TYPE.YEAR])
57+
FIELD_TYPE.TINY, FIELD_TYPE.YEAR, FIELD_TYPE.NEWDECIMAL])
5858
DATE = DBAPISet([FIELD_TYPE.DATE, FIELD_TYPE.NEWDATE])
5959
TIME = DBAPISet([FIELD_TYPE.TIME])
6060
TIMESTAMP = DBAPISet([FIELD_TYPE.TIMESTAMP, FIELD_TYPE.DATETIME])

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.