https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37895

Owen Leonard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #171338|0                           |1
        is obsolete|                            |

--- Comment #2 from Owen Leonard <[email protected]> ---
Created attachment 171383
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=171383&action=edit
Bug 37895: Update skelton.pl to show an example use of coding guideline SQL14

Guideline SQL14 recommends using try/finally blocks to report database
modification errors. It would be helpful to update skeleton.pl to use
this methodology.

Test Plan:
1) Apply this patch
2) Copy skeleton.pl to test.pl
3) Add a bad query to the the $dbh->do({}) line
4) Run updatedatabase.pl
5) Note the error message is displayed
6) Change the bad query to a good query
7) Run updatedatabase.pl
8) Note the success message is displayed!

Signed-off-by: Owen Leonard <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to