[VSDK] Crash with VDK_Cursor::ExecuteSQL

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Nov 28 11:41:52 CST 2003


on 11/28/03 9:45 AM, Eric Forget at forgete at cafederic.com wrote:

> Hi Ruslan,
> 
> The next line will crash.
> 
> cursor.ExecuteSQL("SELECT Table2.RecID FROM Table1, Table2");
> 
> If I replace with the next line it won¹t crash crash.
> 
> cursor.ExecuteSQL("SELECT Table2.RecID FROM Table2");
> 
> Originally I had something like: "SELECT DISTINCT Table2.RecID FROM Table1,
> Table2 ORDER BY Table2.Name". I've just tried to reduce it for your
> debugging.
> 
> Table2 is just 2 VDK_String:
> 
>   mName( "Name", 512 ),
>   mLowerName( "LowerName", 512, NULL, fIndexed | fUnique )
> 
> Table1 has a lot of fields, with 1 VDK_ObjectPtr pointing to Table2.
> 
> At that point, the database has just been created. The diagnose says "All
> right!"...
> 
> I didn't change a thing to the database structure. I just removed the
> database to create a new one. It really looks like an uninitialized
> variable...
> 
> Any idea?

Hi Eric,

Look to be a bug.

I will try debug it today later.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list