PHP Classes

Mysqli

Recommend this page to a friend!

      Metabase  >  All threads  >  Mysqli  >  (Un) Subscribe thread alerts  
Subject:Mysqli
Summary:Mysqli option for Metabase
Messages:14
Author:Jan Willem Schoonhoven
Date:2014-08-21 15:32:59
 
  1 - 10   11 - 14  

  11. Re: Mysqli   Reply   Report abuse  
Picture of Jan Willem Schoonhoven Jan Willem Schoonhoven - 2015-04-29 08:59:06 - In reply to message 10 from Manuel Lemos
Thank you very much! I will test it when I have time, I'll let you know if I discover bugs/glitches.

  12. Re: Mysqli   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2015-04-29 09:18:11 - In reply to message 11 from Jan Willem Schoonhoven
That would be great. I did not yet used it in production but I assured it passes the test suite.

  13. Re: Mysqli   Reply   Report abuse  
Picture of Jan Willem Schoonhoven Jan Willem Schoonhoven - 2015-06-02 10:05:06 - In reply to message 12 from Manuel Lemos
I finally did find time to test/upgrade this.
But my first problem was that I did get an error.

On line 64 of metabase_mysqli.php you have the next code:

$function=($this->persistent ? "mysqli_pconnect" : "mysqli_connect");

But I dont think that the function mysqli_pconnect exists.
Instead it should be mysqli_connect() with p: host prefix.

  14. Re: Mysqli   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2015-06-03 02:28:06 - In reply to message 13 from Jan Willem Schoonhoven
Yes, the persistent connections were not tested. I just uploaded a fixed version. Just let me know if you find other issues.

 
  1 - 10   11 - 14