[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3053: gb.db2 does not write inserted record to sqlite3 database file


http://gambaswiki.org/bugtracker/edit?object=BUG.3053&from=L21haW4-

Comment #2 by Benoît MINISINI:

It's because you cannot use a database file located inside the project directory.

Files in the project directory are considered read-only, as they will be put inside the executable.

So when you open the connection, 'gb.db2.sqlite3' detects that case, and makes a copy of the database in the '/tmp'
directory.

I think this feature will be removed, as it confuses the user. Instead an explicit error message should be displayed.

In 'gb.db.sqlite', the database will be opened normally, but as soon as you make an executable, it won't work anymore.


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----