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


Nathanael <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #5691 is|0                           |1
           obsolete|                            |




--- Comment #9 from Nathanael <[email protected]>  2009-01-21 06:55:06 
UTC ---
Created an attachment (id=5713)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=5713)
Diff against trunk r45949

Issues resolved:

* Re uploading an image now works, would previously fail due to incomplete
support for the MySQL IGNORE option.

* Added abstracted support for union queries to restore the original
functionality of SpecialRecentchanges and SpecialRecentchangeslinked.


Updated summary of changes:

* includes/db/DatabaseMssql.php : Correct various existing faults and reuse
existing functionality within Database.php wherever possible.

* maintenance/mssql/tables.sql : Data types adjusted and referential integrity
elements added (modelled off the Postgres version).

* includes/db/Database.php : Introduce EXPLICIT_ID option to support undelete
operations where an identity field is set explicitly. MSSQL requires specific
action in this case. Add unionSQLText function to allow the database
abstraction
mechanisms to apply to unions.

* includes/Revision.php : Specify the EXPLICIT_ID option

* includes/specials/SpecialRecentchanges.php
  includes/specials/SpecialRecentchangeslinked.php : Use the unionSQLText
function instead of a hardcoded union query including options not understood
by MSSQL.

* includes/specials/SpecialListfiles.php : MSSQL requires GROUP BY lists to
include all non-aggregate fields. I believe Postgres will also require this.

* includes/specials/SpecialAncientpages.php : Add support for MSSQL datetime to
Unix time conversion.

* includes/specials/SpecialNewimages.php : Rewrite the query logic to use the
abstracted interfaces.


-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to