My Project
|
#include <sql_digest.h>
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 |
Structure to store token count/array for a statement on which digest is to be calculated.
Character set number.
unsigned char* sql_digest_storage::m_token_array |
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>