summaryrefslogtreecommitdiff
path: root/sql/item_create.h
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-05-28 17:57:58 +0500
committerunknown <bar@bar.mysql.r18.ru>2003-05-28 17:57:58 +0500
commit5f9d3e4276913351a9a8485654657d23b8aa7b6d (patch)
treed90c589c4aa4758f8cd2ece67315b1f98e924f3e /sql/item_create.h
parent9166602342853af34ee7f38ae638692e4fcdd46e (diff)
downloadmariadb-git-5f9d3e4276913351a9a8485654657d23b8aa7b6d.tar.gz
CAST(expr AS char) now supports character set with conversion:
SELECT CAST(_latin1'string' AS CHAR CHARACTER SET latin2)
Diffstat (limited to 'sql/item_create.h')
-rw-r--r--sql/item_create.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_create.h b/sql/item_create.h
index c79fe07b8d4..b679c639244 100644
--- a/sql/item_create.h
+++ b/sql/item_create.h
@@ -28,7 +28,7 @@ Item *create_func_bit_length(Item* a);
Item *create_func_coercibility(Item* a);
Item *create_func_ceiling(Item* a);
Item *create_func_char_length(Item* a);
-Item *create_func_cast(Item *a, Item_cast cast_type);
+Item *create_func_cast(Item *a, Item_cast cast_type, CHARSET_INFO *cs);
Item *create_func_connection_id(void);
Item *create_func_conv(Item* a, Item *b, Item *c);
Item *create_func_cos(Item* a);