Skip to content

Commit b355938

Browse files
committed
define LONGLONG(64 bits) as BIGINT to the node-db layer above
1 parent f1275ab commit b355938

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/result.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ node_db_mysql::Result::Column::Column(const MYSQL_FIELD& column) {
1414
case MYSQL_TYPE_YEAR:
1515
case MYSQL_TYPE_INT24:
1616
case MYSQL_TYPE_LONG:
17-
case MYSQL_TYPE_LONGLONG:
1817
this->type = INT;
1918
break;
19+
case MYSQL_TYPE_LONGLONG:
20+
this->type = BIGINT;
21+
break;
2022
case MYSQL_TYPE_FLOAT:
2123
case MYSQL_TYPE_DOUBLE:
2224
case MYSQL_TYPE_DECIMAL:

0 commit comments

Comments
 (0)