When inserting multiple images at the same time, we could deadlock -- inserting
[pr0n] / sql /
drwxr-xr-x   ..
-rw-r--r-- 2174 pr0n.sql