List:Commits« Previous MessageNext Message »
From:Ignacio Galarza Date:December 14 2006 6:41pm
Subject:bk commit into 5.0 tree (iggy:1.2355) BUG#19424
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of iggy. When iggy does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2006-12-14 12:41:13-05:00, iggy@alf. +1 -0
  Bug#19424 InnoDB: Possibly a memory overrun of the buffer being freed (Win64)
  - Re-enabling optimization on all except innodb/mem/*.

  innobase/CMakeLists.txt@stripped, 2006-12-14 11:49:00-05:00, iggy@alf. +3 -37
    Bug#19424 InnoDB: Possibly a memory overrun of the buffer being freed (Win64)
    - Re-enabling optimization on all except innodb/mem/*.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	iggy
# Host:	alf.
# Root:	D:/src/mysql-5.0-maint_19424

--- 1.2/innobase/CMakeLists.txt	2006-12-14 12:41:24 -05:00
+++ 1.3/innobase/CMakeLists.txt	2006-12-14 12:41:24 -05:00
@@ -3,40 +3,10 @@
 ADD_DEFINITIONS(-DMYSQL_SERVER -D_WIN32 -DWIN32 -D_LIB)
 
 # Bug#19424 - InnoDB: Possibly a memory overrun of the buffer being freed (64-bit Visual
C)
-# Removing Win64 compiler optimizations for all innodb files.
+# Removing Win64 compiler optimizations for innodb/mem/* files as a workaround.
 IF(CMAKE_GENERATOR MATCHES "Visual Studio 8 2005 Win64")
-	SET_SOURCE_FILES_PROPERTIES(btr/btr0btr.c btr/btr0cur.c btr/btr0pcur.c btr/btr0sea.c 
-							 buf/buf0buf.c buf/buf0flu.c buf/buf0lru.c buf/buf0rea.c 
-							 data/data0data.c data/data0type.c 
-							 dict/dict0boot.c dict/dict0crea.c dict/dict0dict.c dict/dict0load.c
dict/dict0mem.c 
-							 dyn/dyn0dyn.c 
-							 eval/eval0eval.c eval/eval0proc.c 
-							 fil/fil0fil.c 
-							 fsp/fsp0fsp.c
-							 fut/fut0fut.c fut/fut0lst.c 
-							 ha/ha0ha.c ha/hash0hash.c 
-							 ibuf/ibuf0ibuf.c 
-							 pars/lexyy.c pars/pars0grm.c pars/pars0opt.c pars/pars0pars.c pars/pars0sym.c 
-							 lock/lock0lock.c
-							 log/log0log.c log/log0recv.c 
-							 mach/mach0data.c 
-							 mem/mem0mem.c mem/mem0pool.c 
-							 mtr/mtr0log.c mtr/mtr0mtr.c 
-							 os/os0file.c os/os0proc.c os/os0sync.c os/os0thread.c 
-							 page/page0cur.c page/page0page.c 
-							 que/que0que.c 
-							 read/read0read.c 
-							 rem/rem0cmp.c rem/rem0rec.c
-							 row/row0ins.c row/row0mysql.c row/row0purge.c row/row0row.c row/row0sel.c
row/row0uins.c 
-							 row/row0umod.c row/row0undo.c row/row0upd.c row/row0vers.c 
-							 srv/srv0que.c srv/srv0srv.c srv/srv0start.c 
-							 sync/sync0arr.c sync/sync0rw.c sync/sync0sync.c 
-							 thr/thr0loc.c 
-							 trx/trx0purge.c trx/trx0rec.c trx/trx0roll.c trx/trx0rseg.c 
-                             trx/trx0sys.c trx/trx0trx.c trx/trx0undo.c 
-							 usr/usr0sess.c 
-							 ut/ut0byte.c ut/ut0dbg.c ut/ut0mem.c ut/ut0rnd.c ut/ut0ut.c
-							 PROPERTIES COMPILE_FLAGS -Od)
+	SET_SOURCE_FILES_PROPERTIES(mem/mem0mem.c mem/mem0pool.c 
+							    PROPERTIES COMPILE_FLAGS -Od)
 ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 8 2005 Win64")
 
 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include include)
@@ -71,7 +41,3 @@
 					 usr/usr0sess.c 
 					 ut/ut0byte.c ut/ut0dbg.c ut/ut0mem.c ut/ut0rnd.c ut/ut0ut.c )
 
-# (Bug#19424) Removing Win64 compiler optimizations innobase project.
-IF(CMAKE_GENERATOR MATCHES "Visual Studio 8 2005 Win64")
-	SET_TARGET_PROPERTIES(innobase PROPERTIES COMPILE_FLAGS "/Od")
-ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 8 2005 Win64")
Thread
bk commit into 5.0 tree (iggy:1.2355) BUG#19424Ignacio Galarza14 Dec