summaryrefslogtreecommitdiff
path: root/sql/sql_parse.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2022-02-09 21:21:39 +0400
committerAlexander Barkov <bar@mariadb.com>2022-03-22 17:12:15 +0400
commit0c4c064f98120e179ddfa49a1010d465a07bdc0a (patch)
treee8b4414484306ff6eb817269d34a07912e1f49df /sql/sql_parse.h
parentd25b10fede8926f63203dfd2040ec60549d10936 (diff)
downloadmariadb-git-0c4c064f98120e179ddfa49a1010d465a07bdc0a.tar.gz
MDEV-27743 Remove Lex::charset
This patch also fixes: MDEV-27690 Crash on `CHARACTER SET csname COLLATE DEFAULT` in column definition MDEV-27853 Wrong data type on column `COLLATE DEFAULT` and table `COLLATE some_non_default_collation` MDEV-28067 Multiple conflicting column COLLATE clauses are not rejected MDEV-28118 Wrong collation of `CAST(.. AS CHAR COLLATE DEFAULT)` MDEV-28119 Wrong column collation on MODIFY + CONVERT
Diffstat (limited to 'sql/sql_parse.h')
-rw-r--r--sql/sql_parse.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_parse.h b/sql/sql_parse.h
index ebe3fe97114..9e1ec6fabbc 100644
--- a/sql/sql_parse.h
+++ b/sql/sql_parse.h
@@ -79,7 +79,6 @@ bool check_string_char_length(const LEX_CSTRING *str, uint err_msg,
bool no_error);
bool check_ident_length(const LEX_CSTRING *ident);
CHARSET_INFO* merge_charset_and_collation(CHARSET_INFO *cs, CHARSET_INFO *cl);
-CHARSET_INFO *find_bin_collation(CHARSET_INFO *cs);
bool check_host_name(LEX_CSTRING *str);
bool check_identifier_name(LEX_CSTRING *str, uint max_char_length,
uint err_code, const char *param_for_err_msg);