Skip to content

Commit d31b186

Browse files
committed
Merge pull request #2 from Dinwy/iss1371
Fix mysqljs#1371 bigint error
2 parents bd1ce80 + 4273828 commit d31b186

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

test/common.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,8 @@ function mergeTestConfig(config) {
149149
host : process.env.MYSQL_HOST,
150150
port : process.env.MYSQL_PORT,
151151
user : process.env.MYSQL_USER,
152-
password : process.env.MYSQL_PASSWORD,
153-
supportBigNumbers: true
154-
}, config);
152+
password : process.env.MYSQL_PASSWORD
153+
}, config);
155154

156155
return config;
157156
}

test/integration/connection/test-query-bigint.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var common = require('../../common');
33

44
var table = 'bigint_test';
55

6-
common.getTestConnection(function (err, connection) {
6+
common.getTestConnection({supportBigNumbers: true}, function (err, connection) {
77
assert.ifError(err);
88

99
common.useTestDb(connection);

0 commit comments

Comments
 (0)