diff options
author | bar@bar.mysql.r18.ru <> | 2003-03-31 19:53:50 +0500 |
---|---|---|
committer | bar@bar.mysql.r18.ru <> | 2003-03-31 19:53:50 +0500 |
commit | 76bc088b6e937a12c3712b07fdbbe4e068c58924 (patch) | |
tree | b8649a15e3174e15fd4bfa226e27c94bff1f36db /sql/lex.h | |
parent | 446f6331e2cb50a4bb2054acbc083ce9687bac15 (diff) | |
download | mariadb-git-76bc088b6e937a12c3712b07fdbbe4e068c58924.tar.gz |
lex.h:
Use MBRContains() style for what we have implemented. Contains() will be used for real "contains" relation in the future.
Diffstat (limited to 'sql/lex.h')
-rw-r--r-- | sql/lex.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/lex.h b/sql/lex.h index 5325329f61f..446849bbf45 100644 --- a/sql/lex.h +++ b/sql/lex.h @@ -533,6 +533,13 @@ static SYMBOL sql_functions[] = { { "MAKE_SET", SYM(MAKE_SET_SYM),0,0}, { "MASTER_POS_WAIT", SYM(MASTER_POS_WAIT),0,0}, { "MAX", SYM(MAX_SYM),0,0}, + { "MBRCONTAINS", SYM(FUNC_ARG2),0,CREATE_FUNC(create_func_contains)}, + { "MBRDISJOINT", SYM(FUNC_ARG2),0,CREATE_FUNC(create_func_disjoint)}, + { "MBREQUAL", SYM(FUNC_ARG2),0,CREATE_FUNC(create_func_equals)}, + { "MBRINTERSECTS", SYM(FUNC_ARG2),0,CREATE_FUNC(create_func_intersects)}, + { "MBROVERLAPS", SYM(FUNC_ARG2),0,CREATE_FUNC(create_func_overlaps)}, + { "MBRTOUCHES", SYM(FUNC_ARG2),0,CREATE_FUNC(create_func_touches)}, + { "MBRWITHIN", SYM(FUNC_ARG2),0,CREATE_FUNC(create_func_within)}, { "MD5", SYM(FUNC_ARG1),0,CREATE_FUNC(create_func_md5)}, { "MID", SYM(SUBSTRING),0,0}, /* unireg function */ { "MIN", SYM(MIN_SYM),0,0}, |