On 20 Nov 2017, at 7:37pm, Jim Dossey wrote:
> sqlite3_prepare("SELECT * FROM table;");
> while (sqlite3_step() == SQLITE_ROW) {
> x = current_rowid();
> sqlite3_exec("UPDATE table SET value=1 WHERE rowid=x;");
> sleep(1);
> }
In SQLite, as in other SQL engines, all
says a
lot about anticipated traffic volume.
>-Original Message-
>From: sqlite-users [mailto:sqlite-users-
>boun...@mailinglists.sqlite.org] On Behalf Of Jim Dossey
>Sent: Monday, 20 November, 2017 12:37
>To: sqlite-users@mailinglists.sqlite.org
>Subject: [sqlite] WAL mode wi
Thanks to feedback from Simon Slavin, I now understand how data_version
works and have it working in my code. But in my testing, I tried
another situation to see what would happen with locking in WAL mode. I
have a process that does the following pseudo-code with a table:
3 matches
Mail list logo