mirror of
https://github.com/MariaDB/server.git
synced 2026-04-28 11:15:33 +02:00
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
This commit is contained in:
commit
64416b1d89
15 changed files with 1070 additions and 255 deletions
11
sql/item.h
11
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;
|
||||
|
||||
/*************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue