[fdo-internals] SQLite provider issues

Haris Kurtagic haris at sl-king.com
Wed Jul 28 09:24:49 EDT 2010


Hi,

FDO Sqlite provider has changed in revision 4823 ( from 3.4 to 3.5 )
regarding views in sqlite.

I think it introduced two issues:

1. Provider will mark fdo class generated from view as computed
"SetIsComputed(true)" which is wrong by fdo definition of computed
class.

2. SupportsWrite is set to false - which is wrong. SQlite suports
write to views when they have "instead of" trigger


Also there is yet another problem of understanding what SupporsWrite
means in FDO.
Is it just informative or will enforce it.
Right now, sqlite provider will pass trough update commands to sqlite
even if provider marked some class as "doesn't support write".
I think if class is marked as non-writable by provider shouldn't send
update commands to underlaying storage.

Haris


More information about the fdo-internals mailing list