Page MenuHomePhabricator

Database functions should type cast values automaticaly
Closed, DeclinedPublic

Description

r63643 force typecasting for SQLite.

Comment by Simetrical on code review:

Surely there's a more systematic way we could handle this? For instance, give the database functions a table of all columns used in MediaWiki and have it automatically cast appropriate values (and maybe truncate them, etc.)? This method is extremely error-prone.


Version: 1.17.x
Severity: enhancement

Details

Reference
bz26139

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:23 PM
bzimport set Reference to bz26139.
bzimport added a subscriber: Unknown Object (MLST).

yeah hmm cant remember why I originally opened this bug for. It is now cluttering my bug list for no reason so just closing it.