News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

MySQL Board Order Fix

Started by Arantor, May 13, 2014, 02:06:06 PM

Previous topic - Next topic

Arantor

Link to Mod

This is a quick and dirty fix that will force board ordering to be correct on all versions of MySQL for SMF 2.0.x (fixes MyISAM on MySQL 5.6+ and InnoDB in general)

There is a slight performance hit but it should be correct in all cases involving the board index.


This code is all under the same licence as SMF's own code - 3-clause BSD - since it's almost directly borrowed from the PostgreSQL code and spliced into the MySQL code ;D

Arantor

This mod will NOT be updated for 2.0.8 because the fixes are included in 2.0.8.

NekoJonez

MAybe it's a good idea then to stop users from installing it on 2.0.8?
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Night09

Quote from: NekoJonez on September 26, 2014, 12:39:35 PM
MAybe it's a good idea then to stop users from installing it on 2.0.8?


QuoteIMPORTANT: This mod is NOT REQUIRED as of 2.0.8, since the same code was included in 2.0.8.

Borrowed directly from the Mods description page. If a users too dumb not to read the description then its their own hard luck. You cannot police every person who may want to use the Mod.

NekoJonez

True, but can't you make it in the package_info xml that it only works on 2.0.7?
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Antes

Maybe its better to remove this mod since (thanks to author) code included inside SMF 2.0.8

Arantor

Quote from: NekoJonez on September 28, 2014, 11:55:40 AM
True, but can't you make it in the package_info xml that it only works on 2.0.7?

Emulation is still a thing.

Quote from: Antes on September 28, 2014, 05:30:57 PM
Maybe its better to remove this mod since (thanks to author) code included inside SMF 2.0.8

I would prefer not to.

Advertisement: