aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | [feature/migrations] Remove references as it is now 3.1 codeNathan Guse2013-01-0945-280/+1179
| | | | | | | | | | | | | | | | PHPBB3-9737
| * | | [feature/migrations] Change migration data processing to run step by stepNils Adermann2013-01-091-1/+23
| | | |
| * | | [feature/migrations] Rename classes, depends onNathan Guse2013-01-0951-347/+3520
| | | | | | | | | | | | | | | | PHPBB3-9737
| * | | [feature/migrations] Update 3.0.3-3.0.5 migrations to workNils Adermann2013-01-095-160/+107
| | | |
| * | | [feature/migrations] Depend on part2Nathaniel Guse2013-01-091-1/+1
| | | | | | | | | | | | | | | | PHPBB3-9737
| * | | [feature/migrations] Use $this->dbNathaniel Guse2013-01-091-8/+8
| | | | | | | | | | | | | | | | PHPBB3-9737
| * | | [feature/migrations] Migrations back through 3.0.6Nathaniel Guse2013-01-095-208/+201
| | | | | | | | | | | | | | | | PHPBB3-9737
| * | | [feature/migrations] 3.0.8-rc1 migration, fix some callsNathaniel Guse2013-01-093-86/+89
| | | | | | | | | | | | | | | | PHPBB3-9737
| * | | [feature/migrations] Some migrations dataNathaniel Guse2013-01-093-43/+63
| | | | | | | | | | | | | | | | PHPBB3-9737
| * | | [feature/migrations] Moved database_update info to individual migration classesNils Adermann2013-01-0936-1/+1998
| | | |
| * | | [feature/migrations] Standard vars for migrations and run sql with feedbackNils Adermann2013-01-092-7/+62
| | | | | | | | | | | | | | | | PHPBB3-9737
| * | | [feature/migrations] Return schema changes in database update style arrayNils Adermann2013-01-092-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Returning the set of schema changes allows potentially aggregating to generate the overall install schema automatically from a set of migrations PHPBB3-9737
| * | | [feature/migrations] Store start and end time of migrationsNils Adermann2013-01-091-0/+21
| | | | | | | | | | | | | | | | PHPBB3-9737
| * | | [feature/migrations] Basic migrations with schema and data changesNils Adermann2013-01-092-0/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The migrator takes care of applying migrations as necessary. RFC: http://area51.phpbb.com/phpBB/viewtopic.php?f=84&t=41337 PHPBB3-9737
* | | | Merge remote-tracking branch 'remotes/Sajaki/ticket/10854' into developNathan Guse2013-01-151-0/+16
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | # By Sajaki # Via Sajaki * remotes/Sajaki/ticket/10854: [ticket/10854] sql server drop default constraint when dropping column
| * | [ticket/10854] sql server drop default constraint when dropping columnSajaki2012-04-281-0/+16
| | | | | | | | | | | | | | | | | | drops default columns with T-SQL before attempting drop column to avoids sql exception. This is a huge annoyance in UMIL scripts running under sql server.
* | | [ticket/11305] Check for $cache being null before using it in db drivers.Oleg Pudeyev2013-01-0210-41/+41
| | | | | | | | | | | | | | | | | | | | | There is no reason why db drivers must have a cache to work. They query the database, that part works without caches. PHPBB3-11305
* | | Merge PR #1130 branch 'EXreaction/ticket/11259' into developOleg Pudeyev2012-12-291-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * EXreaction/ticket/11259: [ticket/11259] htmlspecialchars($phpbb_admin_path) [ticket/11259] adm_relative_path -> phpbb_adm_relative_path [ticket/11259] Also make adm_relative_path available in the container [ticket/11259] Make phpbb_admin_path available everywhere Conflicts: phpBB/install/index.php phpBB/install/install_update.php
| * | | [ticket/11259] htmlspecialchars($phpbb_admin_path)Nathan Guse2012-12-101-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11259
| * | | [ticket/11259] Make phpbb_admin_path available everywhereNathan Guse2012-12-091-2/+2
| | | | | | | | | | | | | | | | PHPBB3-11259
* | | | [ticket/11037] Eliminate global $db usage in cache drivers.Oleg Pudeyev2012-12-209-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The only time $db is needed in cache drivers is to navigate the result set in sql_save. Pass it as a parameter in that function. PHPBB3-11037
* | | | Merge remote-tracking branch 'upstream/develop' into ticket/11015Oleg Pudeyev2012-12-137-76/+253
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/develop: (101 commits) [ticket/10491] Make recreate_database static. [ticket/11088] Pass required objects in as arguments [ticket/11088] Globalize objects in new permission function [ticket/11088] Move permission creation to a function [ticket/11088] Copy a_styles permission for a_extensions [ticket/11088] Remove extraneous word from sentence in comment [ticket/11088] Changed "file extensions" to "attachment extensions" [ticket/11088] Fix the database updater to correctly manipulate the modules [ticket/11088] Put language pack module move below extension module creation [ticket/11088] Untested, progress on update script [ticket/11088] Fix typo (period instead of comma) [ticket/11088] Untested progress for update script [ticket/11088] Added missing comma [ticket/11088] Removed added space [ticket/11088] Move style, extension and language pack management to customise [ticket/11243] Show download all link on all pages of topic with attachments [feature/template-events] Pass arguments in correct order. [feature/template-events] Pass arguments in correct order. [ticket/10491] Install board once per test run. [ticket/11257] Do not require set_name() method to exist ...
| * | | Merge branch 'develop-olympus' into developAndreas Fischer2012-12-087-76/+253
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10205] Reduce nesting in mysql drivers. [ticket/10205] Rewrite _sql_error implementations to have a single return. [ticket/10205] Cosmetic changes. [ticket/10205] Add some columns to the empty fixture file for mssqlnative. [ticket/10205] Delete stray return. [ticket/10205] Test failed connection attempts. [ticket/10205] Check for function existence in mssql connect method. [ticket/10205] Convert mssqlnative driver to the same logic. [ticket/10205] Fix a parse error in oracle driver. [ticket/10205] Fix remaining db drivers. [ticket/10205] Avoid calling mysqli functions when mysqli is missing. [ticket/10205] Account for potentially missing extensions in dbal. Conflicts: tests/fixtures/empty.xml
| | * | [ticket/10205] Reduce nesting in mysql drivers.Oleg Pudeyev2012-12-042-28/+22
| | | | | | | | | | | | | | | | PHPBB3-10205
| | * | [ticket/10205] Rewrite _sql_error implementations to have a single return.Oleg Pudeyev2012-12-045-20/+34
| | | | | | | | | | | | | | | | PHPBB3-10205
| | * | [ticket/10205] Cosmetic changes.Oleg Pudeyev2012-12-045-8/+8
| | | | | | | | | | | | | | | | PHPBB3-10205
| | * | [ticket/10205] Check for function existence in mssql connect method.Oleg Pudeyev2012-12-041-0/+8
| | | | | | | | | | | | | | | | PHPBB3-10205
| | * | [ticket/10205] Convert mssqlnative driver to the same logic.Oleg Pudeyev2012-12-041-20/+32
| | | | | | | | | | | | | | | | PHPBB3-10205
| | * | [ticket/10205] Fix a parse error in oracle driver.Oleg Pudeyev2012-12-041-1/+1
| | | | | | | | | | | | | | | | PHPBB3-10205
| | * | [ticket/10205] Fix remaining db drivers.Oleg Pudeyev2012-12-045-43/+93
| | | | | | | | | | | | | | | | PHPBB3-10205
| | * | [ticket/10205] Avoid calling mysqli functions when mysqli is missing.Oleg Pudeyev2012-12-041-4/+14
| | | | | | | | | | | | | | | | PHPBB3-10205
| | * | [ticket/10205] Account for potentially missing extensions in dbal.Oleg Pudeyev2012-12-045-4/+93
| | | | | | | | | | | | | | | | PHPBB3-10205
* | | | [ticket/11015] Restore whitespace to avoid conflict when merging develop.Oleg Pudeyev2012-12-131-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11015
* | | | [ticket/11015] Change more docblocks.Oleg Pudeyev2012-12-041-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11015
* | | | [ticket/11015] Remove strange method_exists callIgor Wiedler2012-11-161-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11015
* | | | [ticket/11015] Fix some more whitespace in the driverIgor Wiedler2012-11-151-21/+21
| | | | | | | | | | | | | | | | PHPBB3-11015
* | | | [ticket/11015] Fix line endings of phpbb_db_driver to LFIgor Wiedler2012-11-151-1021/+1021
| | | | | | | | | | | | | | | | PHPBB3-11015
* | | | [ticket/11015] Fixup some things from the big mergeIgor Wiedler2012-11-1211-1131/+81
| | | | | | | | | | | | | | | | PHPBB3-11015
* | | | [ticket/11015] Remove old dbal classesIgor Wiedler2012-11-129-171/+0
| | | | | | | | | | | | | | | | PHPBB3-11015
* | | | Merge remote-tracking branch 'upstream/develop' into ticket/11015Igor Wiedler2012-11-122-1/+1049
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/develop: (666 commits) [ticket/11077] Remove code from old global announcements system [ticket/11189] Replace DEBUG_EXTRA with DEBUG [ticket/11189] Always log critical errors when in cron or in image output [ticket/11187] Added a blank array to fix errors in functional tests [ticket/10780] Make L_COLON available in the installer. [ticket/11183] Remove $load_extensions and weird dl() calls [ticket/10970] Added extra documentation to parse_dynamic_path. [ticket/10939] Added documentation for phpbb_request::file [ticket/10865] Use code tags for install/database_update.php. [ticket/10865] Should have been a slash. [ticket/10780] Use L_COLON on LDAP page. [ticket/10780] Use L_COLON on search backend ACP pages. [ticket/10780] Use L_COLON for "download all attachments". [ticket/10780] Use colon from language in ucp_pm_compose.php where possible. [ticket/10780] Replace colons in phpBB/adm/style/acp_ext_details.html. [ticket/10780] Replace colon usage in adm template output with {L_COLON} [ticket/10780] Replace colon usage in template output with {L_COLON} [ticket/11181] Bump PHP requirement to 5.3.3 (from 5.3.2) [develop-olympus] [ticket/11181] Bump PHP requirement to 5.3.3 (from 5.3.2) [ticket/10172] Show prosilver birthday list even if there are no birthdays. ... Conflicts: phpBB/common.php phpBB/download/file.php phpBB/includes/db/dbal.php phpBB/includes/db/firebird.php phpBB/includes/db/mssql.php phpBB/includes/db/mssql_odbc.php phpBB/includes/db/mssqlnative.php phpBB/includes/db/mysql.php phpBB/includes/db/mysqli.php phpBB/includes/db/oracle.php phpBB/includes/db/postgres.php phpBB/includes/db/sqlite.php phpBB/includes/extension/manager.php phpBB/install/database_update.php
| * | | [ticket/11189] Replace DEBUG_EXTRA with DEBUGNathaniel Guse2012-11-1010-29/+29
| | | | | | | | | | | | | | | | PHPBB3-11189
| * | | Merge branch 'develop-olympus' into developNils Adermann2012-08-261-1/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | * develop-olympus: [ticket/11066] Remove debug code error_reporting(E_ALL) from mssqlnative.php
| | * | [ticket/11066] Remove debug code error_reporting(E_ALL) from mssqlnative.phpJordan Rogers2012-08-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason, all errors are just flipped on before connecting to the database, despite the system as a whole having a different setting for displayable errors. Had to add & ~E_STRICT in PHP 5.4.5 to suppress Strict Standards messages, but I would assume that the db piece shouldn't be involved with setting error_reporting at all. PHPBB3-11066
| * | | [ticket/10875] Return $query_id from sql_saveNathan Guse2012-08-069-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Have to return the $query_id from sql_save so that the results can be pulled Updated cache test to do some basic sql cache testing. PHPBB3-10875
| * | | [ticket/10875] Fix SQL CachingNathan Guse2012-07-3010-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sql_save function cannot take arguments by reference since it is called by call_user_func_array() Replace use of isset($cache->sql_rowset[$query_id]) with $cache->sql_exists Replace $cache->cache_dir with $cache->get_driver()->cache_dir PHPBB3-10875
| * | | [ticket/10875] method_exists check is not required, interface declares themNathan Guse2012-07-309-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The changes to the cache drivers added an interface, which requires many cache functions exist. For these, we can remove the method_exists() check PHPBB3-10875
| * | | [ticket/10875] Changes to Cache Driver caused method_exists checks to failNathan Guse2012-07-309-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SQL Cache and other functions using the check method_exists($cache, failed because of the changes to the cache system. method_exists($cache has been changed to method_exists($cache->get_driver() PHPBB3-10875
| * | | Merge PR #865 branch 'dhruvgoel92/feature/sphinx-fulltext-search' into developOleg Pudeyev2012-07-271-1/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dhruvgoel92/feature/sphinx-fulltext-search: (57 commits) [feature/sphinx-fulltext-search] add sphinx to Authors file [feature/sphinx-fulltext-search] add sphinxapi.php file [feature/sphinx-fulltext-search] fix auth bug [feature/sphinx-fulltext-search] remove unused property [feature/sphinx-fulltext-search] use 9312 as default port [feature/sphinx-fulltext-search] fix language of host config [feature/sphinx-fulltext-search] fix sphinx for arbitary host [feature/sphinx-fulltext-search] coding changes acc to phbb conventions [feature/sphinx-fulltext-search] fixing comments [feature/sphinx-fulltext-search] add trailing slash in language [feature/sphinx-fulltext-search] improve port option [feature/sphinx-fulltext-search] remove stopwords and config path [feature/sphinx-fulltext-search] makes sql host configurable [feature/sphinx-fulltext-search] use readonly instead of disabled [feature/sphinx-fulltext-search] fix language keys' typo [feature/sphinx-fulltext-search] remove note from db_tools [feature/sphinx-fulltext-search] add support for postgres [feature/sphinx-fulltext-search] add pgsql functionality [feature/sphinx-fulltext-search] use Update in sphinx query [feature/sphinx-fulltext-search] use CASE instead of IF ...
| | * | | [feature/sphinx-fulltext-search] remove note from db_toolsDhruv2012-07-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note saying db_tools not being used currently is remove from db_tools.php We utilize db_tools in sphinx search. PHPBB3-10946
* | | | | [ticket/11015] Correctly set sql_layer in driver base classIgor Wiedler2012-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-11015