Page 1 of 1

Relative paths don't work in LC8, for SQLite?

Posted: Wed Apr 06, 2016 2:44 pm
by AxWald
Hi,

to save you the time I've lost: :evil:

It seems that LC8 doesn't support relative paths anymore when connecting to a SQLite db.
It gives you a proper looking connectionID at "revopendatabase", but any subsequent calls to "revdatafromquery" or "revdb_execute" will fail with "no such table ..."
- obviously the connectionID delivered is a fake.

Save yourself the time & use absolute paths now! Try yourself with the attached stack! Tested on Win & Linux.

Have fun!

Re: Relative paths don't work in LC8, for SQLite?

Posted: Wed Apr 06, 2016 4:35 pm
by jacque
If it used to work and now it doesn't, it's a bug. Please enter a bug report and include the sample stack.

Re: Relative paths don't work in LC8, for SQLite?

Posted: Wed Apr 06, 2016 4:54 pm
by AxWald
Hi,

done. Bug report

Edit: The ReadMe in the attachment is wrong. Replace Win 7 with Win 10 ;-)

Have fun!