mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
cleanup: remove MARK_COLUMNS_NONE
This commit is contained in:
@ -94,7 +94,8 @@ enum enum_slave_type_conversions { SLAVE_TYPE_CONVERSIONS_ALL_LOSSY,
|
||||
SLAVE_TYPE_CONVERSIONS_ALL_NON_LOSSY};
|
||||
|
||||
/*
|
||||
MARK_COLUMNS_NONE: It is unknown whether the column will be read or written
|
||||
MARK_COLUMNS_READ: A column is goind to be read.
|
||||
MARK_COLUMNS_WRITE: A column is going to be written to.
|
||||
MARK_COLUMNS_READ: A column is goind to be read.
|
||||
A bit in read set is set to inform handler that the field
|
||||
is to be read. If field list contains duplicates, then
|
||||
@ -105,7 +106,10 @@ enum enum_slave_type_conversions { SLAVE_TYPE_CONVERSIONS_ALL_LOSSY,
|
||||
to update this field in write_row and update_row.
|
||||
*/
|
||||
enum enum_column_usage
|
||||
{ MARK_COLUMNS_NONE, MARK_COLUMNS_READ, MARK_COLUMNS_WRITE};
|
||||
{ COLUMNS_READ, COLUMNS_WRITE, MARK_COLUMNS_READ, MARK_COLUMNS_WRITE};
|
||||
|
||||
static inline bool should_mark_column(enum_column_usage column_usage)
|
||||
{ return column_usage >= MARK_COLUMNS_READ; }
|
||||
|
||||
enum enum_filetype { FILETYPE_CSV, FILETYPE_XML };
|
||||
|
||||
|
Reference in New Issue
Block a user