From: Charles C. <ch...@ru...> - 2005-01-24 10:23:31
|
Whenever there is a real MySQL database error (most frequently when there is an attempt to add a row with a duplicate key into the session table), I also get warnings about references to an undefined variable "_lock_count". I could not find the real cause but moving the line $this->_lock_count = 0; from the bottom (line 99 or so) of WikiDB_backend_PearDB->WikiDB_backend_PearDB() to the top (line 14) fixed it for me. regards, Charles |