aboutsummaryrefslogtreecommitdiff
path: root/pkgs/stardict/mariadb.patch
blob: b525d0532c65fb8dfb272bcd9f234c82a9c5b903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tools/src/wikipediaImage.cpp b/tools/src/wikipediaImage.cpp
index ff38f50..df5191b 100644
--- a/tools/src/wikipediaImage.cpp
+++ b/tools/src/wikipediaImage.cpp
@@ -31,7 +31,7 @@ void dump_file()
 	MYSQL mysql;
 	if (!mysql_init(&mysql))
 		return;
-	if (!mysql_real_connect(&mysql, CONN_HOST , CONN_USER , CONN_PASS, NULL , MYSQL_PORT, NULL, 0))
+	if (!mysql_real_connect(&mysql, CONN_HOST , CONN_USER , CONN_PASS, NULL , MARIADB_PORT, NULL, 0))
 		return;
 	if (mysql_select_db(&mysql, CONN_DB))
 		return;