Hard crash with new beta

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Mon Dec 13 09:40:34 CST 2010


On 12/12/10 9:15 AM, "Beatrix Willius" <bwillius at gmx.de> wrote:

Hi Beatrix,
 
> now this is odd. I downloaded the latest beta again, but it made no
> difference. I have restructured the code a bit and now I DON'T get a crash
> 
>   if theCursor = nil then
>     if theDatabase.Size = 0 then break 'for testing
>     theCursor = theDatabase.SqlSelect("select RecID, * from message" ,
> EVCursorLocation.kServerSide, EVLockType.kNoLocks, EVCursorDirection.kRandom)
>   end if
> 
> (This resets the existing cursor instead of creating a new one.)
> 
> Sometimes I see that the database has size 0, sometimes it has the normal
> size. The debugger now shows me size, last rec id etc as normal. But
> theCursor.RecordCount gives me 0.
> 
> Can a cursor loose the connection to it's database? Trying the original code
> today doesn't crash and gives the correct result.
> 
> Sigh... I need to harass some other bugs today.

Can I ask you try to run some example of V4RB ?
And let me know if our examples works on your side.

Check first of all  Examples/Sql_way


-- 
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