summaryrefslogtreecommitdiff
path: root/mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysql.c')
-rw-r--r--mysql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql.c b/mysql.c
index cec85700e..9ddac4455 100644
--- a/mysql.c
+++ b/mysql.c
@@ -58,6 +58,7 @@ int db_mysql_init()
do_mysql = 1;
alog("MySQL has been enabled.");
}
+
if (!db_mysql_open())
do_mysql = 0;