MySQL 9.1.0
Source Code Documentation
|
Structure to store token count/array for a statement on which digest is to be calculated. More...
#include <sql_digest.h>
Public Member Functions | |
sql_digest_storage () | |
void | reset (unsigned char *token_array, size_t 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_hash [DIGEST_HASH_SIZE] |
uint | m_charset_number |
Character set number. More... | |
unsigned char * | m_token_array |
Token array. More... | |
size_t | m_token_array_length |
Structure to store token count/array for a statement on which digest is to be calculated.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
size_t sql_digest_storage::m_byte_count |
uint sql_digest_storage::m_charset_number |
Character set number.
bool sql_digest_storage::m_full |
unsigned char sql_digest_storage::m_hash[DIGEST_HASH_SIZE] |
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>
m_byte_count
bytes are initialized, out of m_token_array_length
. size_t sql_digest_storage::m_token_array_length |