Go to file
Matthias Mullie 8a9fccbcc8 Fix for tinyint(1)'s not accepting ''
These boolean values go through DatabaseBase::makeList,
which passes them along to DatabaseBase::addQuotes, which
shoves the value through DatabaseMysqlBase::strencode,
which in turn passes it on to DatabaseMysqli::mysqlRealEscapeString,
which eventually calls mysqli::real_escape_string on it.

This last one will turn trues into '1' and falses into ''.
MySQL (or at least my version, 5.6.17 Homebrew) complains about
receiving incorrect integer value '' for these tinyint(1) columns.

Bug: T67807
Change-Id: Iaef98c08589370f9288c1f3c80803b1a16b2506e
2016-01-29 12:18:53 +00:00
api Add support for PHP CodeSniffer checks 2016-01-06 09:59:47 -08:00
db_patches abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
i18n Localisation updates from https://translatewiki.net. 2016-01-27 21:37:37 +01:00
maintenance Add support for PHP CodeSniffer checks 2016-01-06 09:59:47 -08:00
modules Improve error handling for HTTP requests 2014-08-02 11:56:32 +00:00
special Add support for PHP CodeSniffer checks 2016-01-06 09:59:47 -08:00
tests Move rule tokenization to new AbuseFilterTokenizer class 2015-08-25 14:00:10 -07:00
Views Fix for tinyint(1)'s not accepting '' 2016-01-29 12:18:53 +00:00
.gitignore Add support for PHP CodeSniffer checks 2016-01-06 09:59:47 -08:00
.gitreview Add .gitreview file 2012-03-22 13:55:41 -07:00
.jshintrc Add .jshintrc for AbuseFilter and make it pass 2013-04-17 15:03:36 +02:00
AbuseFilter.alias.php Localisation updates from https://translatewiki.net. 2015-06-14 21:00:08 +02:00
AbuseFilter.class.php Add support for PHP CodeSniffer checks 2016-01-06 09:59:47 -08:00
AbuseFilter.hooks.php Compute last-recent-authors result during edit stashing 2016-01-28 21:11:39 +00:00
AbuseFilter.parser.php Add support for PHP CodeSniffer checks 2016-01-06 09:59:47 -08:00
AbuseFilter.php Compute last-recent-authors result during edit stashing 2016-01-28 21:11:39 +00:00
abusefilter.tables.pg.sql abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
abusefilter.tables.sql abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
abusefilter.tables.sqlite.sql abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
AbuseFilterTokenizer.php Add support for PHP CodeSniffer checks 2016-01-06 09:59:47 -08:00
AbuseFilterVariableHolder.php Compute last-recent-authors result during edit stashing 2016-01-28 21:11:39 +00:00
AbuseLogHitFormatter.php Add support for PHP CodeSniffer checks 2016-01-06 09:59:47 -08:00
composer.json Add support for PHP CodeSniffer checks 2016-01-06 09:59:47 -08:00
COPYING Add COPYING 2014-01-22 21:21:10 +00:00
hooks.txt (bug 42064) AbuseFilter + EditFilterMergedContent 2013-01-17 11:18:28 +01:00
phpcs.xml Add support for PHP CodeSniffer checks 2016-01-06 09:59:47 -08:00