Date: Wed, 15 Jul 2009 14:10:31 -0700 From: Tom Karpik <tom@vertigoconsulting.com> To: fjoe@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: cvsnt-2.5.04.3236 Message-ID: <A195D4E2-1971-4206-8EE9-C06F6DE63B35@vertigoconsulting.com>
next in thread | raw e-mail | index | archive | help
--Apple-Mail-2-949575936 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Hi there, There is a bug in the MySQL code in this release of CVSNT -- it was talked about right here last month: http://www.cvsnt.org/pipermail/cvsnt/2009-June/032272.html Unfortunately, the dev response was "buy our commercial product". Fortunately, I tracked down the bug myself, and wrote a one-line patch. I've attached said patch to this e-mail. I realize that in your port's Makefile you disable MySQL support, but we require it at my work place, so I re-enabled the flag myself. Even though the default is to disable MySQL, you may want to consider distributing this patch along with your port for those CVSNT users out there who need the MySQL support and end up enabling it themselves. :-) Thanks! -- Tom Karpik --Apple-Mail-2-949575936 Content-Disposition: attachment; filename=audit_trigger.cpp.patch Content-Type: application/octet-stream; name="audit_trigger.cpp.patch" Content-Transfer-Encoding: 7bit *** triggers/audit_trigger.cpp.orig Wed Jul 15 14:08:34 2009 --- triggers/audit_trigger.cpp Wed Jul 15 14:09:10 2009 *************** *** 226,231 **** --- 226,232 ---- return 0; } + rs->Close(); g_nSessionId = 0; if(g_AuditLogSessions) --Apple-Mail-2-949575936--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A195D4E2-1971-4206-8EE9-C06F6DE63B35>