Hello,
I am trying to implement a cache of one connection metadata
(databases, tables, columns, indexes).
It seems possible to automatically update the cache by using an authorizer.
But there is one problem with the SQLITE_ATTACH action:
#define SQLITE_ATTACH               24   /* Filename        NULL            */
#define SQLITE_DETACH               25   /* Database Name   NULL            */
Only the filename is available and is optional/not unique (for
":memory:" and "" temp database).
Would you mind adding the database name as the fourth argument of the
authorizer callback ?
Thanks and regards.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to