summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2/files/patch-plugins::mysql.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--security/cyrus-sasl2/files/patch-plugins::mysql.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/security/cyrus-sasl2/files/patch-plugins::mysql.c b/security/cyrus-sasl2/files/patch-plugins::mysql.c
deleted file mode 100644
index 30850d3bbdc4..000000000000
--- a/security/cyrus-sasl2/files/patch-plugins::mysql.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- plugins/mysql.c.orig Fri Mar 7 13:26:42 2003
-+++ plugins/mysql.c Fri Mar 7 13:30:38 2003
-@@ -325,8 +325,15 @@
- sparams->utils->log(NULL, SASL_LOG_WARN,
- "mysql plugin try and connect to %s\n",
- cur_host);
-+#ifdef HAVE_MYSQL_REAL_CONNECT
-+ mysql_init(&mysql);
-+ sock = mysql_real_connect(&mysql,cur_host,settings->mysql_user,
-+ settings->mysql_passwd,
-+ NULL,0,NULL,CLIENT_COMPRESS);
-+#else
- sock = mysql_connect(&mysql,cur_host,settings->mysql_user,
- settings->mysql_passwd);
-+#endif
- if (sock) break;
-
- cur_host = db_host;
-