Last modified: 2011-04-22 22:23:27 UTC
Currently it doesn't
(In reply to comment #0) > Currently it doesn't Can you describe the issue a little better?
As was changed in r85173 $db_type = $edgDBServerType[$server_id]; - $db_server = $edgDBServer[$server_id]; - $db_name = $edgDBName[$server_id]; - $db_username = $edgDBUser[$server_id]; - $db_password = $edgDBPass[$server_id]; There is no support for databases that need a prefix. Unless you're expecting users to just add that themselves when doing queries?
I just want to note, at least for my own future reference, that this requested feature, while potentially useful, would only apply for MW >= 1.18, when support for table prefixes was added.
Created attachment 8408 [details] Make ExternalData honor DB flags and tableprefix Two new options are introduced with this patch: $edgDBFlags['database_name'] $edgDBTablePrefix['database_name'] To use $edgDBFlags you need to use the constants of Defines.php. Example: $edgDBFlags['database_name'] = DBO_DEBUG;
Created attachment 8416 [details] Make ExternalData honor DB flags and tableprefix (version 2) New version of my patch after comments from Yaron, Happy-mellon and bawolff.
Solitarius - thanks for the patch! It's now in the new version of External Data, 1.3. And I'm marking this bug as "fixed".