Re: updating before insert
Ed Pasma <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, here is just a side remark to one paragraph. > The other problem where I test first (select)I > should also grab exclusive lock. Then around all other queries I > should place a > shared lock. The other queries do not need a shared lock around them. It is taken implicitly. So they automatically wait until the exclusive lock is released, or until the timeout is expired. Ed.