On Fri, Oct 19, 2012 at 9:59 AM, Staffan Tylen <staffan.ty...@gmail.com>wrote:
> Currently testing the function interface to ooSQLite and found that the
> last oosqlexec call in the following program causes the ooRexx environment
> to terminate:
>
> TRACE R
> say oosqlopen("test.db", "db")
> say oosqlexec(db, "CREATE TABLE TBL1 (A,B);")
> say oosqlexec(db, "INSERT INTO TBL1 VALUES('A1','B1');")
> say oosqlexec(db, "INSERT INTO TBL1 VALUES('A2','B2');")
> say oosqlexec(db, "INSERT INTO TBL1 VALUES(1,11);")
> say oosqlexec(db, "INSERT INTO TBL1 VALUES(2,22);")
> say oosqlclose(db)
>
> say oosqlopen("test.db", "db")
> say oosqlexec(db, "SELECT * FROM TBL1;")
> data = oosqlexec(db, "SELECT * FROM TBL1;", .TRUE,
> .OOSQLITE~OO_ARRAY_OF_DIRECTORIES)
> say oosqlclose(db)
>
> ::requires "oosqlite.cls"
>
> Looks like a bug to me.
Looks like a bug to me also. I have a counting error in the implementation
code there. I'm counting the argument positions incorrectly.
I'm currently out of town. Would you open up a bug for this so that it
doesn't get forgotten. Thanks.
--
Mark Miesfeld
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users