17 lines
323 B
JavaScript
17 lines
323 B
JavaScript
|
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;
|
||
|
});
|
||
|
|
||
|
connection.end();
|
||
|
|
||
|
process.on('exit', function() {
|
||
|
assert.deepEqual(rows, [{'': ''}]);
|
||
|
});
|