mariadb/storage
Debarun Banerjee e59914034a BUG#21065746 RQG_PARTN_PRUNING_VALGRIND FAILED IN REM0REC.CC
Problem :
---------
This is a regression of Bug#19138298. In purge_node_t::validate_pcur
we are trying to get offsets for all columns of clustered index from
stored record in persistent cursor. This would fail when stored record
is not having all fields of the index. The stored record stores only
fields that are needed to uniquely identify the entry.

Solution :
----------
1. Use pcur.old_n_fields to get fields that are stored
2. Add comment to note dependency between stored fields in purge node
ref and stored cursor.
3. Return if the cursor record is not already stored as it is not safe
to access cursor record directly without latch.

Reviewed-by: Marko Makela <marko.makela@oracle.com>

RB: 9139
2015-06-03 11:43:12 +05:30
..
archive Description: When we execute a correlated subquery on an 2014-04-10 11:10:31 +05:30
blackhole Merge 5.5.24 back into main 5.5. 2012-05-07 22:20:42 +02:00
csv Updated/added copyright headers 2012-02-16 10:48:16 +01:00
example Updated/added copyright headers 2014-01-06 10:52:35 +05:30
federated Bug #12671631 CREATE TABLE .. LIKE .. FEDERATED TABLE 2015-01-28 09:43:34 +05:30
heap Bug#18463911 : SERVER CRASHES ON CREATING A TEMP TABLE WITH 2014-06-26 10:08:55 +05:30
innobase BUG#21065746 RQG_PARTN_PRUNING_VALGRIND FAILED IN REM0REC.CC 2015-06-03 11:43:12 +05:30
myisam Bug# 19573096: LOADING CORRUPTED GEOMETRY DATA INTO A 2015-03-23 08:49:26 +05:30
myisammrg Updated/added copyright header. Added line "use is subject to license terms" 2014-02-17 18:19:04 +05:30
ndb Updated/added copyright header. Added line "use is subject to license terms" 2014-02-17 18:19:04 +05:30
perfschema Updated/added copyright header. Added line "use is subject to license terms" 2014-02-17 18:19:04 +05:30