Skip to content

Mariadb 10.11.17 doesn't work with Quote::markQuotesRecollect #40826

@stp94

Description

@stp94

Preconditions and environment

  • version 2.4.7 -p10
  • Mariadb 10.11.17

query from:
\Magento\Quote\Model\ResourceModel\Quote::markQuotesRecollect

UPDATE quote AS t1
INNER JOIN (SELECT quote_item.quote_id AS entity_id
FROM quote_item
WHERE (product_id IN ( '24442' ))
GROUP BY quote_id) AS t2
ON t1.entity_id = t2.entity_id
SET t1.trigger_recollect = 1,
t1.updated_at = t1.updated_at

This query return result:
Query 1 ERROR at Line 1: : Lost connection to MySQL server during query

on MariaDB 10.11.17, on 10.11.16 everything works fine. Testing on two environements.

Steps to reproduce

Example.
Upgrade MariaDB to 10.11.17
run query from \Magento\Quote\Model\ResourceModel\Quote::markQuotesRecollect
or run this method.

Expected result

Query should be executed with no problems.

Actual result

Query can't executed

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Ready for Confirmation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions