diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-06-28 12:50:18 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-07-05 17:15:58 +0200 |
commit | 504eff0ca13ef93fa46f919e1fb60b58ac9a34eb (patch) | |
tree | a5ab20f0d611b8635ba557d343292cb6caa7db8d /sql/ha_partition.h | |
parent | 03c52e964f6ed16b02d01f37428cdd987bba0e92 (diff) | |
download | mariadb-git-504eff0ca13ef93fa46f919e1fb60b58ac9a34eb.tar.gz |
cleanup: generate_partition_syntax()
Don't write to a temporary file, use String.
Remove strange one-liner "helpers", use String methods.
Don't use current_thd, don't allocate memory for 1-byte strings, etc.
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h index 70cd3760783..a5a584287cf 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -21,13 +21,6 @@ #include "sql_partition.h" /* part_id_range, partition_element */ #include "queues.h" /* QUEUE */ -enum partition_keywords -{ - PKW_HASH= 0, PKW_RANGE, PKW_LIST, PKW_KEY, PKW_MAXVALUE, PKW_LINEAR, - PKW_COLUMNS, PKW_ALGORITHM -}; - - #define PARTITION_BYTES_IN_POS 2 |