[Phplib-trackers] [ phplib-Bugs-445393 ] error handling problem in db_mysql.inc
Brought to you by:
nhruby,
richardarcher
|
From: <no...@so...> - 2001-08-12 09:23:06
|
Bugs item #445393, was opened at 2001-07-27 18:36 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=445393&group_id=31885 Category: None Group: None Status: Open Resolution: None Priority: 1 Submitted By: Chris Johnson (chaska) Assigned to: Nobody/Anonymous (nobody) Summary: error handling problem in db_mysql.inc Initial Comment: db_mysql.inc -- lock() has the following error handling code: if (!$res) { $this->halt("lock($table, $mode) failed."); return 0; } This doesn't work well when $table is an array. ---------------------------------------------------------------------- >Comment By: Richard Archer (richardarcher) Date: 2001-08-12 02:23 Message: Logged In: YES user_id=279311 Perhaps the best way to approach this problem would be to change the error handling to: $this->halt("lock() failed."); This is the same behaviour as the following function unlock(). ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=445393&group_id=31885 |