summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorgluh@eagle.(none) <>2007-10-04 14:23:55 +0500
committergluh@eagle.(none) <>2007-10-04 14:23:55 +0500
commit53fa81ac039bc6385c3292bfca7afb792010e000 (patch)
treef50dabc806c403577cfd9d2efa7e7dc5d5db38ef /sql/item_func.h
parent09cfa4f9dc443c0c935513086ef81fdd8bf113f2 (diff)
parent0918fe8320398bb3f5f43cc7d762f16d3c01be95 (diff)
downloadmariadb-git-53fa81ac039bc6385c3292bfca7afb792010e000.tar.gz
Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt
into mysql.com:/home/gluh/MySQL/Merge/5.1-opt
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 602c1c86f01..8800692f192 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -756,6 +756,8 @@ public:
collation= args[0]->collation;
max_length= args[0]->max_length;
decimals=args[0]->decimals;
+ /* The item could be a NULL constant. */
+ null_value= args[0]->null_value;
}
};