Hello Jan + Maintainers,

Here is my approach to the SQLITE_ENABLE_UPDATE_DELETE_LIMIT problem.  [If the 
attachment does not arrive intact, please let me know.]

It is different from Jan's in that it operates strictly on the Makefile level.  
The idea is simple:  When compiling parse.y with lemon, we do it twice - once 
with -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT and once without, obtaining two 
temporary C parser files.  Then, we diff the two files with the 
-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT option, producing a parse.c with 
SQLITE_ENABLE_UPDATE_DELETE_LIMIT if-defs.  This parse.c is then sucked into 
the amalgamation, and now one can use SQLITE_ENABLE_UPDATE_DELETE_LIMIT 
directly with the amalgamation, and without needing a full source compile.

Should you wish to integrate this patch, please provide the proper attribution 
:)

--Zem

From: Ziemowit Laski
Sent: Monday, 6 February 2017 12:38
To: 'jan.nijtm...@gmail.com'; 'sqlite-users@mailinglists.sqlite.org'
Subject: SQLITE_ENABLE_UPDATE_DELETE_LIMIT (Was: [sqlite] Patch Etiquette)

Hi Jan,

Thank you for the link.  I'll take a look.

--Zem

[P.S. It appears I cannot reply to the whole list directly from the 
https://www.mail-archive.com/sqlite-users webpage.  Is this because I'm not 
(yet) a members of the list?]
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to