summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-06-10 17:53:06 +0500
committerunknown <bar@bar.mysql.r18.ru>2003-06-10 17:53:06 +0500
commit43e36bffb22030af36c9c9548f1cd367690f9e60 (patch)
tree9d298ac86c52a45cc4f0bc22ec0234c97d62ca46 /sql/item_strfunc.h
parent7b93f3850526d3a44adf8f65fcfbbd74b46349ff (diff)
downloadmariadb-git-43e36bffb22030af36c9c9548f1cd367690f9e60.tar.gz
LOAD_FILE() is now COERCIBLE
LOAD_FILE() tests
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 31d6c1fe89d..26c69668b0a 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -536,8 +536,8 @@ public:
const char *func_name() const { return "load_file"; }
void fix_length_and_dec()
{
- set_charset(&my_charset_bin);
- maybe_null=1;
+ set_charset(&my_charset_bin, COER_COERCIBLE);
+ maybe_null=1;
max_length=MAX_BLOB_WIDTH;
}
};