aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/10942] Avoid possible conflicts with magic words in unit testsJoas Schilling2012-07-161-12/+12
| | | | PHPBB3-10942
* [ticket/10942] Fix up unit tests for sql_case()Joas Schilling2012-07-021-11/+28
| | | | PHPBB3-10942
* [ticket/10942] Make unit tests for sql_case simplerJoas Schilling2012-06-301-31/+19
| | | | PHPBB3-10942
* [ticket/10942] Rename method sql_conditional() to sql_case()Joas Schilling2012-06-201-5/+5
| | | | PHPBB3-10942
* [ticket/10942] Fix function name on order_lower_test.phpJoas Schilling2012-06-201-1/+1
| | | | PHPBB3-10942
* [ticket/10942] Add unit tests for sql_concatenateJoas Schilling2012-06-201-0/+64
| | | | PHPBB3-10942
* [ticket/10942] Add unit tests for sql_conditionalJoas Schilling2012-06-201-0/+64
| | | | PHPBB3-10942
* Merge branch 'develop-olympus' into developNils Adermann2012-05-221-0/+5
|\ | | | | | | | | | | | | By Andreas Fischer via Andreas Fischer (1) and Nils Adermann (1) * develop-olympus: [ticket/10907] Mark (var)binary tests as incomplete on non-MySQL DBMSes.
| * [ticket/10907] Mark (var)binary tests as incomplete on non-MySQL DBMSes.Andreas Fischer2012-05-221-0/+5
| | | | | | | | PHPBB3-10907
* | Merge PR #810 branch 'develop-olympus' into developOleg Pudeyev2012-05-211-1/+3
|\ \ | |/ | | | | | | * develop-olympus: [ticket/10890] Fix test_sql_fetchrow_returns_false_when_empty() on MS and ORA.
| * [ticket/10890] Fix test_sql_fetchrow_returns_false_when_empty() on MS and ORA.Andreas Fischer2012-05-221-1/+3
| | | | | | | | | | | | | | Fix phpbb_dbal_select_test::test_sql_fetchrow_returns_false_when_empty() on MSSQL and Oracle by specifying an existing table in the query. PHPBB3-10890
* | Merge branch 'develop-olympus' into developNils Adermann2012-05-111-1/+1
|\ \ | |/ | | | | | | * develop-olympus: [ticket/10889] Make default value for c_char_size a CHAR(4) as defined.
| * [ticket/10889] Make default value for c_char_size a CHAR(4) as defined.Andreas Fischer2012-05-111-1/+1
| | | | | | | | PHPBB3-10889
* | Merge branch 'develop-olympus' into developAndreas Fischer2012-05-112-45/+100
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/10887] Add spaces. [ticket/10887] Split auto increment test from db tools test.
| * [ticket/10887] Add spaces.Oleg Pudeyev2012-05-111-1/+1
| | | | | | | | PHPBB3-10887
| * [ticket/10887] Split auto increment test from db tools test.Oleg Pudeyev2012-05-102-45/+100
| | | | | | | | | | | | | | | | | | | | | | Auto increment test does not need any particular columns and should not depend, in particular, on correct handling of binary data. This commit moves auto increment test into its own file and gives it its own table with a simple schema. PHPBB3-10887
* | Merge branch 'develop-olympus' into developAndreas Fischer2012-05-091-1/+27
|\ \ | |/ | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10858] Move generic row seeking to DBAL [ticket/10858] Tests for row seeking with fetchfield() [ticket/10858] Fix MSSQL Native's row seeking behavior Conflicts: tests/dbal/select_test.php
| * [ticket/10858] Tests for row seeking with fetchfield()Patrick Webster2012-05-081-0/+26
| | | | | | | | PHPBB3-10858
* | Merge branch 'develop-olympus' into developNils Adermann2012-04-101-0/+11
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/10774] Correctly specify index name when creating unique index on MySQL. [ticket/10774] Add unit tests for UNIQUE index existence and creation.
| * [ticket/10774] Add unit tests for UNIQUE index existence and creation.Andreas Fischer2012-04-101-0/+11
| | | | | | | | PHPBB3-10774
* | [ticket/10733] Removing static from data providersVjacheslav Trushkin2012-04-012-9/+9
| | | | | | | | | | | | Removing static from data provider functions PHPBB3-10733
* | [feature/merging-style-components] Adjusting unit testsVjacheslav Trushkin2012-03-142-14/+28
| | | | | | | | | | | | Adjusting unit tests for new styles table structure PHPBB3-10632
* | Merge branch 'develop-olympus' into developOleg Pudeyev2012-03-081-0/+25
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10653] Call get_row_count of base class in mysql get_estimated_row_count [ticket/9813] Only get posts table row count if we detected a fulltext index. [ticket/9813] Also use estimated row count of posts table for fulltext mysql. [ticket/10653] Fix parameter to substr() in unit tests. Should be 1, not -1. [ticket/10653] Unit tests for get_row_count() and get_estimated_row_count(). [ticket/10653] Add ability to count table rows to database abstraction layer. [ticket/9813] Use table status row count only if greater than 100000 or exact. [ticket/9813] Use SHOW TABLE STATUS to get search stats for native on MySQL.
| * [ticket/10653] Fix parameter to substr() in unit tests. Should be 1, not -1.Andreas Fischer2012-03-041-1/+1
| | | | | | | | PHPBB3-10653
| * [ticket/10653] Unit tests for get_row_count() and get_estimated_row_count().Andreas Fischer2012-03-041-0/+25
| | | | | | | | PHPBB3-10653
* | [ticket/9916] Updating license in non-distributed filesUnknown2012-01-021-1/+1
| | | | | | | | PHPBB3-9916
* | Merge branch 'develop-olympus' into developAndreas Fischer2012-01-025-5/+5
|\ \ | |/ | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9916] Changing header in non-distributed files [ticket/9916] Changing coding guidelines license [ticket/9916] Updating License in the header Conflicts: tests/mock/cache.php
| * [ticket/9916] Updating License in the headerUnknown2012-01-025-5/+5
| | | | | | | | PHPBB3-9916
* | [ticket/10507] develop does not have imagesets, fix lower test.Oleg Pudeyev2011-12-242-7/+0
| | | | | | | | PHPBB3-10507
* | Merge branch 'develop-olympus' into developOleg Pudeyev2011-12-242-0/+101
|\ \ | |/ | | | | | | | | | | | | | | * develop-olympus: [ticket/10507] DBAL unit test [ticket/10507] Sort styles in acp Conflicts: phpBB/includes/acp/acp_styles.php
| * [ticket/10507] DBAL unit testVjacheslav Trushkin2011-12-152-0/+101
| | | | | | | | | | | | Unit test for ORDER BY LOWER(style_name) PHPBB3-10507
* | Merge branch 'develop-olympus' into developOleg Pudeyev2011-11-252-0/+32
|\ \ | |/ | | | | | | * develop-olympus: [ticket/10483] Fix test suite when running with MySQL strict mode
| * [ticket/10483] Fix test suite when running with MySQL strict modeIgor Wiedler2011-11-212-0/+32
| | | | | | | | PHPBB3-10483
* | Merge branch 'develop-olympus' into developNils Adermann2011-11-182-0/+98
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/10296] Fix CROSS JOIN with INNER JOIN on MSSQL, Postgres and Oracle [ticket/10296] Add unit test for CROSS JOIN with INNER JOIN
| * [ticket/10296] Add unit test for CROSS JOIN with INNER JOINJoas Schilling2011-11-152-0/+98
| | | | | | | | PHPBB3-10296
* | Merge branch 'develop-olympus' into developIgor Wiedler2011-10-141-10/+3
|\ \ | |/ | | | | | | | | * develop-olympus: [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.
| * 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
* | | Merge branch 'develop-olympus' into developNils Adermann2011-10-141-0/+15
|\ \ \ | |/ / | | | | | | | | | | | | * develop-olympus: [ticket/8240] Add ability to get a list of columns of a tables to db_tools. [ticket/8240] Add ability to get a list of tables to db_tools.
| * | [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
* | Merge branch 'develop-olympus' into developIgor Wiedler2011-10-141-0/+18
|\ \ | |/ | | | | | | * develop-olympus: [ticket/10327] Change CREATE INDEX to ALTER TABLE table ADD INDEX for MySQL.
| * [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
* | Merge branch 'develop-olympus' into developAndreas Fischer2011-10-131-1/+17
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/10307] Add a test for PHPBB3-10307 [ticket/10307] Return false in mysqli sql_fetchrow on empty result
| * [ticket/10307] Add a test for PHPBB3-10307Igor Wiedler2011-10-131-1/+17
| | | | | | | | PHPBB3-10307
* | Merge branch 'develop-olympus' into developJoas Schilling2011-08-291-0/+60
|\ \ | |/ | | | | | | * develop-olympus: [ticket/10346] Add drop_tables to perform_schema_changes and add tests
| * [ticket/10346] Add drop_tables to perform_schema_changes and add testsNils Adermann2011-08-291-0/+60
| | | | | | | | PHPBB3-10346
* | Merge branch 'develop-olympus' into developAndreas Fischer2011-07-051-1/+9
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [prep-release-3.0.9] Update Changelog for 3.0.9 release. [prep-release-3.0.9] Bumping version number for the final 3.0.9 release. [ticket/10247] Removing attempt_id column from the 3.0.8 to 3.0.9-RC1 updater. [ticket/10247] Add a db_tools test for the removal of a primary key column. [ticket/10247] Add empty data section to database update for RC4 [ticket/10247] Remove unecessary attempt_id primary key column Conflicts: phpBB/install/database_update.php
| * [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
* | Merge branch 'develop-olympus' into developAndreas Fischer2011-06-121-0/+268
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9892] Correct copyright year [ticket/9892] Remove incorrect use of camel case [ticket/9892] Removing closing php tag from create_schema_files [ticket/9892] Transaction support for database update sql execution function [ticket/9892] count is a keyword in firebird, so renaming this alias [ticket/9892] Q&A CAPTCHA did not work on firebird, so no need to change config [ticket/9892] Shorten login_attempt key names to avoid firebird length problems [ticket/9892] Drop Q&A CAPTCHA tables if left in inconsistent state [ticket/9892] Adding a number of tests for db_tools [ticket/9892] Table prefix lengths influence index lengths in db_tools [ticket/9892] Shorten the index names on the q&a captcha [ticket/9892] column & index name limits, firebird auto increment in db_tools Conflicts: phpBB/develop/create_schema_files.php