1 |
snetram |
1.1 |
--- e-smith-mysql-2.0.0/root/etc/e-smith/templates/etc/my.cnf/010mysqld-log-error.FixErrorLogDetectionAlgorithm 2003-12-18 23:10:32.000000000 +0100 |
2 |
|
|
+++ e-smith-mysql-2.0.0/root/etc/e-smith/templates/etc/my.cnf/010mysqld-log-error 2008-12-02 16:12:20.000000000 +0100 |
3 |
|
|
@@ -5,7 +5,7 @@ |
4 |
|
|
if (-f "/usr/sbin/mysqld") { |
5 |
|
|
$mysqld = "/usr/sbin/mysqld"; |
6 |
|
|
} |
7 |
|
|
- open (MYSQLD, "$mysqld --help |") |
8 |
|
|
+ open (MYSQLD, "$mysqld --help --verbose |") |
9 |
|
|
or return "# WARN: can't exec mysqld; skipping log-error setup"; |
10 |
|
|
$LogError = grep {/log-error/} <MYSQLD>; |
11 |
|
|
close MYSQLD; |