Bug #71630 Assertion `! is_set()' fails on UPDATE on a partitioned table with subquery
| Submitted: | 7 Feb 2014 19:36 | Modified: | 7 Feb 2014 20:06 |
|---|---|---|---|
| Reporter: | Elena Stepanova | Email Updates: | |
| Status: | Patch pending | Impact on me: | |
| Category: | MySQL Server: Partitions | Severity: | S3 (Non-critical) |
| Version: | 5.1, 5.5, 5.6, 5.7 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[7 Feb 2014 19:36]
Elena Stepanova
[7 Feb 2014 20:06]
Sveta Smirnova
Thank you for the report. Verified as described.
[8 Feb 2014 20:57]
Mattias Jonsson
Bad error handling. Quick patch:
=== modified file 'sql/sql_update.cc'
--- sql/sql_update.cc
+++ sql/sql_update.cc
@@ -394,6 +394,8 @@ int mysql_update(THD *thd,
if (prune_partitions(thd, table, conds))
{
free_underlaid_joins(thd, select_lex);
+ if (thd->is_error())
+ DBUG_RETURN(1);
my_ok(thd); // No matching records
DBUG_RETURN(0);
}
[28 May 1:12]
MySQL Admin
Posted by developer: Bug status updated to 'Patch pending'
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.