Close all databases - CRASH
william humphrey
bill at bluewatermaritime.com
Mon Oct 14 07:15:14 CDT 2013
He did this:
*put vDatabase_SqlQuery(myDatabase,"SHOW DATABASES") into myCursor*
*
*
*Which would be correct.*
*
*
*I am noticing looking at my code that I never use SqlQuery and I think it
was because I used to get crashes with it also years ago.*
On Mon, Oct 14, 2013 at 8:09 AM, Ruslan Zasukhin <
ruslan_zasukhin at valentina-db.com> wrote:
> 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]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
--
http://www.bluewatermaritime.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20131014/4d22838d/attachment.html>
More information about the Valentina
mailing list