From: jake%acutex.net <> Date: Fri, 17 Aug 2001 19:42:34 +0000 (+0000) Subject: Fix for bug 95731: "INSERT INTO shadowlog" failed because "Table 'shadowlog' not... X-Git-Tag: bugzilla-2.14~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9839ebfefb8410fc1780829578f406c17e9491d5;p=thirdparty%2Fbugzilla.git Fix for bug 95731: "INSERT INTO shadowlog" failed because "Table 'shadowlog' not locked", fixed typo in lock tables command. Patch by Myk Melez r= jake@acutex.net --- diff --git a/token.cgi b/token.cgi index 145f7d6f80..2fed15ad08 100755 --- a/token.cgi +++ b/token.cgi @@ -218,7 +218,7 @@ sub changePassword { # Update the user's password in the profiles table and delete the token # from the tokens table. - SendSQL("LOCK TABLE profiles WRITE , tokens WRITE"); + SendSQL("LOCK TABLES profiles WRITE , tokens WRITE"); SendSQL("UPDATE profiles SET cryptpassword = $quotedpassword WHERE userid = $userid");