-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ian Smith wrote:
[snip]
INSERT INTO `kahlua_text` (old_id,old_text,old_flags)
VALUES (NULL,'Hi,
I\'m Ian Smith...','utf-8')
from within function "Revision::insertOn". MySQL returned error
"1364: Field 'old_comment' doesn't have a default value
(localhost)".
Sounds like your new system has MySQL 5's "strict mode" on, so it's
enforcing warnings as errors.
You can either disable that in your my.cnf/my.ini, or trim up the text
table to just the fields used in the modern version. An ALTER TABLE to
drop the extra columns should be pretty straightforward.
- -- brion vibber (brion @
pobox.com / brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFF3yMfwRnhpk1wk44RAoqwAJwKXYgfPOoU6sE8C3NKXjAb8KRlHgCeJgtb
lu5UFiDtcjKndYziYPLL/UI=
=YLPA
-----END PGP SIGNATURE-----