summaryrefslogtreecommitdiffstats
path: root/token.cgi
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-08-17 21:42:34 +0200
committerjake%acutex.net <>2001-08-17 21:42:34 +0200
commit9839ebfefb8410fc1780829578f406c17e9491d5 (patch)
tree90a04fdc76dc940c74a86026000776cac015a8c4 /token.cgi
parent10bb38466248d862c135be1ca2a995031f600c20 (diff)
downloadbugzilla-9839ebfefb8410fc1780829578f406c17e9491d5.tar.gz
bugzilla-9839ebfefb8410fc1780829578f406c17e9491d5.tar.xz
Fix for bug 95731: "INSERT INTO shadowlog" failed because "Table 'shadowlog' not locked", fixed typo in lock tables command.
Patch by Myk Melez <myk@mozilla.org> r= jake@acutex.net
Diffstat (limited to 'token.cgi')
-rwxr-xr-xtoken.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.cgi b/token.cgi
index 145f7d6f8..2fed15ad0 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");