[Pkg-mysql-commits] r1246 - trunk/debian
Norbert Tretkowski
nobse at alioth.debian.org
Wed May 28 12:31:47 UTC 2008
Author: nobse
Date: 2008-05-28 12:31:47 +0000 (Wed, 28 May 2008)
New Revision: 1246
Modified:
trunk/debian/mysql-server-5.0.postinst
Log:
Fix segmentation fault in MySQL client.
Modified: trunk/debian/mysql-server-5.0.postinst
===================================================================
--- trunk/debian/mysql-server-5.0.postinst 2008-05-27 19:18:00 UTC (rev 1245)
+++ trunk/debian/mysql-server-5.0.postinst 2008-05-28 12:31:47 UTC (rev 1246)
@@ -21,7 +21,7 @@
MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --skip-bdb --skip-innodb --skip-ndbcluster"
test_mysql_access() {
- mysql --no-defaults -u root -h localhost </dev/null >/dev/null 2>&1
+ echo "" | mysql --no-defaults -u root -h localhost >/dev/null 2>&1
}
# call with $1 = "online" to connect to the server, otherwise it bootstraps
More information about the Pkg-mysql-commits
mailing list