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
8c33a2180d
[ticket/17148] Fix sql_table_exists() error for PostgreSQL 9.3 and earlier
...
PostgreSQL 9.3 and earlier versions don't support Empty SELECT lists
(support was added since v. 9.4).
Also add PostgreSQL 9.3 tests as earlier images fail in current tests env.
PHPBB3-17148
2023-06-18 00:46:27 +07:00
SagePtr
b86d15a766
[ticket/17056] Fix PHP 8.2 deprecation warning about ${var} syntax
...
The "${var}" style of string interpolation is deprecated in PHP 8.2,
using "{$var}" syntax instead.
PHPBB3-17056
2022-11-02 00:30:46 +02:00
Marc Alexander
ecc79ea2ec
Merge branch 'prep-release-3.3.4' into 3.3.x
2021-05-01 21:51:16 +02:00
Marc Alexander
e8afa29013
[ticket/16740] Implement sql_table_exists for psql w/out debug spam
...
Failed pg_query() results in PHP notices now ...
PHPBB3-16740
2021-03-28 11:40:23 +02:00
Marc Alexander
a8ffd339fe
[ticket/16736] Fix invalid placement of visibility qualifiers next to static
...
PHPBB3-16736
2021-03-23 22:12:59 +01:00
Marc Alexander
05a58e8942
Merge pull request #6005 from AlfredoRamos/ticket/16525
...
[ticket/16525] Remove usage of pg_constraint.consrc for PostgreSQL 12
2020-08-12 22:00:16 +02:00
Alfredo Ramos
201a5b6e06
[ticket/16525] Remove usage of pg_constraint.consrc for PostgreSQL 12
...
The column pg_constraint.consrc has been deprecated for a long time,
and it was finally removed in PostgreSQL 12.0
PHPBB3-16525
2020-06-10 04:41:00 -05:00
Marc Alexander
bd02c5bd08
[ticket/16051] Remove mysql driver as it's no longer supported in PHP >= 7.0
...
PHPBB3-16051
2019-10-06 12:07:35 +02:00
Marc Alexander
6007978e7b
Merge branch '3.2.x' into 3.3.x
2019-06-17 09:03:38 +02:00
rxu
84ef70b42f
[ticket/16061] Migrator to drop unique indexes when needed
...
PHPBB3-16061
2019-05-18 02:08:30 +07:00
luzpaz
a9a28859d4
[ticket/15424] Multiple typo fixes in docs & comments
...
Fixed typos in some docs, guidelines, some non-user-facing files.
PHPBB3-15424
2019-05-08 22:20:56 +02:00
Derky
182a96f273
Merge pull request #4680 from marc1706/ticket/15055
...
[ticket/15055] Add appveyor file to allow running tests on appveyor as well
2018-01-05 22:44:34 +01:00
Marc Alexander
ee8b72d733
[ticket/15055] Properly support index length check on mssql
...
PHPBB3-15055
2018-01-01 18:57:50 +01:00
Marc Alexander
400fc0f73d
[ticket/15055] Only drop dependent PK indexes and fix more tests for mssql
...
PHPBB3-15055
2018-01-01 18:55:12 +01:00
Marc Alexander
635befa00e
[ticket/15055] Drop primary keys when necessary and fix test comparisons
...
PHPBB3-15055
2018-01-01 18:54:41 +01:00
Marc Alexander
5bb62f5560
[ticket/15055] Use unicode column types where necessary
...
PHPBB3-15055
2018-01-01 18:54:34 +01:00
rxu
f8fbe37936
[ticket/14972] replace all occurrences of sizeof() with the count()
...
PHPBB3-14972
2018-01-01 13:56:04 +01:00
David Colón
3574832ddb
[ticket/15368] Correct function reference in MSSQL db tools
2017-09-17 18:04:14 -04:00
Serge Skripchuk
3aac61cfa7
[ticket/15319] Add IF EXISTS to Postgres DROP SEQUENCE query
2017-08-13 15:33:04 +03:00
lavigor
b7ce395fbe
[ticket/15259] Fatal error on SQLite/Oracle database update
...
PHPBB3-15259
2017-07-01 23:01:34 +03:00
Marc Alexander
bcc85ab679
[ticket/14992] Correctly remove table name and prefix from keys
...
PHPBB3-14992
2017-05-21 16:01:27 +02:00
David Colón
59ac4a71b6
[ticket/14992] Check index name length in a more proper way
...
[ticket/14992] Add indexes to user_notifications table
2017-03-01 23:09:56 -05:00
David Colón
e5eb702514
[ticket/14992] Add indexes to user_notifications table
...
[ticket/14992] Change how index length is checked
[ticket/14992] Remove duplicates from user_notifications table
[ticket/14992] Add unique index to user_notifications table
[ticket/14992] Shorten unique index name
[ticket/14992] Shorten another index for user notifications
2017-03-01 23:09:27 -05:00
David Colón
2416a743f5
[ticket/15047] Reinstate length check for MSSQL 2000
2017-01-26 18:44:18 -05:00
David Colón
fae78b4c01
[ticket/15047] Do not set default for identity cols
2017-01-26 08:43:39 -05:00
David Colón
c53054f2b7
[ticket/15047] Use brackets due to keyword usage
2017-01-26 08:43:39 -05:00
David Colón
b52ee87df8
[ticket/15047] Don't attempt to drop primary keys
2017-01-26 08:43:39 -05:00
David Colón
66b0fe3b5d
[ticket/15047] No index name length check for mssql
2017-01-26 08:43:06 -05:00
Jakub Senko
e974f338af
[ticket/14739] Remove SQLite 2.8.x database driver
...
PHPBB3-14739
2016-11-16 17:59:28 +01:00
Jakub Senko
c64b8102b7
[ticket/10809] Remove MSSQL support
...
PHPBB3-10809
2016-08-02 12:06:06 +02:00
Tristan Darricau
8769e765a2
Merge branch '3.1.x' into 3.2.x
...
* 3.1.x:
[ticket/14532] Do not escape column default in mssql
2016-04-03 16:02:50 +02:00
Tristan Darricau
39c9baa574
Merge pull request #4121 from marc1706/ticket/11875
...
[ticket/11875] Use 4-byte integer instead of 3-byte integer for ID columns
* marc1706/ticket/11875:
[ticket/11875] Add back new line
[ticket/11875] Change more columns to use UINT and add missings ones
[ticket/11875] Add migration file
[ticket/11875] Recreate schemas for install
[ticket/11875] Create new map for UNSIGNED 4-byte integer
[ticket/11875] Upgrade default data type from MEDIUMINT to INT
2016-01-18 23:29:41 +01:00
Marc Alexander
a30ecb81f8
Merge branch '3.1.x'
2016-01-17 23:28:33 +01:00
Marc Alexander
192a5f19f4
Merge pull request #2064 from hjpotter92/ticket/11875
...
[ticket/11875] Set default data type from MEDIUMINT (3byte) to INT(10) (4byte)
Conflicts:
phpBB/includes/db/schema_data.php
phpBB/install/schemas/mysql_40_schema.sql
phpBB/install/schemas/mysql_41_schema.sql
phpBB/install/schemas/oracle_schema.sql
phpBB/install/schemas/postgres_schema.sql
phpBB/phpbb/db/tools/tools.php
2016-01-13 13:21:08 +01:00
Marc Alexander
73900d1857
[ticket/13454] Remove more unused variables
...
This should be the last part. Off to checking if the changes were correct.
PHPBB3-13454
2016-01-06 13:52:11 +01:00
Matt Friedman
dbb538afbd
[ticket/13725] Coding guidelines: static public
...
PHPBB3-13725
2015-03-27 00:02:20 -07:00
Joas Schilling
ec1fb0423d
[ticket/10748] Split postgres DB tools into it's own class
...
PHPBB3-10748
2015-02-13 22:49:29 +01:00
Joas Schilling
74d1b1812f
[ticket/10748] Overwrite the type map correctly
...
PHPBB3-10748
2015-02-07 14:41:40 +01:00
Joas Schilling
4ea90ca44d
[ticket/10748] Split MS SQL from the db tools file into it's own
...
PHPBB3-10748
2015-02-07 14:36:26 +01:00
Joas Schilling
fc91616fad
Merge branch 'develop-ascraeus' into develop
2015-01-23 17:32:57 +01:00
Joas Schilling
11b6bc5722
[ticket/13487] Add factory for db tool class
...
This allows us to split up the large file one by one easily.
PHPBB3-13487
2015-01-10 16:25:24 +01:00
Joas Schilling
60b45bb0bd
Merge branch 'develop-ascraeus' into develop
2014-12-27 13:51:30 +01:00
Joas Schilling
ec90f2b380
[ticket/13421] Move tools to subdirectory
...
PHPBB3-13421
2014-12-06 17:10:07 +01:00