Advertisement:
Advertise With Us!

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004989SMF 2.1Posts and Topics (Admin Panel)public2012-06-14 06:042012-08-14 09:29
Reporteremanuele 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0004989: chars allowed in posts and altering of table
DescriptionI think we have discussed it somewhere, but since I found another pet to play with I didn't had time to sort it out, so let's track it to not forget.

At the moment it's possible to change the maximum limit of chars for a post, when this number is higher than the limit of text field in mysql (~65k) SMF alters the table changing it to mediumtext and disables the index on the field.
When the limit is moved back it alters again the table back to text.

Many bad things, so it should be changed.
Tags2.1
Attached Files

- Relationships

-  Notes
(0014662)
emanuele (Developer)
2012-08-14 09:29

Author: emanuele
Date: 15/07/2012
Message:
    Alter columnss is a job for maintenace tasks, not for settings change: moved the altering of the body table from text to mediumtext and vice versa to maintenance with proper checks and warnings regarding possible truncated messages
    
Commit: df8d2668477f87fbc4867ea9398d4e1273164602
MantisBT 1.2.8 (Modified)[^] Copyright © 2000 - 2010 Mantis Group