Skip to content

Commit 7325be4

Browse files
committed
use common.createConnection
1 parent dab611b commit 7325be4

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

test/integration/connection/test-binary-longlong.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
var assert = require('assert');
22

33
var FieldFlags = require('../../../lib/constants/field_flags.js');
4-
//var common = require('../../common');
5-
var mysql = require('../../../index.js')
6-
//var conn = common.createConnection();
7-
var conn = mysql.createConnection({
8-
password: 'mycause',
9-
user: 'mycause_dev',
10-
//supportBigNumbers: true,
11-
//bigNumberStrings: true,
12-
database: 'test',
13-
//debug: 1
14-
});
4+
var common = require('../../common');
5+
var conn = common.createConnection();
156

167
conn.query('CREATE TEMPORARY TABLE `tmp_longlong` ( ' +
178
' `id` int(11) NOT NULL AUTO_INCREMENT, ' +

0 commit comments

Comments
 (0)