From f6517b1947ada17d4a53d4efc0fd45a1b6777c2c Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 17 Oct 2000 00:47:15 +0300 Subject: Automatic repair of MyISAM tables + small bug fixes Docs/manual.texi: Updates for 3.23.26 include/Makefile.am: Install my_config.h include/my_pthread.h: Fix for Ia64 myisam/mi_check.c: Wrong new record pos on dupplicate key error myisam/mi_open.c: Fix for automatic repair myisam/myisamchk.c: Fix for automatic repair myisam/myisamdef.h: Fix for automatic repair mysys/mf_tempfile.c: Fix usage of mkstemp sql-bench/bench-init.pl.sh: Better help text sql-bench/test-insert.sh: Fix for slow databases sql/field.cc: Fix of default values for CREATE TABLE ... SELECT sql/ha_berkeley.cc: Fix bug in BDB records_in_range sql/ha_myisam.cc: Fix for automatic repair sql/ha_myisam.h: Fix for automatic repair sql/handler.cc: Fixes for innobase sql/item_strfunc.cc: Fix for SUBSTR_INDEX and REPLACE sql/log_event.h: Portability fix sql/mysqld.cc: Added INNOBASE and fixes for automatic recover of MyISAM tables sql/sql_base.cc: Fix for automatic repair sql/sql_table.cc: Fix for IF EXISTS when used with CREATE TEMPORARY --- sql/log_event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/log_event.h') diff --git a/sql/log_event.h b/sql/log_event.h index 9875f7bddac..4b2739d1592 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -308,7 +308,7 @@ public: Start_log_event() :Log_event(time(NULL)),binlog_version(BINLOG_VERSION) { - created = when; + created = (uint32) when; memcpy(server_version, ::server_version, sizeof(server_version)); } Start_log_event(FILE* file, time_t when_arg, uint32 server_id) : -- cgit v1.2.1