1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

character_set_server is now updatable

character_set_database was added
Code optimization: reuse more code for all character sets variables
This commit is contained in:
bar@bar.mysql.r18.ru
2003-05-30 13:03:56 +05:00
parent b4014b903b
commit 81f0fb6e18
11 changed files with 142 additions and 75 deletions

View File

@ -215,7 +215,7 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
info.handle_duplicates=handle_duplicates;
info.escape_char=escaped->length() ? (*escaped)[0] : INT_MAX;
READ_INFO read_info(file,tot_length,thd->db_charset,
READ_INFO read_info(file,tot_length,thd->variables.character_set_database,
*field_term,*ex->line_start, *ex->line_term, *enclosed,
info.escape_char, read_file_from_client, is_fifo);
if (read_info.error)