mariadb/pars
marko 5288876e23 branches/zip: Make merge sort handle externally stored columns.
Some things still fail in innodb-index.test, and there seems to be
a race condition (data dictionary lock wait) when running with --valgrind.

dfield_t: Add an "external storage" flag, dfield->ext.

dfield_is_null(), dfield_is_ext(), dfield_set_ext(), dfield_set_null():
New functions.

dfield_copy(), dfield_copy_data(): Add const qualifiers, fix in/out comments.

data_write_sql_null(): Use memset().

big_rec_field_t: Replace byte* data with const void* data.

ut_ulint_sort(): Remove.

upd_field_t: Remove extern_storage.

upd_node_t: Replace ext_vec, n_ext_vec with n_ext.

row_merge_copy_blobs(): New function.

row_ins_index_entry(): Add the parameter "ibool foreign" for suppressing
foreign key checks during fast index creation or when inserting into
secondary indexes.

btr_page_insert_fits(): Add const qualifiers.

btr_cur_add_ext(), upd_ext_vec_contains(): Remove.

dfield_print_also_hex(), dfield_print(): Replace if...else if with switch.
Observe dfield_is_ext().
2007-06-21 09:43:15 +00:00
..
lexyy.c branches/zip: Merge revisions 1322:1402 from trunk. 2007-04-02 05:39:41 +00:00
make_flex.sh branches/zip: Merge revisions 265:459 from trunk. 2006-04-12 09:32:17 +00:00
pars0grm.c branches/zip: Merge branches/fast-index-creation -r1413. 2007-04-04 11:05:33 +00:00
pars0grm.h branches/zip: Merge branches/fast-index-creation -r1413. 2007-04-04 11:05:33 +00:00
pars0grm.y branches/zip: Merge revisions 583:634 from trunk. 2006-06-13 20:23:26 +00:00
pars0lex.l branches/zip: Merge revisions 1322:1402 from trunk. 2007-04-02 05:39:41 +00:00
pars0opt.c branches/zip: Merge revisions 804:838 from trunk. 2006-09-19 10:14:07 +00:00
pars0pars.c branches/zip: Avoid memory fragmentation when adding column definitions 2007-01-30 09:24:18 +00:00
pars0sym.c branches/zip: Make merge sort handle externally stored columns. 2007-06-21 09:43:15 +00:00