Merge pull request #28 from realm/tg/set-unique

Add set_*_unique handlers to TransactLogHandler
This commit is contained in:
Thomas Goyne 2015-12-22 11:08:00 -08:00
commit a3058c6e97
1 changed files with 2 additions and 0 deletions

View File

@ -304,6 +304,8 @@ public:
bool set_link(size_t col, size_t row, size_t, size_t) { return mark_dirty(row, col); } bool set_link(size_t col, size_t row, size_t, size_t) { return mark_dirty(row, col); }
bool set_null(size_t col, size_t row) { return mark_dirty(row, col); } bool set_null(size_t col, size_t row) { return mark_dirty(row, col); }
bool nullify_link(size_t col, size_t row, size_t) { return mark_dirty(row, col); } bool nullify_link(size_t col, size_t row, size_t) { return mark_dirty(row, col); }
bool set_int_unique(size_t col, size_t row, int_fast64_t) { return mark_dirty(row, col); }
bool set_string_unique(size_t col, size_t row, StringData) { return mark_dirty(row, col); }
// Doesn't change any data // Doesn't change any data
bool optimize_table() { return true; } bool optimize_table() { return true; }