alexeyr / erlang-sqlite3

Sqlite gen_server port for Erlang. Creates, reads and writes to sqlite database.
Other
90 stars 33 forks source link

make write_many nestable via SAVEPOINT instead of BEGIN/COMMIT #16

Closed rflynn closed 11 years ago

rflynn commented 11 years ago

unfortunately BEGIN...COMMIT isn't nestable in sqlite3, but SAVEPOINTS are: http://www.sqlite.org/lang_savepoint.html

ran into this using write_many while already inside BEGIN...COMMIT. I could rewrite my app but it's simpler to make this lib nestable.