1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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

@ -109,7 +109,7 @@ THD::THD():user_time(0), is_fatal_error(0),
file_id = 0;
cond_count=0;
warn_id= 0;
db_charset=default_charset_info;
db_charset= global_system_variables.character_set_database;
mysys_var=0;
#ifndef DBUG_OFF
dbug_sentry=THD_SENTRY_MAGIC;