[Lxr-commits] CVS: lxr initdb-mysql,1.7,1.8
Brought to you by:
ajlittoz
|
From: Malcolm B. <mb...@us...> - 2002-07-29 01:06:05
|
Update of /cvsroot/lxr/lxr
In directory usw-pr-cvs1:/tmp/cvs-serv1782
Modified Files:
initdb-mysql
Log Message:
Fix error message if db doesn't exist. Patch from MK - #570826
Index: initdb-mysql
===================================================================
RCS file: /cvsroot/lxr/lxr/initdb-mysql,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- initdb-mysql 18 Nov 2001 03:31:33 -0000 1.7
+++ initdb-mysql 29 Jul 2002 01:06:02 -0000 1.8
@@ -1,7 +1,7 @@
/* Read this into mysql with "\. initdb-mysql" when logged in as root
to delete the old lxr database and create a new */
-drop database lxr;
+drop if exists database lxr;
create database lxr;
use lxr;
|