-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/27/2010 11:36 AM, Alexey Pechnikov wrote: > I did write pragmawrapper extension
I had also considered doing one. The approach I would have taken is using virtual tables where you could supply the pragma statement as the first parameter to the table. The difficulty is in knowing what column names should be returned as I really don't want to hard code them. I note you ended up hard coding column names and "polluting" both the temporary database and function list :-) I'd be a little nervous about using SQLITE_STATIC instead of SQLITE_TRANSIENT. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxPNpYACgkQmOOfHg372QTLPACgxIszUgLbLPx7/lhMKrr9lMiM QQEAn2AlPxXtYs0+Yk2NX7xRrA/8iedx =lRW6 -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

