aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/driver
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/13454] Remove unused variablesMarc Alexander2016-01-061-1/+1
| | | | | | This is part 5 and there is more to come. PHPBB3-13454
* [ticket/13454] Remove unused variablesMarc Alexander2016-01-061-2/+0
| | | | | | This is the first part of the changes. More to come. PHPBB3-13454
* [feature/sql-bool-builder] Fixing misuse of LOGICAL_OP instead of STATEMENTSbrunoais2015-11-241-1/+1
| | | | PHPBB3-13652
* [feature/sql-bool-builder] Fixing typos in previous commitbrunoais2015-11-121-2/+2
| | | | PHPBB3-13652
* [feature/sql-bool-builder] Changing syntax pt3. Don't use magic numbersbrunoais2015-11-111-15/+24
| | | | PHPBB3-13652
* [feature/sql-bool-builder] Changing syntaxbrunoais2015-11-111-5/+5
| | | | | | Changing the syntax used to the one Nicofuma suggested. PHPBB3-13652
* [ticket/14044] Automatically trigger rollback on insert in transactionMarc Alexander2015-10-231-2/+8
| | | | | | | | | | | | | | | This will cause the sqlite3 driver to automatically rollback transactions if an insert fails during a transaction. Other dbms trigger a rollback inside the sql_error() function with a rollback command. However, this manual rollback command might fail on sqlite3 due to ongoing queries. With this change, sqlite3 itself will abort any ongoing queries and initiate the rollback automatically. Since manually triggered rollbacks will fail after the rollback was started automatically, we catch exceptions output by the exec() command during rollback and any exception that might be thrown by fetchArray() due to aborted queries. PHPBB3-14044
* [ticket/14044] Fix Sqlite error in testsMarc Alexander2015-10-231-1/+13
| | | | PHPBB3-14044
* [ticket/13652] Fix coding styleTristan Darricau2015-10-141-1/+1
| | | | PHPBB3-13652
* Merge pull request #3441 from brunoais/feature/sql-bool-builderTristan Darricau2015-10-141-1/+136
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [feature/sql-bool-builder] Extending DBAL query builder for boolean generation * brunoais/feature/sql-bool-builder: [feature/sql-bool-builder] Improved tests output to show the SQL error. [feature/sql-bool-builder] Adding the IS operator to predicted operators [feature/sql-bool-builder] test_single_not_like [feature/sql-bool-builder] test_single_like [feature/sql-bool-builder] test_single_not_in [feature/sql-bool-builder] test_single_in [feature/sql-bool-builder] test_and_of_or_of_and [feature/sql-bool-builder] test_triple_and_with_in [feature/sql-bool-builder] test_double_and_with_not_of_and [feature/sql-bool-builder] test_triple_and_with_is_null [feature/sql-bool-builder] Prepare testing class [feature/sql-bool-builder] Added LIKE and NOT_LIKE to the comparations [feature/sql-bool-builder] Explain better the code in the first [feature/sql-bool-builder] Also use parenthesis for the NOT operator [feature/sql-bool-builder] AS keyword must be lowercase; [feature/sql-bool-builder] Added code to use this feature for the WHERE clause [feature/sql-bool-builder] Removed non-necessary spaces [feature/sql-bool-builder] First working version
| * [feature/sql-bool-builder] Adding the IS operator to predicted operatorsbrunoais2015-03-171-0/+18
| | | | | | | | PHPBB3-13652
| * [feature/sql-bool-builder] Added LIKE and NOT_LIKE to the comparationsbrunoais2015-03-161-0/+12
| | | | | | | | PHPBB3-13652
| * [feature/sql-bool-builder] Explain better the code in the firstbrunoais2015-03-161-0/+2
| | | | | | | | | | | | Explain what that if and check is for in the first method that is called. PHPBB3-13652
| * [feature/sql-bool-builder] Also use parenthesis for the NOT operatorbrunoais2015-03-161-1/+1
| | | | | | | | | | | | Be on the safe side, also use parenthesis for the NOT operator PHPBB3-13652
| * [feature/sql-bool-builder] AS keyword must be lowercase;brunoais2015-03-161-1/+1
| | | | | | | | | | | | AS keyword must be lowercase; expected "as" but found "AS" PHPBB3-13652
| * [feature/sql-bool-builder] Added code to use this feature for the WHERE clausebrunoais2015-03-161-1/+12
| | | | | | | | PHPBB3-13652
| * [feature/sql-bool-builder] Removed non-necessary spacesbrunoais2015-03-161-29/+29
| | | | | | | | PHPBB3-13652
| * [feature/sql-bool-builder] First working versionbrunoais2015-03-161-0/+92
| | | | | | | | PHPBB3-13652
* | Merge branch '3.1.x'Tristan Darricau2015-09-091-0/+1
|\ \ | | | | | | | | | | | | * 3.1.x: [ticket/13423] Set busyTimeout on connect to prevent db locking
| * | [ticket/13423] Set busyTimeout on connect to prevent db lockingMarc Alexander2015-09-071-0/+1
| | | | | | | | | | | | PHPBB3-13423
* | | Merge branch '3.1.x'Andreas Fischer2015-08-201-1/+1
|\ \ \ | |/ / | | / | |/ |/| * 3.1.x: [ticket/14116] sql_affectedrows method has no arguments
| * [ticket/14116] sql_affectedrows method has no argumentsMatt Friedman2015-08-191-1/+1
| | | | | | | | PHPBB3-14116
* | Merge branch '3.1.x'Andreas Fischer2015-02-171-2/+1
|\ \ | |/ | | | | | | * 3.1.x: [ticket/13570] Remove unnecessary ternary condition from mysqli driver
| * [ticket/13570] Remove unnecessary ternary condition from mysqli driverJakub Senko2015-02-161-2/+1
| | | | | | | | PHPBB3-13570
* | [feature/patchwork-utf8] Remove utf8_str_replaceNicolas Grekas2014-11-081-4/+4
| |
* | Merge branch 'develop-ascraeus' into developJoas Schilling2014-08-1010-3/+111
|\ \ | |/ | | | | | | | | | | | | | | * develop-ascraeus: [ticket/12671] Possibility to use NOT LIKE expression [ticket/12671] Possibility to use NOT LIKE expression [ticket/12671] Possibility to use NOT LIKE expression [ticket/12671] Possibility to use NOT LIKE expression [ticket/12671] Possibility to use NOT LIKE expression
| * [ticket/12671] Possibility to use NOT LIKE expressionGeolim42014-08-092-7/+7
| | | | | | | | PHPBB3-12671
| * [ticket/12671] Possibility to use NOT LIKE expressionGeolim42014-08-092-4/+4
| | | | | | | | PHPBB3-12671
| * [ticket/12671] Possibility to use NOT LIKE expressionGeolim42014-08-082-1/+18
| | | | | | | | PHPBB3-12671
| * [ticket/12671] Possibility to use NOT LIKE expressionGeolim42014-08-089-0/+91
| | | | | | | | PHPBB3-12671
* | Merge pull request #2637 from Nicofuma/ticket/12387Joas Schilling2014-08-0710-138/+247
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | [ticket/12387] Cleanup *_free_result call and remove @ on that call * Nicofuma/ticket/12387: [ticket/12387] Fix a call to sql_freeresult in full_text_native [ticket/12387] Fix \phpbb\db\driver\mysqli::sql_freeresult [ticket/12387] Use the hash as query_id for caching [ticket/12387] Remove unnecessary checks [ticket/12387] mssql_query return true if a select query returns 0 row [ticket/12387] Cleanup *_free_result call and remove @ on that call
| * [ticket/12387] Fix \phpbb\db\driver\mysqli::sql_freeresultTristan Darricau2014-06-221-1/+6
| | | | | | | | PHPBB3-12387
| * [ticket/12387] Remove unnecessary checksTristan Darricau2014-06-225-5/+5
| | | | | | | | PHPBB3-12387
| * [ticket/12387] mssql_query return true if a select query returns 0 rowTristan Darricau2014-06-221-2/+12
| | | | | | | | PHPBB3-12387
| * [ticket/12387] Cleanup *_free_result call and remove @ on that callTristan Darricau2014-06-2210-133/+227
| | | | | | | | PHPBB3-12387
* | Merge pull request #2711 from n-aleha/ticket/12829Andreas Fischer2014-07-111-6/+2
|\ \ | | | | | | | | | | | | | | | | | | [ticket/12829] Remove check for pgsql 8.3/8.2 * n-aleha/ticket/12829: [ticket/12829] Remove check for pgsql 8.3/8.2
| * | [ticket/12829] Remove check for pgsql 8.3/8.2n-aleha2014-07-071-6/+2
| | | | | | | | | | | | | | | | | | Remove check for pgsql 8.3/8.2 and set multi_insert to true. PHPBB3-12829
* | | Merge pull request #2690 from Noxwizard/ticket/12802Tristan Darricau2014-07-071-3/+4
|\ \ \ | |/ / |/| | | | | | | | | | | | | | [ticket/12802] Properly handle connection failures in SQLite3 * Noxwizard/ticket/12802: [ticket/12802] Properly handle connection failures in SQLite3
| * | [ticket/12802] Properly handle connection failures in SQLite3Patrick Webster2014-07-031-3/+4
| | | | | | | | | | | | PHPBB3-12802
* | | Merge remote-tracking branch 'github-nicofuma/ticket/12446' into ↵Nils Adermann2014-07-043-0/+615
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nicofuma/ticket/12446: [ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_exts
| * | | [ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_extsTristan Darricau2014-06-263-0/+615
| | | | | | | | | | | | | | | | PHPBB3-12446
* | | | [ticket/12764] Properly handle errors upon connecting to MySQLi databaseMarc Alexander2014-06-261-1/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As the db_connect_id gets set up by mysql_init(), the db_connect_id will be an object with empty settings instead of just empty. Even if mysql_real_connect() encounters an error upon connecting, the db_connect_id is still set. This will result in trying to just access the database which obviously does nothing. By setting db_connect_id to an empty string, the script will not try to query th database and properly handle any errors that occur upon connecting. PHPBB3-12764
* | | Merge pull request #2629 from nickvergessen/ticket/12747Andreas Fischer2014-06-221-534/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12747] Drop support for Firebird * nickvergessen/ticket/12747: [ticket/12747] Remove some methods which are not used anymore [ticket/12747] Drop support for Firebird Conflicts: phpBB/phpbb/db/driver/firebird.php
| * | | [ticket/12747] Drop support for FirebirdJoas Schilling2014-06-201-526/+0
| | | | | | | | | | | | | | | | PHPBB3-12747
* | | | Merge pull request #2591 from rxu/ticket/12704Joas Schilling2014-06-2210-0/+80
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | [ticket/12704] Improve the load time information in the footer when enabled * rxu/ticket/12704: [ticket/12704] Improve the load time information in the footer when enabled
| * | | [ticket/12704] Improve the load time information in the footer when enabledrxu2014-06-2010-0/+80
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | PR #2570 has added new constant to display load time information without debug mode is being on (https://tracker.phpbb.com/browse/PHPBB3-12687). This patch expands the total load time info with SQL/PHP load times, while hiding the additional info with <abbr> element. PHPBB3-12704
* | | [ticket/12756] Fix mysqli_fetch_assoc on hhvmTristan Darricau2014-06-211-12/+25
| |/ |/| | | | | PHPBB3-12756
* | [ticket/12721] Add Squiz.Arrays.ArrayBracketSpacing in the legacy rulesetTristan Darricau2014-06-161-3/+3
|/ | | | PHPBB3-12721
* Merge remote-tracking branch 'upstream/develop-ascraeus' into ticket/12594Yuriy Rusko2014-05-272-2/+22
|\ | | | | | | | | Conflicts: phpBB/docs/hook_system.html
| * [ticket/12570] Keep MySQLi proceduralJoas Schilling2014-05-261-2/+2
| | | | | | | | PHPBB3-12570