2014-10-23 10:52:21 -04:00
|
|
|
var common = require('../../common');
|
|
|
|
var connection = common.createConnection();
|
|
|
|
var assert = require('assert');
|
|
|
|
|
|
|
|
var rows;
|
|
|
|
connection.query('SELECT ""', function(err, _rows) {
|
|
|
|
if (err) throw err;
|
|
|
|
|
|
|
|
rows = _rows;
|
2015-01-28 15:33:44 -05:00
|
|
|
connection.end();
|
2014-10-23 10:52:21 -04:00
|
|
|
});
|
|
|
|
|
|
|
|
process.on('exit', function() {
|
|
|
|
assert.deepEqual(rows, [{'': ''}]);
|
|
|
|
});
|