[Koha-bugs] [Bug 7902] New: Adding Function to Check for Existence of Tables

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 5 15:39:01 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7902

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 7902
          Assignee: gmcharlt at gmail.com
           Summary: Adding Function to Check for Existence of Tables
        QA Contact: koha.sekjal at gmail.com
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: cnighswonger at foundations.edu
          Hardware: All
            Status: NEW
           Version: rel_3_8
         Component: Database
           Product: Koha

This patch adds a function TableExists which checks for the existence of a
given table and returns 1 or 0 accordingly. This allows us to check for the
existence of a given table when doing operations on tables which may not exist
in a given database which, in turn, will reduce the number of red errors which
show up after an upgrade.

An example of its use is included in this patch.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list