diff options
author | unknown <bell@sanja.is.com.ua> | 2004-06-16 16:06:30 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-06-16 16:06:30 +0300 |
commit | a9d4556649750c5a6750b517843be9f011fafde3 (patch) | |
tree | 3f53a24eec02fe30a114eaa94e8e6840596cbe92 /sql/item.h | |
parent | cf5d0db657634c9949b4f9968c3bd4a050fe9066 (diff) | |
download | mariadb-git-a9d4556649750c5a6750b517843be9f011fafde3.tar.gz |
new length detection for non-string in UNION (BUG#4067)
mysql-test/r/subselect.result:
new length in UNION
mysql-test/r/union.result:
new length in UNION
test of int with wrong display length
mysql-test/t/union.test:
test of int with wrong display length
sql/item.cc:
new length detection for non-string
sql/item.h:
new length detection for non-string
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index e373eb112c0..b18897da727 100644 --- a/sql/item.h +++ b/sql/item.h @@ -1199,6 +1199,7 @@ public: String *val_str(String*); bool join_types(THD *thd, Item *); Field *example() { return field_example; } + static uint32 real_length(Item *item); void cleanup() { DBUG_ENTER("Item_type_holder::cleanup"); |