this post was submitted on 08 Nov 2025
149 points (97.5% liked)

Programmer Humor

27428 readers
1936 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] msage@programming.dev 3 points 1 week ago (1 children)

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

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