summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-01-27 21:50:16 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2020-03-10 07:20:49 +0100
commit50c0939166afa2042a92d59698911fb54529ab39 (patch)
treed37862b225823136bb06c4e049e798b56994e378 /include
parenta5584b13d1e04f38b843602413669591aa65c359 (diff)
downloadmariadb-git-50c0939166afa2042a92d59698911fb54529ab39.tar.gz
MDEV-20632: Recursive CTE cycle detection using CYCLE clause (nonstandard)
Added CYCLE ... RESTRICT (nonstandard) clause to recursive CTE.
Diffstat (limited to 'include')
-rw-r--r--include/mysql_com.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index 4eafe148743..cc89f014f8e 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -206,6 +206,8 @@ enum enum_indicator_type
itself supports it*/
#define LONG_UNIQUE_HASH_FIELD (1<< 30) /* This field will store hash for unique
column */
+#define FIELD_PART_OF_TMP_UNIQUE (1<< 31) /* part of an unique constrain
+ for a tmporary table*/
#define REFRESH_GRANT (1ULL << 0) /* Refresh grant tables */
#define REFRESH_LOG (1ULL << 1) /* Start on new log file */