Changeset:
        98f9944c95b2
        
https://sourceforge.net/p/mrbs/hg-code/ci/98f9944c95b2bffa604c2dd121593bd7ce87d17a
Author:
        Campbell Morrison <[email protected]>
Date:
        Tue Mar 01 09:24:35 2016 +0000
Log message:

Fixed bug (academic only) causing persistent connections not to be used when 
running mysqli and PHP 5.3.0

diffstat:

 web/mysqli.inc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 52e1df1932f1 -r 98f9944c95b2 web/mysqli.inc
--- a/web/mysqli.inc    Sat Feb 27 18:51:59 2016 +0000
+++ b/web/mysqli.inc    Tue Mar 01 09:24:35 2016 +0000
@@ -569,7 +569,7 @@
   // still be able to access the error text.
 
   // PHP 5.3.0 and above support persistent connections in mysqli
-  if ($persist && (version_compare(PHP_VERSION, '5.3.0') === 1))
+  if ($persist && (version_compare(PHP_VERSION, '5.3.0') >= 0))
   {
     $full_host = "p:$host";
   }

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to