Fixed exceptions on attempts to serialize DatabaseSqlite. Encountered today by Nike...
authorMax Semenik <maxsem@users.mediawiki.org>
Thu, 29 Jul 2010 18:17:11 +0000 (18:17 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Thu, 29 Jul 2010 18:17:11 +0000 (18:17 +0000)
commit44247c19c68a2d3539e1aa31d82e411ce3117660
tree5180ccf8eb62a7f30e7a6dffef7f9efd111f41a5
parentf8d6f560fb36feb4f537daa0dc3701a6336dbcab
Fixed exceptions on attempts to serialize DatabaseSqlite. Encountered today by Nike, earlier seen during unit tests. Not implementing __wakeup() because restoring a connection along with its full state would just cause obscure bugs. If null mConn will cause problems (unlikely, because most instances of db object serialization are accidental and the connection is not supposed to be used after deserialization), we'll tweak specific classes that store database objects.
includes/db/DatabaseSqlite.php