MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
field_unittests::Mock_protocol Class Reference
Inheritance diagram for field_unittests::Mock_protocol:
Collaboration diagram for field_unittests::Mock_protocol:

Public Member Functions

 Mock_protocol (THD *thd)
virtual bool store_time (MYSQL_TIME *time, uint precision)
void verify_time (MYSQL_TIME *time, uint precision)
virtual void prepare_for_resend ()
virtual bool store_null ()
virtual bool store_tiny (longlong from)
virtual bool store_short (longlong from)
virtual bool store_long (longlong from)
virtual bool store_longlong (longlong from, bool unsigned_flag)
virtual bool store_decimal (const my_decimal *)
virtual bool store (const char *from, size_t length, const CHARSET_INFO *cs)
virtual bool store (const char *from, size_t length, const CHARSET_INFO *fromcs, const CHARSET_INFO *tocs)
virtual bool store (float from, uint32 decimals, String *buffer)
virtual bool store (double from, uint32 decimals, String *buffer)
virtual bool store (MYSQL_TIME *time, uint precision)
virtual bool store_date (MYSQL_TIME *time)
virtual bool store (Field *field)
virtual bool send_out_parameters (List< Item_param > *sp_params)
virtual enum enum_protocol_type type ()
- Public Member Functions inherited from Protocol
 Protocol (THD *thd_arg)
void init (THD *thd_arg)
virtual bool send_result_set_metadata (List< Item > *list, uint flags)
bool send_result_set_row (List< Item > *row_items)
bool store (I_List< i_string > *str_list)
bool store (const char *from, const CHARSET_INFO *cs)
Stringstorage_packet ()
void free ()
virtual bool write ()
bool store (int from)
bool store (uint32 from)
bool store (longlong from)
bool store (ulonglong from)
bool store (String *str)
virtual bool prepare_for_send (uint num_columns)
virtual bool flush ()
virtual void end_partial_result_set (THD *thd)
void remove_last_row ()
void end_statement ()

Additional Inherited Members

- Public Types inherited from Protocol
enum  { SEND_NUM_ROWS = 1, SEND_DEFAULTS = 2, SEND_EOF = 4 }
enum  enum_protocol_type { PROTOCOL_TEXT = 0, PROTOCOL_BINARY = 1, PROTOCOL_LOCAL = 2 }
- Protected Member Functions inherited from Protocol
bool net_store_data (const uchar *from, size_t length)
bool net_store_data (const uchar *from, size_t length, const CHARSET_INFO *fromcs, const CHARSET_INFO *tocs)
bool store_string_aux (const char *from, size_t length, const CHARSET_INFO *fromcs, const CHARSET_INFO *tocs)
virtual bool send_ok (uint server_status, uint statement_warn_count, ulonglong affected_rows, ulonglong last_insert_id, const char *message)
virtual bool send_eof (uint server_status, uint statement_warn_count)
virtual bool send_error (uint sql_errno, const char *err_msg, const char *sql_state)
- Protected Attributes inherited from Protocol
THD * thd
Stringpacket
Stringconvert
uint field_pos
enum enum_field_types * field_types
uint field_count

Detailed Description

Definition at line 72 of file field-t.cc.


The documentation for this class was generated from the following file: