stable

Clone or download

Read-only

request #12515: Remove all usages of the mysql_* API

The usage of PDO as the main way to access the DB can be considered safe enough to drop the fallback to the mysql_* API. The DataAccessResult class is kept as an implementation of LegacyDataAccessResultInterface for test purposes to avoid a rewrite of quite a few existing tests. The option fallback_to_deprecated_mysql_api is not available anymore. Change-Id: I5bb4429a8c908892a44181588d882d308ecfa368

Modified Files

Name
M plugins/docman/include/Docman_SqlFilter.class.php +2 −1 Go to diff View file
M plugins/docman/tests/MetadataListOfValuesElementDaoTest.php +7 −6 Go to diff View file
M plugins/docman/tests/SqlFilterChoiceTest.php +10 −10 Go to diff View file
M plugins/graphontrackers/include/data-access/GraphOnTrackers_ChartDao.class.php +5 −5 Go to diff View file
M plugins/graphontrackersv5/include/data-access/GraphOnTrackersV5_ChartDao.class.php +4 −5 Go to diff View file
M plugins/hudson_git/include/HudsonGit/Job/Job.php +4 −5 Go to diff View file
M plugins/ldap/tests/LDAP_UserDaoTest.php +41 −45 Go to diff View file
M plugins/svn/tests/Svn/Repository/RepositoryRegexpBuilderTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/QueryBuilder/EqualExpectation/ForTextTest.php +3 −2 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/QueryBuilderVisitorTest.php +2 −1 Go to diff View file
M plugins/tracker/tests/Tracker/SOAPServerTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_DateTest.php +2 −3 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_FloatTest.php +0 −1 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_IntegerTest.php +0 −1 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_TextTest.php +1 −2 Go to diff View file
M plugins/tracker/tests/Tracker_RuleFactoryTest.php +0 −1 Go to diff View file
M src/common/Dashboard/User/UserDashboardDao.php +1 −2 Go to diff View file
M src/common/dao/CodendiDataAccess.class.php +8 −25 Go to diff View file
M src/common/dao/ProjectHistoryDao.class.php +1 −1 Go to diff View file
D src/common/dao/include/DataAccess.class.php +0 −445 Go to diff View file
D src/common/dao/include/DataAccessCredentials.class.php +0 −61 Go to diff View file
M src/common/dao/include/DataAccessObject.class.php +0 −2 Go to diff View file
M src/common/wiki/phpwiki/lib/pear/DB.php +2 −7 Go to diff View file
D src/common/wiki/phpwiki/lib/pear/DB/mysql.php +0 −708 Go to diff View file
M src/www/include/database.php +10 −22 Go to diff View file
R src/common/dao/include/DataAccessResult.class.php Go to diff View file
M tests/lib/TestHelper.class.php +1 −2 Go to diff View file
M tests/simpletest/common/User/UserAccountValidityTest.php +4 −6 Go to diff View file
M tests/simpletest/common/User/UserManagerTest.php +1 −1 Go to diff View file
M tests/simpletest/common/dao/SystemEventDaoTest.php +30 −23 Go to diff View file
M tests/simpletest/common/dao/UserDaoTest.php +1 −5 Go to diff View file
M tests/simpletest/common/dao/include/DataAccessObjectTest.php +19 −11 Go to diff View file
D tests/simpletest/common/dao/include/DataAccessResultTest.php +0 −88 Go to diff View file
D tests/simpletest/common/dao/include/DataAccessTest.php +0 −173 Go to diff View file
M tests/simpletest/common/frs/FRSPackageFactoryTest.php +16 −9 Go to diff View file
M tests/simpletest/common/include/URLTest.php +0 −1 Go to diff View file
M tests/simpletest/common/permission/PermissionsManagerTest.php +2 −2 Go to diff View file
M tests/simpletest/common/plugin/PluginFactoryTest.php +0 −1 Go to diff View file
M tests/simpletest/common/reference/ReferenceManagerTest.php +0 −1 Go to diff View file
M tests/simpletest/common/tracker/ArtifactImportTest.php +1 −1 Go to diff View file
M tests/simpletest/common/tracker/ArtifactRuleFactoryTest.php +0 −1 Go to diff View file