mariadb/row
marko 03a7cb220a branches/zip: Implement the reporting of duplicate key values to MySQL.
innobase_rec_to_mysql(): New function, for converting an InnoDB clustered
index record to MySQL table->record[0].  TODO: convert integer fields.
Currently, integer fields are in big-endian byte order instead of
host byte order, and signed integer fields are offset by 0x80000000.

innobase_rec_reset(): New function, for resetting table->record[0].

row_merge_build_indexes(): Add the parameter TABLE* table (the MySQL table
handle) for reporting duplicate key values.

dtuple_from_fields(): New function, to convert an array of dfield_t* to
dtuple_t.

dtuple_get_n_ext(): New function, to compute the number of externally stored
fields.

row_merge_dup_t: Structure for counting and reporting duplicate records.

row_merge_dup_report(): Function for counting and reporting duplicate records.

row_merge_tuple_cmp(), row_merge_tuple_sort(): Replace the ulint* n_dup
parameter with row_merge_dup_t* dup.

row_merge_buf_sort(): Add the parameter row_merge_dup_t* dup, which is
NULL when sorting a non-unique index.

row_merge_buf_write(), row_merge_heap_create(), row_merge_read_rec(),
row_merge_cmp(), row_merge_read_clustered_index(), row_merge_blocks(),
row_merge(), row_merge_sort(): Add const qualifiers.

row_merge_read_clustered_index(): Use a common error handling branch err_exit.
Invoke row_merge_buf_sort() differently on unique indexes.

row_merge_blocks(): note TODO: We could invoke innobase_rec_to_mysql()
to report duplicate key values when creating a clustered index.
2007-09-26 11:56:26 +00:00
..
row0ext.c branches/zip: Add row_ext_t for caching prefixes of externally stored columns. 2006-09-26 07:28:23 +00:00
row0ins.c branches/zip: Make merge sort handle externally stored columns. 2007-06-21 09:43:15 +00:00
row0merge.c branches/zip: Implement the reporting of duplicate key values to MySQL. 2007-09-26 11:56:26 +00:00
row0mysql.c branches/zip: Minor cleanup. 2007-09-11 05:09:19 +00:00
row0purge.c branches/zip: Simplify the locking of the data dictionary. 2007-08-29 06:36:10 +00:00
row0row.c branches/zip: Add some const qualifiers to input parameters. 2007-09-26 09:12:23 +00:00
row0sel.c branches/zip: row_build_row_ref_in_tuple(): Add the parameter "offsets", 2007-09-25 07:20:56 +00:00
row0uins.c branches/zip: Simplify crash recovery in fast index creation. 2007-09-05 10:18:03 +00:00
row0umod.c branches/zip: Introduce TEMP_INDEX_PREFIX == 0xff for indexes being populated 2007-08-31 09:58:22 +00:00
row0undo.c branches/zip: Simplify crash recovery in fast index creation. 2007-09-05 10:18:03 +00:00
row0upd.c branches/zip: Simplify the locking of the data dictionary. 2007-08-29 06:36:10 +00:00
row0vers.c branches/zip: Rename dtuple_datas_are_ordering_equal() to dtuple_coll_cmp(), 2007-05-22 09:34:25 +00:00