Close all databases - CRASH

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Mon Oct 14 07:09:40 CDT 2013


On 10/14/13 2:52 PM, "Mark Schonewille" <m.schonewille at economy-x-talk.com>
wrote:

Hi Mark,

> Ruslan,
> 
> If I use vDatabase_SqlQuery() followed by VCursor_GetRecords(), LiveCode
> crashes consistently.

1)

But how you do this?

VCursor_GetRecords() need cursorRef

You can get it only from vDatabase_SqlSelect()

But not from SQLQuery(), which returns QueryResult
    -- a very different thing.



2) during development, to avoid often crashes, on such mistakes,
It is a good idea to use

    Valentina_DebugLevel

Feature. 

It prevent from crashes, thanks to special checks.
And you will see in V4REV_LOG file yet messages,
That you have provide wrong cursorRef



-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list