]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 282570: Missing errors for DB compatibility layer
authormkanat%kerio.com <>
Fri, 18 Feb 2005 23:48:24 +0000 (23:48 +0000)
committermkanat%kerio.com <>
Fri, 18 Feb 2005 23:48:24 +0000 (23:48 +0000)
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=justdave

template/en/default/global/code-error.html.tmpl

index 5026d8314eda2b2c785e2551f25b2809958745a5..3a2a9606e1e969a062210df50e9973d8ccfbdb54 100644 (file)
        I could not figure out what you wanted to do.
     [% END %]
 
+  [% ELSIF error == "nested_transaction" %]
+    Attempted to start a new transaction without finishing previous one first.
+
+  [% ELSIF error == "not_in_transaction" %]
+    Attempted to end transaction without starting one first.
+
+  [% ELSIF error == "already_locked" %]
+    Attempted to lock a table without releasing previous lock first.
+
+  [% ELSIF error == "no_matching_lock" %]
+    Attempted to unlock tables without locking them first.
+
   [% ELSE %]
     [% title = "Internal error" %]
     An internal error has occured, but [% terms.Bugzilla %] doesn't know