summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorgluh@eagle.(none) <>2007-01-26 16:46:01 +0400
committergluh@eagle.(none) <>2007-01-26 16:46:01 +0400
commit67db27537b61df91f175cc4220425a77eb4a55c2 (patch)
tree0d0331efb0feab8a0b10a3440ef0861ee20d3e0e /sql/item.h
parent4fd3b03e71a59c6d0e5857092aba61e2137369e7 (diff)
parent8a3592d4e2c621aa9bac7886a32a0c9a5159d00f (diff)
downloadmariadb-git-67db27537b61df91f175cc4220425a77eb4a55c2.tar.gz
Merge mysql.com:/home/gluh/MySQL/Merge/5.1-opt
into mysql.com:/home/gluh/MySQL/Merge/5.1
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/item.h b/sql/item.h
index b2e363dce52..2ab716872f0 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -477,7 +477,8 @@ public:
Item *next;
uint32 max_length;
uint name_length; /* Length of name */
- uint8 marker, decimals;
+ int8 marker;
+ uint8 decimals;
my_bool maybe_null; /* If item may be null */
my_bool null_value; /* if item is null */
my_bool unsigned_flag;
@@ -2367,6 +2368,9 @@ public:
bool fix_fields(THD *, Item **);
void print(String *str);
table_map used_tables() const { return (table_map)0L; }
+ Field *get_tmp_table_field() { return 0; }
+ Item *copy_or_same(THD *thd) { return this; }
+ Item *get_tmp_table_item(THD *thd) { return copy_or_same(thd); }
void cleanup();
private: