Details
Description
int stored_field_cmp_to_item(THD *thd, Field *field, Item *item) { if (field->cmp_type() == TIME_RESULT) { .. return my_time_compare(&field_time, item_time_cmp); } if (res_type == STRING_RESULT) { ... if (field_type == MYSQL_TYPE_DATE || field_type == MYSQL_TYPE_DATETIME || field_type == MYSQL_TYPE_TIMESTAMP) { // This code is dead, because all temporal types are handled //in the first branch for TIME_RESULT ... return my_time_compare(&field_time, &item_time); } .. } }
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions