mariadb/row
marko b52a30e09d branches/zip: When storing a longer prefix of an externally stored column
to the undo log, also store the original length of the column, so that the
changes will be correctly undone in transaction rollback or when fetching
previous versions of the row.

innodb-zip.test: New file, for tests of the compression.

upd_field_t: Add orig_len, the original length of new_val.

btr_push_update_extern_fields(): Restore the original prefix of the column.
Add the parameter heap where memory will be allocated if necessary.

trx_undo_rec_get_col_val(): Add the output parameter orig_len.

trx_undo_page_report_modify_ext(): New function: Write an externally
stored column to the undo log.  This is only called from
trx_undo_page_report_modify(), and this is the only caller of
trx_undo_page_fetch_ext().

trx_undo_update_rec_get_update(): Read the original length of the column
prefix to upd_field->orig_len.
2008-01-23 13:46:45 +00:00
..
row0ext.c branches/zip: Add clarifying comments that the clustered index record must 2008-01-11 12:19:59 +00:00
row0ins.c branches/zip: When storing a longer prefix of an externally stored column 2008-01-23 13:46:45 +00:00
row0merge.c branches/zip: Clarify why certain calls of 2008-01-11 19:59:47 +00:00
row0mysql.c branches/zip: Merge 2155:2213 from branches/5.1. 2008-01-07 09:15:25 +00:00
row0purge.c branches/zip: When logging updates or deletes in the undo log, store long 2007-12-05 14:10:15 +00:00
row0row.c branches/zip: Add some clarifying comments. 2007-12-20 09:10:42 +00:00
row0sel.c branches/zip: row_sel_get_clust_rec_for_mysql(): Similar to the function 2008-01-21 09:51:40 +00:00
row0uins.c branches/zip: row_undo_ins_parse_undo_rec(): Initialize node->update 2008-01-16 09:45:22 +00:00
row0umod.c branches/zip: Fetch externally stored columns only when the clustered index 2008-01-16 10:10:32 +00:00
row0undo.c branches/zip: Fetch externally stored columns only when the clustered index 2008-01-16 10:10:32 +00:00
row0upd.c branches/zip: When storing a longer prefix of an externally stored column 2008-01-23 13:46:45 +00:00
row0vers.c branches/zip: Add comments that clarify why the remaining calls to 2008-01-14 10:04:45 +00:00