Untitled diff

Created Diff never expires
2 removals
9 lines
2 additions
9 lines
}
}
try{
try{
//db.debug(true);
//db.debug(true);
db.init(function(){
db.init(function(){
db.serverMode(true);
//db.serverMode(true);
db.setEnvAttr(db.SQL_ATTR_INCLUDE_NULL_IN_LEN, db.SQL_FALSE);
//db.setEnvAttr(db.SQL_ATTR_INCLUDE_NULL_IN_LEN, db.SQL_FALSE);
});
});
if(xuser && xuser.length > 0 && xpassword && xpassword.length > 0)
if(xuser && xuser.length > 0 && xpassword && xpassword.length > 0)
db.conn(xdatabase, xuser, xpassword, function(){
db.conn(xdatabase, xuser, xpassword, function(){