From 779fc0179faedc76af15c03fd4d92974b65fd6d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 24 Jun 2004 09:42:54 +0000 Subject: [PATCH] Add IF EXISTS. --- ChangeLog | 1 + scripts/create_tables.sql | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8027c6efd..bc5451c6f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2004-06-24 Michal Čihař * main.php, changelog.php: Add headers to ChangeLog display. + * scripts/create_tables.sql: Add IF EXISTS. 2004-06-23 Marc Delisle * many files: remove references to older /images, and diff --git a/scripts/create_tables.sql b/scripts/create_tables.sql index ef1721f64..ba2ffb490 100644 --- a/scripts/create_tables.sql +++ b/scripts/create_tables.sql @@ -16,7 +16,7 @@ -- -- Database : `phpmyadmin` -- -DROP DATABASE `phpmyadmin`; +DROP DATABASE IF EXISTS `phpmyadmin`; CREATE DATABASE `phpmyadmin`; USE phpmyadmin;