Details
-
Bug
-
Status: In Review (View Workflow)
-
Critical
-
Resolution: Unresolved
-
10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.4, 11.8
-
Q3/2025 Maintenance
Description
To reproduce the bug report, unpack the .7z archive file attached to the linked bug report, start MariaDB server and run the following statements to prepare environment:
$ mysql -e 'CREATE DATABASE local_portal' -u root
|
|
$ mysql -u root local_portal < /path/to/dir/where/archive/was/extracted/tableSchemaAndData-mariaDbTest
|
$ mysql -u root local_portal < /path/to/dir/where/archive/was/extracted/item_creation_retailer_group_retailers_mariadbtest.sql
|
$ mysql -u root local_portal < /path/to/dir/where/archive/was/extracted/qry_exporterImages-mariaDb_storedProcIssue.sql
|
$ mysql -u root local_portal < /path/to/dir/where/archive/was/extracted/vu_productimages_retailergroup-mariaDb-storedProcIssue.sql
|
|
$ mysql -u root local_portal
|
MariaDB [local_portal]> CALL qry_exporterImages_mariaDbTest(3569,4,628);
|
MariaDB [local_portal]> CALL qry_exporterImages_mariaDbTest(3569,4,628);
|
Result sets returned on the first and the second invocation of the stored routine qry_exporterImages_mariaDbTest are different (at least, number of rows returned by two invocations are different)
Attachments
Issue Links
- blocks
-
MDEV-6704 Wrong result (extra rows) on 2nd execution of PS with exists_to_in, MERGE view
-
- Stalled
-
-
MDEV-14557 Assertion `m_sp == __null' failed in Item_func_sp::init_result_field upon 2nd execution of SP
-
- Stalled
-
-
MDEV-19178 Server crash in create_view_field or Assertion `m_sp == __null' failed in Item_func_sp::fix_fields after invalidating view by dropping function
-
- Confirmed
-
-
MDEV-22534 Trivial correlation detection/removal for IN subqueries
-
- In Review
-
-
MDEV-23828 Wrong result upon 2nd execution of PS/SP with EXISTS subquery converted to semijoin
-
- Stalled
-
-
MDEV-26944 Server crash on selecting some data from information_schema
-
- Stalled
-
-
MDEV-30396 Wrong result with EXISTS subquery over view on 2nd execution of PS
-
- Closed
-
-
MDEV-31175 Server crash on 2n execution of select with view and aggregate function
-
- Confirmed
-
-
MDEV-31178 Server crash on second execution of prepare statement with in_predicate_conversion_threshold=1 (or =2)
-
- Confirmed
-
-
MDEV-32038 "Invalid use of group function" on 2nd execution of PS for SELECT from view created with aggregate functions
-
- Open
-
-
MDEV-33081 Crash on second execution of PS for query over many views
-
- Stalled
-
-
MDEV-34184 SIGSEGV in st_select_lex::update_used_tables | JOIN::optimize_inner
-
- Open
-
-
MDEV-35673 Correlated subquery problems causing wrong results and server crash
-
- In Review
-
- is blocked by
-
MDEV-31277 Wrong result on 2-nd execution of PS to select from view using derived
-
- Closed
-
-
MDEV-32466 Potential memory leak on execuing of create view statement
-
- Closed
-
-
MDEV-32569 Failure when executing PS for query using IN subquery
-
- Closed
-
-
MDEV-32754 Failure at second executon of PS for query using stored function
-
- Closed
-
-
MDEV-36607 find_order_in_list mismatch when order item needs fixing()
-
- Closed
-
- is duplicated by
-
MDEV-31269 Various SIGSEGV crashes, UBSAN issues and memory corruption on 2nd PS execution caused by exists-to-in
-
- Stalled
-
- relates to
-
MDEV-31277 Wrong result on 2-nd execution of PS to select from view using derived
-
- Closed
-
-
MDEV-36877 SIGABRT due to dereferencing a null Item pointer occurs in Item::val_native()
-
- Closed
-