|
| Raw_record (TABLE *table) |
|
bool | update () |
| Update table record into SE. More...
|
|
bool | drop () |
| Drop the record from SE. More...
|
|
bool | store_pk_id (int field_no, Object_id id) |
|
bool | store_ref_id (int field_no, Object_id id) |
|
bool | store (int field_no, const String_type &s, bool is_null=false) |
|
bool | store (int field_no, ulonglong ull, bool is_null=false) |
|
bool | store (int field_no, longlong ll, bool is_null=false) |
|
bool | store (int field_no, bool b, bool is_null=false) |
|
bool | store (int field_no, uint v, bool is_null=false) |
|
bool | store (int field_no, int v, bool is_null=false) |
|
bool | store (int field_no, const Properties &p) |
|
bool | store_time (int field_no, my_time_t val, bool is_null=false) |
|
bool | store_timestamp (int field_no, const my_timeval &tv) |
| Store timeval at field specified by field_no into the record. More...
|
|
bool | store_json (int field_no, const Json_wrapper &json) |
|
bool | is_null (int field_no) const |
|
longlong | read_int (int field_no) const |
|
longlong | read_int (int field_no, longlong null_value) const |
|
ulonglong | read_uint (int field_no) const |
|
ulonglong | read_uint (int field_no, ulonglong null_value) const |
|
String_type | read_str (int field_no) const |
|
String_type | read_str (int field_no, const String_type &null_value) const |
|
Object_id | read_ref_id (int field_no) const |
|
bool | read_bool (int field_no) const |
|
my_time_t | read_time (int field_no) const |
|
my_timeval | read_timestamp (int field_no) const |
| Read timeval stored at field specified by field_no from the record. More...
|
|
bool | read_json (int field_no, Json_wrapper *json_wrapper) const |
|
bool dd::Raw_record::update |
( |
| ) |
|
Update table record into SE.
- Returns
- true - on failure and error is reported.
-
false - on success.
We ignore HA_ERR_RECORD_IS_THE_SAME here for following reason. If in case we are updating children of some DD object, and only one of the children has really changed and other have not. Then we get HA_ERR_RECORD_IS_THE_SAME for children (rows) which has not really been modified.
Currently DD framework creates/updates all children at once and we don't have machinism to update only required child. Maybe this is part of a task which will implement inplace alter in a better way, updating only the changed child (or row) and ignore others. Then we can remove the below check which ignores HA_ERR_RECORD_IS_THE_SAME.