Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
f6d22b39
Commit
f6d22b39
authored
Jan 09, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-3846 REFRESH_CHECKPOINT and REFRESH_TABLE_STATS tokens share the same value
parent
c9ff25f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
32 deletions
+32
-32
include/mysql_com.h
include/mysql_com.h
+32
-32
No files found.
include/mysql_com.h
View file @
f6d22b39
/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
Copyright (c) 2010, 201
1
, Monty Program Ab
Copyright (c) 2010, 201
3
, Monty Program Ab
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -126,39 +126,39 @@ enum enum_server_command
#define FIELD_FLAGS_COLUMN_FORMAT 24
/* Field column format, bit 24-25,
reserved by MySQL Cluster */
#define REFRESH_GRANT
1
/* Refresh grant tables */
#define REFRESH_LOG
2
/* Start on new log file */
#define REFRESH_TABLES
4
/* close all tables */
#define REFRESH_HOSTS
8
/* Flush host cache */
#define REFRESH_STATUS
16
/* Flush status variables */
#define REFRESH_THREADS
32
/* Flush thread cache */
#define REFRESH_SLAVE
64
/* Reset master info and restart slave
thread */
#define REFRESH_MASTER
128
/* Remove all bin logs in the index
and truncate the index */
#define REFRESH_GRANT
(1UL << 0)
/* Refresh grant tables */
#define REFRESH_LOG
(1UL << 1)
/* Start on new log file */
#define REFRESH_TABLES
(1UL << 2)
/* close all tables */
#define REFRESH_HOSTS
(1UL << 3)
/* Flush host cache */
#define REFRESH_STATUS
(1UL << 4)
/* Flush status variables */
#define REFRESH_THREADS
(1UL << 5)
/* Flush thread cache */
#define REFRESH_SLAVE
(1UL << 6)
/* Reset master info and restart slave
thread */
#define REFRESH_MASTER
(1UL << 7)
/* Remove all bin logs in the index
and truncate the index */
/* The following can't be set with mysql_refresh() */
#define REFRESH_ERROR_LOG
256
/* Rotate only the erorr log */
#define REFRESH_ENGINE_LOG
512
/* Flush all storage engine logs */
#define REFRESH_BINARY_LOG
1024
/* Flush the binary log */
#define REFRESH_RELAY_LOG
2048
/* Flush the relay log */
#define REFRESH_GENERAL_LOG
4096
/* Flush the general log */
#define REFRESH_SLOW_LOG
8192
/* Flush the slow query log */
#define REFRESH_READ_LOCK
16384
/* Lock tables for read */
#define REFRESH_
FAST 32768
/* Intern flag
*/
/* RESET (remove all queries) from
query cache */
#define REFRESH_QUERY_CACHE
65536
#define REFRESH_
QUERY_CACHE_FREE 0x20000L
/* pack query cache */
#define REFRESH_
DES_KEY_FILE 0x40000L
#define REFRESH_USER_RESOURCES 0x80000L
#define REFRESH_
CHECKPOINT 0x100000L
/* Don't do checkpoints
*/
#define REFRESH_
TABLE_STATS (1L << 20)
/* Refresh table
stats hash table */
#define REFRESH_
INDEX_STATS (1L << 21)
/* Refresh index
stats hash table */
#define REFRESH_USER_STATS (1L << 22)
/* Refresh user stats hash table */
#define REFRESH_
CLIENT_STATS (1L << 23)
/* Refresh client stats hash table
*/
#define REFRESH_ERROR_LOG
(1UL << 8)
/* Rotate only the erorr log */
#define REFRESH_ENGINE_LOG
(1UL << 9)
/* Flush all storage engine logs */
#define REFRESH_BINARY_LOG
(1UL << 10)
/* Flush the binary log */
#define REFRESH_RELAY_LOG
(1UL << 11)
/* Flush the relay log */
#define REFRESH_GENERAL_LOG
(1UL << 12)
/* Flush the general log */
#define REFRESH_SLOW_LOG
(1UL << 13)
/* Flush the slow query log */
#define REFRESH_READ_LOCK
(1UL << 14)
/* Lock tables for read */
#define REFRESH_
CHECKPOINT (1UL << 15)
/* With REFRESH_READ_LOCK: block checkpoints too
*/
#define REFRESH_QUERY_CACHE (1UL << 16)
/* clear the
query cache */
#define REFRESH_QUERY_CACHE
_FREE (1UL << 17)
/* pack query cache */
#define REFRESH_
DES_KEY_FILE (1UL << 18)
#define REFRESH_
USER_RESOURCES (1UL << 19)
#define REFRESH_
TABLE_STATS (1UL << 20)
/* Refresh table stats hash table
*/
#define REFRESH_INDEX_STATS (1UL << 21)
/* Refresh index stats hash table */
#define REFRESH_
USER_STATS (1UL << 22)
/* Refresh user
stats hash table */
#define REFRESH_
CLIENT_STATS (1UL << 23)
/* Refresh client
stats hash table */
#define REFRESH_
FAST (1UL << 31)
/* Intern flag
*/
#define CLIENT_LONG_PASSWORD 1
/* new more secure passwords */
#define CLIENT_FOUND_ROWS 2
/* Found instead of affected rows */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment