Merged SQL-fixes from Tollef.
[pr0n] / sql /
drwxr-xr-x   ..
-rw-r--r-- 2527 pr0n.sql