summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorbrian@avenger.(none) <>2004-11-11 18:58:57 -0800
committerbrian@avenger.(none) <>2004-11-11 18:58:57 -0800
commitf05daf02ba845b820d6a817c9e2058654b4a764b (patch)
tree46fde821aa292e663e9f48d37f44657e025a1271 /sql/item.h
parent7073829fbb3515edca83a87dbfd428c88f47a3e0 (diff)
parent6f39bf2b9c31f78ef6940dacb81e80d6772640b9 (diff)
downloadmariadb-git-f05daf02ba845b820d6a817c9e2058654b4a764b.tar.gz
Resolved merge from 4.1 -> 5.0 (mainly Guilhem's work with mysqldump)
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index 93c396b95b0..7b8fed1ecaa 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -32,6 +32,7 @@ class Item_field;
enum Derivation
{
+ DERIVATION_IGNORABLE= 4,
DERIVATION_COERCIBLE= 3,
DERIVATION_IMPLICIT= 2,
DERIVATION_NONE= 1,
@@ -99,6 +100,7 @@ public:
{
switch(derivation)
{
+ case DERIVATION_IGNORABLE: return "IGNORABLE";
case DERIVATION_COERCIBLE: return "COERCIBLE";
case DERIVATION_IMPLICIT: return "IMPLICIT";
case DERIVATION_EXPLICIT: return "EXPLICIT";
@@ -577,6 +579,7 @@ public:
max_length= 0;
name= name_par ? name_par : (char*) "NULL";
fixed= 1;
+ collation.set(&my_charset_bin, DERIVATION_IGNORABLE);
}
enum Type type() const { return NULL_ITEM; }
bool eq(const Item *item, bool binary_cmp) const;