Last modified: 2013-01-30 12:31:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28139, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26139 - Database functions should type cast values automaticaly
Database functions should type cast values automaticaly
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.17.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-27 10:49 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-01-30 12:31 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2010-11-27 10:49:06 UTC
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.
Comment 1 Antoine "hashar" Musso (WMF) 2013-01-30 12:31:41 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links