mariadb/storage
Marko Mäkelä 47cd984a3a Fix ut_ad(!leaf) failure in rec_get_offsets_func() with spatial index
This fixes a regression that only affects debug builds, caused by
commit 48192f963a which is necessary
preparation for MDEV-11369 instant ADD COLUMN. (Although that is a
10.3 task, to ease merges between 10.2 and 10.3, this change that
improves debug checks was pushed to 10.2 already.)

Unlike btr_pcur_restore_position(), rtr_cur_restore_position()
can create a search tuple out of a non-leaf page record. So,
we must pass 'bool leaf' parameter to dict_index_build_data_tuple().

dict_index_build_data_tuple(): Add a debug-only parameter 'bool leaf'.

rec_copy_prefix_to_dtuple(): Make the parameter debug-only.

row_sel_get_clust_rec_for_mysql(): In the debug code for spatial index,
remove an unnecessary call to buf_page_get_gen(), and use the already
latched block directly.
2017-09-20 22:38:37 +03:00
..
archive Merge branch '10.1' into 10.2 2017-07-08 09:56:28 +02:00
blackhole
cassandra Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
connect Merge remote-tracking branch 'connect/10.2' into 10.2 2017-09-19 15:13:53 +03:00
csv Merge 10.0 into 10.1 2017-05-23 08:59:03 +03:00
example
federated MDEV-12951 Server crash [mysqld got exception 0xc0000005] 2017-09-18 10:12:23 +02:00
federatedx Merge branch '10.1' into 10.2 2017-08-17 11:38:34 +02:00
heap Merge branch '10.1' into 10.2 2017-08-17 11:38:34 +02:00
innobase Fix ut_ad(!leaf) failure in rec_get_offsets_func() with spatial index 2017-09-20 22:38:37 +03:00
maria Add ATTRIBUTE_NORETURN and ATTRIBUTE_COLD 2017-08-31 09:30:55 +03:00
mroonga Merge branch '10.1' into 10.2 2017-07-08 09:56:28 +02:00
myisam Merge branch '10.1' into 10.2 2017-09-19 12:43:02 +03:00
myisammrg Fix results for parts/repair_table test after enabling it for MyISAM 2017-08-28 19:41:13 +03:00
oqgraph Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
perfschema Merge 10.1 into 10.2 2017-05-23 11:09:47 +03:00
rocksdb MDEV-13602: rocksdb.index_merge_rocksdb2 failed in buildbot 2017-09-12 13:32:09 +03:00
sequence Fix several compile warnings on Windows 2017-03-17 08:56:57 +00:00
sphinx Merge 10.1 into 10.2 2017-05-22 09:46:51 +03:00
spider Merge 10.1 into 10.2 2017-08-31 09:30:40 +03:00
test_sql_discovery MDEV-13712 Spelling errors in the error message 2017-09-18 10:12:23 +02:00
tokudb Merge branch '10.1' into 10.2 2017-09-19 12:43:02 +03:00
xtradb Merge branch '10.1' into 10.2 2017-09-19 12:43:02 +03:00