]> git.pld-linux.org Git - packages/apache1-mod_auth_mysql.git/blob - apache1-mod_auth_mysql-mysql-API.patch
- new mysql API
[packages/apache1-mod_auth_mysql.git] / apache1-mod_auth_mysql-mysql-API.patch
1 --- ./mod_auth_mysql.c~ 1998-10-03 20:41:41.000000000 +0300
2 +++ ./mod_auth_mysql.c  2005-02-10 20:40:34.000000000 +0200
3 @@ -372,7 +372,7 @@
4         }
5         if (name != NULL) {                     /* open an SQL link */
6                 /* link to the MySQL database and register its cleanup!@$ */
7 -               mysql_auth = mysql_connect(&auth_sql_server, auth_db_host, user, pwd);
8 +               mysql_auth = mysql_real_connect(&auth_sql_server, auth_db_host, user, pwd, NULL, MYSQL_PORT, NULL, 0);
9                 if (sec->non_persistent && mysql_auth) {
10                         note_cleanups_for_mysql_auth(r->pool, mysql_auth);
11                 }
This page took 0.071204 seconds and 3 git commands to generate.