]> git.sesse.net Git - pr0n/commit
Remove some really long-standing silliness: If we have no idea about width
authorSteinar H. Gunderson <sesse@debian.org>
Tue, 21 Aug 2007 04:28:51 +0000 (06:28 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Tue, 21 Aug 2007 04:28:51 +0000 (06:28 +0200)
commit82b2e541984df6f697a5a73f2faaa99e40dfc832
tree314eb74fbe6279af72dd9345c45d7fa7434015a3
parenta58f1ab4dd5b224b12ed78096b6867f47c316231
Remove some really long-standing silliness: If we have no idea about width
or height, we used to have -1 as a default, and have the field NOT NULL.
SQL has a perfectly good value for "unknown data" -- it's called NULL. Make
upgrade SQL, and clean up the few code places that was used to the field being
-1.
perl/Sesse/pr0n/Common.pm
perl/Sesse/pr0n/Index.pm
sql/upgrade-v2.50.sql