https://bugzilla.wikimedia.org/show_bug.cgi?id=28281

Sumana Harihareswara <suma...@panix.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |suma...@panix.com

--- Comment #2 from Sumana Harihareswara <suma...@panix.com> 2011-11-02 
22:22:21 UTC ---
The issue here is that MediaWiki thinks that the database is MySQL "because
we're using mysql_* functions ...we assumed DatabaseMysql would only ever refer
to mysql....  Presumably we'd like to have some way in php to differentiate the
two."

I'm reaching out to the MariaDB community to see whether they care about this
issue at all and would want to put any time into fixing it.

IRC conversation for context:

    <^demon> I dunno what MariaDB would need to do.
    <blobaugh> sumanah: that looks like an issue on the MariaDB side?
    <^demon> Presumably we'd like to have some way in php to differentiate the
two.
    <blobaugh> the only way to fix that is to contribute the patch to them
    <sumanah> blobaugh: I mean, MariaDB people would donate a bit of time to
fix it in MediaWiki.
    <^demon> Again...
    <^demon> I'm not sure what MariaDB needs to do?
    <^demon> We assume it's mysql because we're using mysql_* functions
    <blobaugh> ^demon: it looks like just change the link on the
Special:Version page
    <Platonides> getSoftwareLink() currently returns a static string
    <Platonides> (DatabaseMysql class)
    <^demon> Platonides: Right. Because we assumed DatabaseMysql would only
ever refer to mysql.
    <Platonides> the work is to somewhow differenciate between the two
    <blobaugh> so to fix it a new class would need to be made? DatabaseMariaDb?
    <^demon> Platonides: But other than a software link, do we need to
differentiate at all? 
    <^demon> ie: Would the subclass be anything other than overriding
getSoftwareLink()? 
    <blobaugh> Not in the code, yet 
    <Platonides> make mysql family servers add a command 'SELECT
UPSTREAM_LINK();' :) 
    <Platonides> I don't think so 
    <blobaugh> ^demon: afaik you are correct
    <Platonides> if we switched to it, perhaps we would begin optimizing some
edge cases
    <G_SabinoMullane> I thought MariaDB was meant to be super transparent with
regards to working MySQL code?
    <Platonides> but it's similar enough to mysql that I don't think we would
make any change in the class

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to