My Project
Public Member Functions
Item_func_timediff Class Reference
Inheritance diagram for Item_func_timediff:
Item_time_func Item_temporal_func Item_func Item_result_field Item

List of all members.

Public Member Functions

 Item_func_timediff (Item *a, Item *b)
const char * func_name () const
void fix_length_and_dec ()
bool get_time (MYSQL_TIME *ltime)

Member Function Documentation

bool Item_func_timediff::get_time ( MYSQL_TIME *  l_time3) [virtual]

TIMEDIFF(t,s) is a time function that calculates the time value between a start and end time.

t and s: time_or_datetime_expression

Parameters:
l_time3[OUT]Result is stored here.
flags[IN]Not used in this class.
Returns:
Return values:
falseOn succes
trueOn error

Implements Item_time_func.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines