From c720bf60573fdb92874056ffd07c3d6055df22af Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Fri, 18 Feb 2005 23:48:24 +0000 Subject: Bug 282570: Missing errors for DB compatibility layer Patch By Tomas Kopal r=mkanat, a=justdave --- template/en/default/global/code-error.html.tmpl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'template/en') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 5026d8314..3a2a9606e 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -235,6 +235,18 @@ 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 -- cgit v1.2.3-24-g4f1b