I test the MBS SQL plugin but this code returns a recordset NIL:
dim cle As String="test"
dim demande as String="SELECT name FROM test WHERE user= :log AND trash=0"
dim v as Variant = p_session.db.Prepare(demande)
dim prepSql as SQLPreparedStatementMBS = v
prepSql.BindType("log", SQLPreparedStatementMBS.kTypeString)
prepSql.Bind("log", cle)
dim rs As RecordSet=prepSql.SQLSelect
Unfortunately, the web app also freezes the same way (during the timeout of the second writing try). Even using Xojo threads.
Unless I use the SQLexecuteMT methods of the MBS plugin. Then the application is not frozen for the duration of the timeout. Congratulations Christian! This are preemptive threads?
For the DIFERRED TRANSACTION problem (no timeout), is ok with MBS plugin!
All these operations will be launched in a single preemptive thread, or each operation will be launched in a different thread? In the latter case, SQLITE can not guarantee the atomicity of the transaction is not it?