#include <cstdlib>
#include "my_inttypes.h"
#include "mysql/service_mysql_alloc.h"
Go to the source code of this file.
|
enum | thr_lock_type {
TL_IGNORE = -1
, TL_UNLOCK
, TL_READ_DEFAULT
, TL_READ
,
TL_READ_WITH_SHARED_LOCKS
, TL_READ_HIGH_PRIORITY
, TL_READ_NO_INSERT
, TL_WRITE_ALLOW_WRITE
,
TL_WRITE_CONCURRENT_DEFAULT
, TL_WRITE_CONCURRENT_INSERT
, TL_WRITE_DEFAULT
, TL_WRITE_LOW_PRIORITY
,
TL_WRITE
, TL_WRITE_ONLY
, TL_IGNORE = -1
, TL_UNLOCK
,
TL_READ_DEFAULT
, TL_READ
, TL_READ_WITH_SHARED_LOCKS
, TL_READ_HIGH_PRIORITY
,
TL_READ_NO_INSERT
, TL_WRITE_ALLOW_WRITE
, TL_WRITE_CONCURRENT_DEFAULT
, TL_WRITE_CONCURRENT_INSERT
,
TL_WRITE_DEFAULT
, TL_WRITE_LOW_PRIORITY
, TL_WRITE
, TL_WRITE_ONLY
} |
| This class represents the character input stream consumed during lexical analysis. More...
|
|
enum | enum_mdl_type {
MDL_INTENTION_EXCLUSIVE = 0
, MDL_SHARED
, MDL_SHARED_HIGH_PRIO
, MDL_SHARED_READ
,
MDL_SHARED_WRITE
, MDL_SHARED_WRITE_LOW_PRIO
, MDL_SHARED_UPGRADABLE
, MDL_SHARED_READ_ONLY
,
MDL_SHARED_NO_WRITE
, MDL_SHARED_NO_READ_WRITE
, MDL_EXCLUSIVE
, MDL_TYPE_END
,
MDL_INTENTION_EXCLUSIVE = 0
, MDL_SHARED
, MDL_SHARED_HIGH_PRIO
, MDL_SHARED_READ
,
MDL_SHARED_WRITE
, MDL_SHARED_WRITE_LOW_PRIO
, MDL_SHARED_UPGRADABLE
, MDL_SHARED_READ_ONLY
,
MDL_SHARED_NO_WRITE
, MDL_SHARED_NO_READ_WRITE
, MDL_EXCLUSIVE
, MDL_TYPE_END
} |
| Type of metadata lock request. More...
|
|
◆ enum_mdl_type
Type of metadata lock request.
- See also
- Comments for MDL_object_lock::can_grant_lock() and MDL_scoped_lock::can_grant_lock() for details.
Enumerator |
---|
MDL_INTENTION_EXCLUSIVE | |
MDL_SHARED | |
MDL_SHARED_HIGH_PRIO | |
MDL_SHARED_READ | |
MDL_SHARED_WRITE | |
MDL_SHARED_WRITE_LOW_PRIO | |
MDL_SHARED_UPGRADABLE | |
MDL_SHARED_READ_ONLY | |
MDL_SHARED_NO_WRITE | |
MDL_SHARED_NO_READ_WRITE | |
MDL_EXCLUSIVE | |
MDL_TYPE_END | |
MDL_INTENTION_EXCLUSIVE | |
MDL_SHARED | |
MDL_SHARED_HIGH_PRIO | |
MDL_SHARED_READ | |
MDL_SHARED_WRITE | |
MDL_SHARED_WRITE_LOW_PRIO | |
MDL_SHARED_UPGRADABLE | |
MDL_SHARED_READ_ONLY | |
MDL_SHARED_NO_WRITE | |
MDL_SHARED_NO_READ_WRITE | |
MDL_EXCLUSIVE | |
MDL_TYPE_END | |
◆ thr_lock_type
This class represents the character input stream consumed during lexical analysis.
In addition to consuming the input stream, this class performs some comment pre processing, by filtering out out-of-bound special text from the query input stream.
Two buffers, with pointers inside each, are maintained in parallel. The 'raw' buffer is the original query text, which may contain out-of-bound comments. The 'cpp' (for comments pre processor) is the pre-processed buffer that contains only the query text that should be seen once out-of-bound data is removed.
Enumerator |
---|
TL_IGNORE | |
TL_UNLOCK | |
TL_READ_DEFAULT | |
TL_READ | |
TL_READ_WITH_SHARED_LOCKS | |
TL_READ_HIGH_PRIORITY | |
TL_READ_NO_INSERT | |
TL_WRITE_ALLOW_WRITE | |
TL_WRITE_CONCURRENT_DEFAULT | |
TL_WRITE_CONCURRENT_INSERT | |
TL_WRITE_DEFAULT | |
TL_WRITE_LOW_PRIORITY | |
TL_WRITE | |
TL_WRITE_ONLY | |
TL_IGNORE | |
TL_UNLOCK | |
TL_READ_DEFAULT | |
TL_READ | |
TL_READ_WITH_SHARED_LOCKS | |
TL_READ_HIGH_PRIORITY | |
TL_READ_NO_INSERT | |
TL_WRITE_ALLOW_WRITE | |
TL_WRITE_CONCURRENT_DEFAULT | |
TL_WRITE_CONCURRENT_INSERT | |
TL_WRITE_DEFAULT | |
TL_WRITE_LOW_PRIORITY | |
TL_WRITE | |
TL_WRITE_ONLY | |