My Project
Public Member Functions | Public Attributes
sql_digest_storage Struct Reference

#include <sql_digest.h>

List of all members.

Public Member Functions

void reset (unsigned char *token_array, uint length)
void reset ()
bool is_empty ()
void copy (const sql_digest_storage *from)

Public Attributes

bool m_full
size_t m_byte_count
unsigned char m_md5 [MD5_HASH_SIZE]
uint m_charset_number
unsigned char * m_token_array
uint m_token_array_length

Detailed Description

Structure to store token count/array for a statement on which digest is to be calculated.


Member Data Documentation

Character set number.

Token array. Token array is an array of bytes to store tokens received during parsing. Following is the way token array is formed. ... <non-id-token> <non-id-token> <id-token> <id_len> <id_text> ... For Example: SELECT * FROM T1; <SELECT_TOKEN> <*> <FROM_TOKEN> <ID_TOKEN> <2> <T1>


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