aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/db_tools_test.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'bantu/ticket/10327' into develop-olympusIgor Wiedler2011-10-141-10/+3
|\ | | | | | | | | | | * bantu/ticket/10327: [ticket/10327] Use $this->tools instead of creating a new instance of db_tools. [ticket/10327] Also change CREATE UNIQUE INDEX to use ALTER TABLE.
| * [ticket/10327] Use $this->tools instead of creating a new instance of db_tools.Andreas Fischer2011-10-141-10/+3
| | | | | | | | PHPBB3-10327
* | [ticket/8240] Add ability to get a list of columns of a tables to db_tools.Andreas Fischer2011-10-141-0/+8
| | | | | | | | PHPBB3-8240
* | [ticket/8240] Add ability to get a list of tables to db_tools.Andreas Fischer2011-10-141-0/+7
|/ | | | PHPBB3-8240
* [ticket/10327] Change CREATE INDEX to ALTER TABLE table ADD INDEX for MySQL.Andreas Fischer2011-10-141-0/+18
| | | | | | | | | | | | | | * CREATE INDEX is internally mapped to an ALTER INDEX statement. * CREATE INDEX requires the INDEX permission. * ALTER TABLE requires the (more powerful) ALTER permission. * We require the ALTER permission anyway for operation. * Changing CREATE INDEX to ALTER TABLE thus removes dependency on the INDEX permission which is good because some management software does not give out the INDEX permission by default. http://dev.mysql.com/doc/refman/5.0/en/create-index.html PHPBB3-10327
* [ticket/10346] Add drop_tables to perform_schema_changes and add testsNils Adermann2011-08-291-0/+60
| | | | PHPBB3-10346
* [ticket/10247] Add a db_tools test for the removal of a primary key column.Nils Adermann2011-07-031-1/+9
| | | | | | | The previous drop column test already deleted the primary key, so that one was replaced with an ordinary column. PHPBB3-10247
* [ticket/9892] Correct copyright yearNils Adermann2011-06-121-1/+1
| | | | PHPBB3-9892
* [ticket/9892] Remove incorrect use of camel caseNils Adermann2011-06-121-2/+2
| | | | PHPBB3-9892
* [ticket/9892] Adding a number of tests for db_toolsNils Adermann2011-06-121-0/+268
The test creates a table and runs a number of queries on it to judge whether the selected column types can hold the data they are expected to contain. Additional test methods check the auto increment feature and a few of the basic commands of db_tools. This is only a starting point. Plenty more tests need to be added. PHPBB3-9892