In the CVS version that has been fixed
oss2:nscp 1> ns_db lalala
bad option "lalala": must be pools, bouncepool, gethandle, exception,
poolname, password, user, datasource, disconnect, dbtype, driver,
cancel, bindrow, flush, releasehandle, resethandle, connected, sp_exec,
sp_getparams, sp_returncode, getrow, dml, 1row, 0or1row, exec, select,
sp_start, interpretsqlfile, verbose, setexception, or sp_setparam
oss2:nscp 2> ns_db open
bad option "open": must be pools, bouncepool, gethandle, exception,
poolname, password, user, datasource, disconnect, dbtype, driver,
cancel, bindrow, flush, releasehandle, resethandle, connected, sp_exec,
sp_getparams, sp_returncode, getrow, dml, 1row, 0or1row, exec, select,
sp_start, interpretsqlfile, verbose, setexception, or sp_setparam
Bernd Eidenschink wrote:
Hi,
(1)
Currently "ns_db" seems to throw the "Unknown command 'xy': should be..."
error message only when given also a database handle.
Example:
% ns_db lalala
wrong # args: should be "ns_db lalala dbId ?args?"
% ns_db gethandle
nsdb0
% ns_db lalala nsdb0
ns_db: Unknown command "lalala": should be 0or1row, 1row ...
Does this qualify as a bug? If so, I'll file a report.
(2)
There is also the special handling of "open" and "close":
% ns_db open
unsupported ns_db command: open
% ns_db close
unsupported ns_db command: close
Is this testing still needed?
Bernd.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel
--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/