37
37
return (int64_t) current_session->query_start();
38
39
if (args[0]->type() == FIELD_ITEM)
39
40
{ // Optimize timestamp field
40
41
Field *field=((Item_field*) args[0])->field;
41
42
if (field->type() == DRIZZLE_TYPE_TIMESTAMP)
45
46
if (get_arg0_date(<ime, 0))