summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-06-03 09:55:08 +0200
committerSergei Golubchik <sergii@pisem.net>2014-06-03 09:55:08 +0200
commit5d16592d44d8dd7147ee868c661af842ec0f1568 (patch)
tree57f83c95bf23bdb90bd05e1134ffaaa0e015249f /sql/sql_string.h
parent2d687cad5d1154418603a16e58772d91f37d4cbd (diff)
parentc1fd09f3d4848ae59605564ded9628307d59dd27 (diff)
downloadmariadb-git-5d16592d44d8dd7147ee868c661af842ec0f1568.tar.gz
mysql-5.5.38 merge
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r--sql/sql_string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h
index 020628100cb..35398f284ee 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -322,6 +322,9 @@ public:
static bool needs_conversion(uint32 arg_length,
CHARSET_INFO *cs_from, CHARSET_INFO *cs_to,
uint32 *offset);
+ static bool needs_conversion_on_storage(uint32 arg_length,
+ CHARSET_INFO *cs_from,
+ CHARSET_INFO *cs_to);
bool copy_aligned(const char *s, uint32 arg_length, uint32 offset,
CHARSET_INFO *cs);
bool set_or_copy_aligned(const char *s, uint32 arg_length, CHARSET_INFO *cs);