diff options
author | unknown <serg@serg.mylan> | 2004-09-07 15:18:53 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-09-07 15:18:53 +0200 |
commit | 77a86154880e0e4b8528f2363317c480dff62fe0 (patch) | |
tree | eb69e64fb069e7468a92e59eca620860f68aff61 /sql/log.cc | |
parent | b5c6ac6a03efa7c56795a37f9b35a140e8b7af1d (diff) | |
parent | 6b1444d7ba70a286f3fc543ab5bc8927106f5638 (diff) | |
download | mariadb-git-77a86154880e0e4b8528f2363317c480dff62fe0.tar.gz |
merged
BitKeeper/etc/ignore:
auto-union
client/mysqlcheck.c:
Auto merged
myisammrg/myrg_open.c:
Auto merged
scripts/mysqld_safe.sh:
Auto merged
sql/sql_analyse.cc:
Auto merged
Diffstat (limited to 'sql/log.cc')
-rw-r--r-- | sql/log.cc | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/sql/log.cc b/sql/log.cc index 08c1b31ed0d..1a3807cbfe6 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -1426,15 +1426,6 @@ COLLATION_CONNECTION=%u,COLLATION_DATABASE=%u,COLLATION_SERVER=%u", if (e.write(file)) goto err; } -#if MYSQL_VERSION_ID < 40100 - if (thd->variables.convert_set) - { - Query_log_event e(thd, "SET CHARACTER SET DEFAULT", 25, 0); - e.set_log_pos(this); - if (e.write(file)) - goto err; - } -#endif } /* @@ -1932,19 +1923,6 @@ void MYSQL_LOG::set_max_size(ulong max_size_arg) } -Disable_binlog::Disable_binlog(THD *thd_arg) : - thd(thd_arg), save_options(thd_arg->options) -{ - thd_arg->options&= ~OPTION_BIN_LOG; -} - - -Disable_binlog::~Disable_binlog() -{ - thd->options= save_options; -} - - /* Check if a string is a valid number @@ -2009,12 +1987,12 @@ void print_buffer_to_file(enum loglevel level, const char *buffer) localtime_r(&skr, &tm_tmp); start=&tm_tmp; fprintf(stderr, "%02d%02d%02d %2d:%02d:%02d [%s] %s\n", - start->tm_year % 100, - start->tm_mon+1, - start->tm_mday, - start->tm_hour, - start->tm_min, - start->tm_sec, + start->tm_year % 100, + start->tm_mon+1, + start->tm_mday, + start->tm_hour, + start->tm_min, + start->tm_sec, (level == ERROR_LEVEL ? "ERROR" : level == WARNING_LEVEL ? "WARNING" : "INFORMATION"), buffer); |