DJ Bauch wrote:
I have had Mediawiki running on Microsoft SQL Server
pretty much without any
problems for several months now, originally on SQL Server 2000, but now on
2005. This week the boss decided it was time to move it from our development
box to a production server. The version I'm running is based on release
1.12, but includes quite a bit from the 1.13 code as well. That includes
several extensions. I'd love to have my stuff rolled in to the shared
source. The only significant change that impacts quite a few of the PHP
sources (primarily the Special... stuff) is that I had to add a couple of
methods to the Database class to switch back and forth between returning
query results in arrays (which works most of the time) and returning query
results in objects with fields accessed by name. For performance reasons,
the ADODB class that I used only does one or the other.
It sounds like the best way to handle this would be for fetchObject() /
fetchRow() to translate formats, rather than change all other code.
The current DatabaseMssql.php seems to be using mssql_fetch_object() and
mssql_fetch_array() already; is there any problem with how this works
presently?
-- brion