Anonymous Login
06-18-2018 04:43 PM

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004989SMF 2.1Posts and Topics (Admin Panel)public2012-08-14 09:29
PrioritynormalSeverityminorReproducibilityhave not tried
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.
Attached Files




emanuele (Viewer)

Author: emanuele
Date: 15/07/2012
    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 (Modified for SMF Intergration)[^] Copyright © 2000 - 2010 Mantis Group