[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 15:54:19 CEST 2012


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

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at biblibre.co
                   |                            |m

--- Comment #2 from Jonathan Druart <jonathan.druart at biblibre.com> ---
QA Comment, 

Why don't you simply use the following syntax:
  DROP TABLE IF NOT EXISTS $tablename

It is supported by mysql and postgresql

http://dev.mysql.com/doc/refman/5.1/en/drop-table.html
http://www.postgresql.org/docs/8.2/static/sql-droptable.html

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


More information about the Koha-bugs mailing list