diff options
author | unknown <sergefp@mysql.com> | 2006-01-20 19:38:11 +0300 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2006-01-20 19:38:11 +0300 |
commit | 64416b1d8945407113fccabe8d77d4357de918c4 (patch) | |
tree | 54aa8e4f5f69e7e2e856e1401f27456791667ea4 /sql/item.h | |
parent | cf735347e5a03824a5e897582c47e31b60dd90ed (diff) | |
parent | ce78242859fc034a4b486f145f3c7c3e15cf77ee (diff) | |
download | mariadb-git-64416b1d8945407113fccabe8d77d4357de918c4.tar.gz |
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/home/psergey/mysql-5.1-ppruning-r5
sql/handler.h:
Auto merged
sql/item.h:
Auto merged
sql/mysqld.cc:
Auto merged
sql/sql_class.cc:
Auto merged
sql/sql_lex.h:
Auto merged
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sql/item.h b/sql/item.h index e8f1697f09d..fa2c1b53426 100644 --- a/sql/item.h +++ b/sql/item.h @@ -381,13 +381,20 @@ public: put values of field_i into table record buffer; return item->val_int(); } + + NOTE + At the moment function monotonicity is not well defined (and so may be + incorrect) for Item trees with parameters/return types that are different + from INT_RESULT, may be NULL, or are unsigned. + It will be possible to address this issue once the related partitioning bugs + (BUG#16002, BUG#15447, BUG#13436) are fixed. */ typedef enum monotonicity_info { NON_MONOTONIC, /* none of the below holds */ - MONOTONIC_INCREASING, /* F() is unary and "x < y" => "F(x) < F(y)" */ - MONOTONIC_STRICT_INCREASING /* F() is unary and "x < y" => "F(x) <= F(y)" */ + MONOTONIC_INCREASING, /* F() is unary and (x < y) => (F(x) <= F(y)) */ + MONOTONIC_STRICT_INCREASING /* F() is unary and (x < y) => (F(x) < F(y)) */ } enum_monotonicity_info; /*************************************************************************/ |