Readonly databases

Thomas Flemming tf at ttqv.com
Mon May 31 11:57:39 CDT 2010


Hi,

I just realized, that vdb is behaving very strange, wenn the 
readonly-attribute is set on the vdb-file.

A simple sql-select like cur=vdb.sqlselect("select * from tbl1 order by f1") 
is just returning an empty cursor. No error.

How is this possible? When I remove the readonly-attribute it works fine again 
and my select returns the expected data.

Does Valentina always needs write-acces to the database?

Tom



-- 
/****************************************
**   Dipl.-Ing. Thomas Flemming
**   Software Development
**
**   Touratech AG
**   Auf dem Zimmermann 7-9
**   D-78078 Niedereschach
**
**   mail  tf at ttqv.com
**   fon   +49 (0) 7728 9279-206
**   fax   +49 (0) 7728 9279-29
**
**   http://www.ttqv.com
**   http://www.touratech.de
**
**   ... und immer dem Pfeil nach!
***************************************/


More information about the Valentina mailing list