diff options
author | bar@bar.mysql.r18.ru <> | 2003-06-10 17:53:06 +0500 |
---|---|---|
committer | bar@bar.mysql.r18.ru <> | 2003-06-10 17:53:06 +0500 |
commit | 22a7449c7cabd8fb9f0fbe64719221750dd0ab0c (patch) | |
tree | 9d298ac86c52a45cc4f0bc22ec0234c97d62ca46 /sql/item_strfunc.h | |
parent | 5b9db529667d46e6f832e130df35430cdf60660f (diff) | |
download | mariadb-git-22a7449c7cabd8fb9f0fbe64719221750dd0ab0c.tar.gz |
LOAD_FILE() is now COERCIBLE
LOAD_FILE() tests
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 4 |
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; } }; |