MySQL  8.0.16
Source Code Documentation
Index_hint Class Reference

#include <sql_lex.h>

Public Member Functions

 Index_hint (const char *str, uint length)
void print (const THD *thd, String *str)
 Print an index hint. More...

Public Attributes

enum index_hint_type type
index_clause_map clause
LEX_CSTRING key_name

Constructor & Destructor Documentation

◆ Index_hint()

Index_hint::Index_hint ( const char *  str,
uint  length 

Member Function Documentation

◆ print()

void Index_hint::print ( const THD thd,
String str 

Print an index hint.

Prints out the USE|FORCE|IGNORE index hint.

thdthe current thread
[out]strappends the index hint here

Member Data Documentation

◆ clause

index_clause_map Index_hint::clause

◆ key_name

LEX_CSTRING Index_hint::key_name

◆ type

enum index_hint_type Index_hint::type

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