3
While trying to get PDO to work I found a script that converts MySQL scripts to MySQLi scripts and have converted the MySQL database class to MySQLi.
Please try out this class and see if it works. It works fine for me with 2.5.5.
Do NOT use it on a production server since I have no clue if it will work right elsewhere.
I do expect some modules to break with this if they access MySQL extension directly instead of using XOOPS API.
Assuming this works I will add Transactions and Prepared statements to it.
Before I spend the time doing that please try this out and see if there are problems with it. I don't want to spend a bunch of time on this if it doesn't
work as is.
Rodney
Find it in the SVN:
http://xoops.svn.sourceforge.net/viewvc/xoops/ThirdParty/mysqli/ edited:
Testing MySQLi against the standard MySQL extension it seems to work at every step. Had a couple minor bugs I fixed. Also will add Transactions and Prepared statement support to this as well. I figured out what was going on with my PDO script and have that working now too. Have some loose ends to tidy up with the PDO version and then I will put that up for testing purposes. Will likely work on a object version of the MySQLi extension as well since the current one is using global variables where "objectifying" it should put it all within the class.
Attending College working towards Bachelors in Software Engineering and Network Security.