this post was submitted on 08 Nov 2025
159 points (97.6% liked)

Programmer Humor

33118 readers
173 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] msage@programming.dev 3 points 10 months ago (1 children)

I mean if you select without FOR UPDATE, you're asking for trouble.

[โ€“] tatterdemalion@programming.dev 4 points 10 months ago

Sqlite does not have a SELECT ... FOR UPDATE feature. The alternative is BEGIN IMMEDIATE.