Hi Stephen, in contrary to the documentation, dbi_dml does not return the number of rows affected by the query. Typically the dbi_* tcl commands are implemented via Exec() followed by a retrieving cmd, like in
dbi_1row does an Exec() + NextRow() dbi_rows does an Exec() + many NextRow(), etc. but dbi_dml does the Exec() and nothing after that to retrieve the result (which is in pg: PQcmdTuples(res)). What is your suggestion to fix this? - extend the record of Dbi_DriverProc? (new function) - mangle NextRow() to return the result in the dml case - extend the Dbi_Handle structure such that Exec() can return this value directly? others? -gustaf ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel