Bugzilla – Attachment 28117 Details for
Bug 12214
SQL errors in reports are not shown to user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12214: (follow-up) correct POD of C4::Reports::Guided::execute_query()
Bug-12214-follow-up-correct-POD-of-C4ReportsGuided.patch (text/plain), 1.02 KB, created by
Galen Charlton
on 2014-05-08 16:13:35 UTC
(
hide
)
Description:
Bug 12214: (follow-up) correct POD of C4::Reports::Guided::execute_query()
Filename:
MIME Type:
Creator:
Galen Charlton
Created:
2014-05-08 16:13:35 UTC
Size:
1.02 KB
patch
obsolete
>From 57b5ac328650dbd5f8980848041c3d7c90a5cd18 Mon Sep 17 00:00:00 2001 >From: Galen Charlton <gmc@esilibrary.com> >Date: Thu, 8 May 2014 16:12:32 +0000 >Subject: [PATCH] Bug 12214: (follow-up) correct POD of > C4::Reports::Guided::execute_query() > >Signed-off-by: Galen Charlton <gmc@esilibrary.com> >--- > C4/Reports/Guided.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm >index 4b0ab6f..a4c7c01 100644 >--- a/C4/Reports/Guided.pm >+++ b/C4/Reports/Guided.pm >@@ -406,8 +406,8 @@ sub nb_rows { > This function returns a DBI statement handler from which the caller can > fetch the results of the SQL passed via C<$sql>. > >-If passed any query other than a SELECT, or if there is a db error, >-C<$errors> an array ref is returned containing the error after this >+If passed any query other than a SELECT, or if there is a DB error, >+C<$errors> is returned, and is a hashref containing the error after this > manner: > > C<$error->{'sqlerr'}> contains the offending SQL keyword. >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12214
:
28044
|
28115
|
28116
|
28117
|
28132
|
28133
|
28134
|
28135
|
28136