[Koha-bugs] [Bug 7902] 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 16:07:12 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7902
Jared Camins-Esakov <jcamins at cpbibliography.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #8915|0 |1
is obsolete| |
--- Comment #4 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 8921
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8921&action=edit
Bug 7902 - Adding Function to Check for Existence of Tables
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.
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list