Permalink
Browse files

[fix] Changed require('util') to require('util') for compatibility wi…

…th node v0.8
  • Loading branch information...
1 parent 2ebc4ea commit c0a43e8ed595966dbdc7d066c0ceda26e7065349 @blakmatrix blakmatrix committed Jun 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -6,15 +6,15 @@ node-odbc - An asynchronous Node interface to unixodbc and its supported drivers
SYNOPSIS
--------
- var sys = require("sys");
+ var util = require('util');
var odbc = require("odbc");
var db = new odbc.Database();
db.open("DRIVER={FreeTDS};SERVER=host;UID=user;PWD=password;DATABASE=dbname", function(err)
{
db.query("select * from table", function(err, rows, moreResultSets)
{
- sys.debug(sys.inspect(rows));
+ util.debug(util.inspect(rows));
db.close(function(){});
});
});

0 comments on commit c0a43e8

Please sign in to comment.