@DPATCH@
diff -urNad mod-auth-mysql~/DIRECTIVES mod-auth-mysql/DIRECTIVES
---- mod-auth-mysql~/DIRECTIVES 2008-05-14 20:24:12.000000000 +0200
-+++ mod-auth-mysql/DIRECTIVES 2008-05-14 20:46:56.000000000 +0200
+--- mod-auth-mysql~/DIRECTIVES 2008-05-14 21:03:35.000000000 +0200
++++ mod-auth-mysql/DIRECTIVES 2008-05-14 21:03:35.000000000 +0200
@@ -1,23 +1,27 @@
All the directives understood by this version of mod-auth-mysql are listed
-below. The huge number of synonym directives is due to the merging of two
-AuthMySQL <on/off>
- Synonym for Auth_MYSQL.
diff -urNad mod-auth-mysql~/USAGE mod-auth-mysql/USAGE
---- mod-auth-mysql~/USAGE 2008-05-14 20:24:12.000000000 +0200
-+++ mod-auth-mysql/USAGE 2008-05-14 20:24:12.000000000 +0200
+--- mod-auth-mysql~/USAGE 2008-05-14 21:03:35.000000000 +0200
++++ mod-auth-mysql/USAGE 2008-05-14 21:03:35.000000000 +0200
@@ -44,9 +44,9 @@
or
and the host, user, password, and database name cannot be changed.
diff -urNad mod-auth-mysql~/mod_auth_mysql.c mod-auth-mysql/mod_auth_mysql.c
---- mod-auth-mysql~/mod_auth_mysql.c 2008-05-14 20:24:12.000000000 +0200
-+++ mod-auth-mysql/mod_auth_mysql.c 2008-05-14 20:52:32.000000000 +0200
+--- mod-auth-mysql~/mod_auth_mysql.c 2008-05-14 21:03:35.000000000 +0200
++++ mod-auth-mysql/mod_auth_mysql.c 2008-05-14 21:03:42.000000000 +0200
@@ -674,14 +674,30 @@
NULL,
RSRC_CONF, "host, user and password of the MySQL database" ),
OR_AUTHCFG, "Additional WHERE clause for group password/user-name lookup" ),
+ AP_INIT_TAKE1( "AuthMySQL_Password_Clause", ap_set_string_slot,
-+ (void*)APR_XtOffsetOf(mysql_auth_config_rec, password_where_clause),
++ (void*)APR_OFFSETOF(mysql_auth_config_rec, password_where_clause),
+ OR_AUTHCFG, "Additional WHERE clause for group password/user-name lookup" ),
+
AP_INIT_TAKE1( "Auth_MySQL_Username_Field", ap_set_string_slot,
OR_AUTHCFG, "Additional WHERE clause for group password/user-name lookup" ),
+ AP_INIT_TAKE1( "AuthMySQL_Where", ap_set_string_slot,
-+ (void*)APR_XtOffsetOf(mysql_auth_config_rec, password_where_clause),
++ (void*)APR_OFFSETOF(mysql_auth_config_rec, password_where_clause),
+ OR_AUTHCFG, "Additional WHERE clause for group password/user-name lookup" ),
+
{ NULL }