Close-open database with RealStudio class way

Francois Van Lerberghe fvanlerberghe at freegates.be
Tue Apr 24 11:37:06 CDT 2012


Yes I must report that as soon as I can point exactly where the bug is.

I'm fighting with a crash related to the LOCATE() function. As I've said
before, the crash occur when I
1) close the database
2) instantiate again the "myDatabase" class
3) open again the database
4) try to add a record to a table having a method field using the LOCATE()
function.

If I comment the step 3), using the object instantiated at the beginning,
the crash doesn't occur.
If I don't use the LOCATE() function in the constructor of the table class,
the crash doesn't occur.

Since, when I try to reproduce this in simple project, it doesn't crash,
there is certainly other steps before that I've not found yet.

François Van Lerberghe
Rue Thier Monty, 15 A
4570 Marchin
Belgique


le 24/04/12 9:44, Ruslan Zasukhin <ruslan_zasukhin at valentina-db.com> a
écrit :

> If the first have some problems for you,
> Please mantis that ,,,



More information about the Valentina mailing list