amitkr / nodejs-db-informix

Infomix bindings for nodejs
MIT License
3 stars 3 forks source link

query returns 0 instead of database name from sysdatabases #2

Closed amitkr closed 11 years ago

amitkr commented 12 years ago
[amitkr@psyche]:nodejs-db-informix$ nodejs tests/tests.js
Connection ready to
{ version: '0.0.1',
  hostname: '',
  user: '',
  database: 'sysmaster' }
Connected to db with
{ host: '', user: '', password: '', database: 'sysmaster' }
isConnected() == true
START:
SELECT * FROM sysdatabases ORDER BY name
CALLBACK:
{ '0': null,
  '1':
   [ { name: 0,
       partnum: 2099264,
       owner: 0,
       created: Sat, 29 Nov 8 23:55:08 GMT,
       is_logging: 1,
       is_buff_log: 1,
       is_ansi: 0,
       is_nls: 0,
       flags: -12285 },
     { name: 0,