- Issue created by @mondrake
- last update
about 1 year ago Custom Commands Failed - @mondrake opened merge request.
- last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago 30,205 pass - Status changed to Needs review
about 1 year ago 9:02pm 22 September 2023 - ๐ฎ๐นItaly mondrake ๐ฎ๐น
Added a new exception (database independent), and changed Sql to use Connection::exceptionHandler that throws the new exception.
- last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago 30,205 pass - last update
about 1 year ago 30,205 pass - last update
about 1 year ago 30,205 pass - last update
about 1 year ago 30,199 pass, 2 fail - last update
about 1 year ago 30,205 pass - Assigned to mondrake
- Status changed to Needs work
about 1 year ago 8:46am 23 September 2023 - ๐ฎ๐นItaly mondrake ๐ฎ๐น
I'd like to add
@group Database
tests for the new exceptions. - last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago 30,207 pass - Issue was unassigned.
- Status changed to Needs review
about 1 year ago 9:41am 23 September 2023 - Status changed to Needs work
about 1 year ago 10:26am 23 September 2023 - ๐ณ๐ฑNetherlands daffie
We need a change record for the new exceptions. Also the IS needs to be updated for the new exceptions.
- last update
about 1 year ago 30,207 pass - last update
about 1 year ago 30,207 pass - Status changed to Needs review
about 1 year ago 12:45pm 23 September 2023 - ๐ฎ๐นItaly mondrake ๐ฎ๐น
CR drafted, https://www.drupal.org/node/3389316 โ
- Status changed to Needs work
about 1 year ago 8:49pm 23 September 2023 - ๐ณ๐ฑNetherlands daffie
Can we add testing for PostgreSQL and SQLite.
The maximum character length for a text field in PostgreSQL is 10485760. See: https://www.postgresql.org/docs/current/datatype-character.html
The maximum character length for a text field in SQLite is 1 billion. See: https://www.sqlite.org/limits.html
The maximum number of columns in an index in PostgreSQL is 32. See: https://www.postgresql.org/docs/current/limits.html
The maximum number of columns in an index in SQLite is 2000. See: https://www.sqlite.org/limits.html
- Status changed to Needs review
about 1 year ago 9:41pm 23 September 2023 - Status changed to Needs work
about 1 year ago 2:54pm 6 October 2023 - ๐ซ๐ทFrance andypost
I bet it just needs to extend existing tests for pgsql and sqlite like it was done for mysql
- Status changed to Needs review
about 1 year ago 4:40pm 6 October 2023 - ๐ฎ๐นItaly mondrake ๐ฎ๐น
Well not extend, they have to be written specifically for each database since each database has different limitations, see #10.
One may argue that a test creating a table with over 2000 columns (sqlite) to trigger the failure is overkill. Thatโs why I suggest to do that in separate issues where each database tests can be discussed separately.
The blocker tag is only relevant for mysqli implementation.
- ๐ซ๐ทFrance andypost
@mondrake Thanks for explanation, it makes sense!
Moreover there's existing follow-up ๐ Forbid limited length primary and unique keys, allow only in indexes Needs work
- Status changed to RTBC
about 1 year ago 7:25am 9 October 2023 - ๐ณ๐ฑNetherlands daffie
All code changes look good.
The IS and the CR are in order.
The testing for PostgreSQL and SQLite will be done in a followup.
For me it is RTBC. - last update
about 1 year ago 30,384 pass - ๐ฎ๐นItaly mondrake ๐ฎ๐น
Filed followups for PostgreSQL and SQLite.
- Status changed to Fixed
about 1 year ago 1:07pm 9 October 2023 Automatically closed - issue fixed for 2 weeks with no activity.