wiki.techinc.nl/includes/libs/rdbms/database
Thiemo Kreuz 734a969d55 Safe replacement of a lot of !count() with === []
This was originally a global search and replace. I manually checked all
replacements and reverted them if (due to the lack of type hints) either
null (that would be 0 when counted) or a Countable object can end in the
variable or property in question.

Now this patch only touches places where I'm sure nothing can break.

For the sanity of the honorable reviewers this patch is exclusively touching
negated counts. You should not find a single `!== []` in this patch, that
would be a mistake.

Change-Id: I5eafd4d8fccdb53a668be8e6f25a566f9c3a0a95
2019-01-15 17:28:49 +01:00
..
position rdbms: ignore inactive mysql GTIDs in replication position methods 2018-04-04 21:58:03 -07:00
resultwrapper Add @deprecated tags to various class_alias calls 2018-05-29 13:10:20 -07:00
utils rdbms: Remove support for PostgreSQL < 9.2, and improve INSERT IGNORE for 9.5 2018-04-05 20:52:46 +00:00
AtomicSectionIdentifier.php rdbms: allow cancelation of dangling nested atomic sections 2018-04-10 16:34:31 -07:00
Database.php Safe replacement of a lot of !count() with === [] 2019-01-15 17:28:49 +01:00
DatabaseDomain.php rdbms: re-add DB domain sanity checks to LoadBalancer 2018-10-16 23:35:05 +00:00
DatabaseMssql.php rdbms: clean up return values of IDatabase write methods 2018-10-30 03:34:52 +00:00
DatabaseMysqlBase.php Safe replacement of a lot of !count() with === [] 2019-01-15 17:28:49 +01:00
DatabaseMysqli.php rdbms: Database::selectDB() update the domain and handle failure better 2018-10-10 12:03:30 -07:00
DatabasePostgres.php No yoda conditions 2018-11-21 17:54:39 +01:00
DatabaseSqlite.php DatabaseSqlite::insert: Fix affected row count 2018-10-31 17:13:45 +01:00
DBConnRef.php rdbms: Database::selectDB() update the domain and handle failure better 2018-10-10 12:03:30 -07:00
IDatabase.php rdbms: add ILBFactory::redefineLocalDomain method 2018-11-22 23:51:44 -08:00
IMaintainableDatabase.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
MaintainableDBConnRef.php rdbms: Add @deprecate tag to MaintainableDBConnRef class alias 2018-11-05 18:55:20 +00:00