SOURCES: tac_plus-mysql4.patch (NEW) - mysql 4 correction - patch ...
zbyniu
zbyniu at pld-linux.org
Fri Jul 1 02:04:56 CEST 2005
Author: zbyniu Date: Fri Jul 1 00:04:56 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- mysql 4 correction
- patch from karwas at pk-telecom.com, trapez at pk-telecom.com
---- Files affected:
SOURCES:
tac_plus-mysql4.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/tac_plus-mysql4.patch
diff -u /dev/null SOURCES/tac_plus-mysql4.patch:1.1
--- /dev/null Fri Jul 1 02:04:56 2005
+++ SOURCES/tac_plus-mysql4.patch Fri Jul 1 02:04:51 2005
@@ -0,0 +1,21 @@
+diff -uNr tac_plus.F4.0.3.alpha/db_mysql.c tac_plus.F4.0.3.alpha.v9b/db_mysql.c
+--- tac_plus.F4.0.3.alpha/db_mysql.c 2004-02-06 13:16:01.000000000 -0600
++++ tac_plus.F4.0.3.alpha.v9b/db_mysql.c 2004-02-06 13:35:01.000000000 -0600
+@@ -46,7 +46,7 @@
+
+ /* Connect database server */
+
+- if ( !( mysql_connect(&mysqldb,db_hostname,db_user,db_password) ) )
++ if ( !( mysql_real_connect(&mysqldb,db_hostname,db_user,db_password,db_name,0,NULL,0) ) )
+ {
+ if (debug & DEBUG_AUTHEN_FLAG)
+ report(LOG_DEBUG, "MySQL: cannot connect as %s", db_user);
+@@ -170,7 +170,7 @@
+
+ /* Connect database server */
+
+- if (!(mysql_connect(&mysqldb,db_hostname,db_user,db_password)))
++ if (!(mysql_real_connect(&mysqldb,db_hostname,db_user,db_password,db_name,0,NULL,0)))
+ {
+ if (debug & DEBUG_ACCT_FLAG)
+ report(LOG_DEBUG, "MySQL: cannot connect as %s", db_user);
================================================================
More information about the pld-cvs-commit
mailing list