1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-12 12:46:38 +02:00
Commit Graph

25 Commits

Author SHA1 Message Date
99884d8bbb Merge pull request #6579 from marc1706/ticket/17281
[ticket/17281] Update to psalm 5.x
2024-01-31 21:14:15 +01:00
661a8a6117 [ticket/17281] Update psalm config and fix issues
PHPBB3-17281
2023-12-30 17:41:12 +01:00
rxu
83f9838217 Merge branch 'ticket/17232' into ticket/17232-master 2023-12-20 15:58:15 +07:00
rxu
6a8140e82b [ticket/17232] Improve SQL error messages handling
PHP 7 changes how most errors are reported by PHP. Instead of reporting errors
through the traditional error reporting mechanism used by PHP 5, most errors
are now reported by throwing Error exceptions.
Use it to display meaningful SQL error messages instead of PHP fatal errors
for SQL errors.

PHPBB3-17232
2023-12-20 15:07:14 +07:00
rxu
3e37770b61 Merge branch 'ticket/17142' into ticket/17142-master 2023-06-08 10:20:24 +07:00
rxu
7adee3c50d [ticket/17142] Fix DBMS+cache related PHP warnings while installing
PHPBB3-17142
2023-06-08 00:59:32 +07:00
80e55b2ec8 Merge branch '3.3.x' 2023-04-11 22:22:26 +02:00
b5c316c9c3 [ticket/8071] Make nextid alias of sql_last_inserted_id and add deprecation
PHPBB3-8071
2023-01-31 17:17:42 +01:00
948023078b [ticket/16955] Clean up code in db classes
PHPBB3-16955
2022-12-28 08:37:20 +01:00
9fb98201f2 [ticket/8071] Add sql_last_inserted_id alias for sql_nextid
Fixes [DBAL function sql_nextid - name is
misleading](https://tracker.phpbb.com/browse/PHPBB3-8071).

Per the tracker issue:
> This function gets the ID of the last inserted row, not the ID of the next row
to be inserted (which is difficult due to different autoincrement steps and also
lends itself nicely to race conditions).

@iwisdom replied that the naming is consistent with how PHP itself names this
functionality, but the link they posted doesn't support that (I guess this is
referring to a much older version of PHP? The comment is from 2009).

PHPBB3-8071
2022-04-26 15:03:42 +01:00
139eb17bb7 [ticket/12624] Add debug.load_time parameter
PHPBB3-12624
2019-05-09 18:40:15 +02:00
b4d4336ef4 [ticket/12627] Add debug.sql_explain parameter
PHPBB3-12627
2019-05-09 18:29:22 +02:00
f6301ea85a Merge pull request #5266 from senky/ticket/12624
[ticket/12624] Add debug.load_time parameter

* github.com:/phpbb/phpbb:
  [ticket/12624] Add debug.load_time parameter
2018-07-08 18:32:45 +02:00
bdff0f5590 [ticket/12627] Add debug.sql_explain parameter
PHPBB3-12627
2018-07-06 17:17:48 +02:00
fcc3dd996d [ticket/12624] Add debug.load_time parameter
PHPBB3-12624
2018-07-06 17:01:15 +02:00
58d1dcc7f2 Merge pull request #2637 from Nicofuma/ticket/12387
[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
2014-08-07 12:09:01 +02:00
50f4bea610 [ticket/12387] Remove unnecessary checks
PHPBB3-12387
2014-06-22 19:35:07 +02:00
2276c1c0f2 [ticket/12387] Cleanup *_free_result call and remove @ on that call
PHPBB3-12387
2014-06-22 18:16:21 +02:00
rxu
f850d5fa90 [ticket/12704] Improve the load time information in the footer when enabled
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
2014-06-20 20:57:32 +08:00
a759704b39 [ticket/12594] Remove @package tags and update file headers
PHPBB3-12594
2014-05-27 20:51:13 +02:00
1f28451d58 [ticket/12282] Use {@inheritDoc} for inherited methods
PHPBB3-12282
2014-04-01 19:17:40 +02:00
7aa8f6461f [task/code-sniffer] Remove the IN_PHPBB check side-effect from class files.
PHPBB3-11980
2013-10-30 13:05:28 +01:00
76ddf1ca41 [ticket/11918] Make sql_freeresult() consistent across all DB drivers
PHPBB3-11918
2013-10-14 16:37:23 -05:00
b95fdacdd3 [ticket/11700] Move all recent code to namespaces
PHPBB3-11700
2013-09-16 00:25:27 +02:00
7030578bbe [ticket/11698] Moving all autoloadable files to phpbb/
PHPBB3-11698
2013-07-14 01:32:34 -04:00