|
My Project
|
Functions to copy data to or from fields. More...
Functions | |
| type_conversion_status | set_field_to_null (Field *field) |
| type_conversion_status | set_field_to_null_with_conversions (Field *field, bool no_conversions) |
| type_conversion_status | copy_time_to_time (Field *from, Field *to) |
| type_conversion_status | field_conv (Field *to, Field *from) |
Functions to copy data to or from fields.
This could be done with a single short function but opencoding this gives much more speed.
| type_conversion_status field_conv | ( | Field * | to, |
| Field * | from | ||
| ) |
Simple quick field convert that is called on insert.
| type_conversion_status set_field_to_null_with_conversions | ( | Field * | field, |
| bool | no_conversions | ||
| ) |
Set field to NULL or TIMESTAMP or to next auto_increment number.
| field | Field to update |
| no_conversions | Set to 1 if we should return 1 if field can't take null values. If set to 0 we will do store the 'default value' if the field is a special field. If not we will give an error. |
1.7.6.1