Hi all,

last sqlite 3220000 does not build with -DSQLITE_OMIT_AUTHORIZATION because

shell.c in sqlite3_expert_new use it.

I suggest the next patch to solve the problem.

Regards


diff --git a/shell.c b/shell.c
--- a/shell.c
+++ b/shell.c
@@ -7702,7 +7702,9 @@ sqlite3expert *sqlite3_expert_new(sqlite3 *db, char **pzErrmsg){

   /* Register the auth callback with dbv */
   if( rc==SQLITE_OK ){
+#ifndef SQLITE_OMIT_AUTHORIZATION
     sqlite3_set_authorizer(pNew->dbv, idxAuthCallback, (void*)pNew);
+#endif
   }



--

Powersoft logo <http://www.powersoft.it>

*Michele Dionisio |*Senior Embedded System Manager

*skype:*  m.dionisio *| email:* michele.dioni...@powersoft.com <mailto:michele.dioni...@powersoft.com>

*HQ Italy:* Via E. Conti, 5 *|* 50018 Scandicci (FI) Italy

*direct phone:*  +39 055 735 0230 *| Fax:*   +39 055 735 6235

*web site:* www.powersoft.it <http://www.powersoft.it>

Green Audio Power

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to