[Openaaq-discuss] bug in /a/editstaff.pl
Status: Beta
Brought to you by:
a-non-mouse
From: Alex P. <ap...@te...> - 2004-06-03 00:59:41
|
I just attempted to add a staff member and found a bug in /a/editstaff.pl at line 286. There was a call to a depreciated method of finding out what an automatically inserted key field value was. The line should read: $staff_key = $vr_dbh->{"mysql_insertid"} ; The old function was $dbh->func("_InsertID"). This is completely wrong for MySQL version 3.23.56, which my test setup is running, and caused warning messages in some older versions. Alex ................... alex polkovsky ap...@te... "...the facts in Iraq have an anti-Bush agenda..." The Daily Show |