mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Applying InnoDB snapshot, fixes BUG#52102.
Detailed revision comments: r6840 | calvin | 2010-03-19 00:32:23 +0200 (Fri, 19 Mar 2010) | 6 lines branches/zip: Fix Bug #52102 InnoDB Plugin shows performance drop comparing to builtin InnoDB (Windows only). Disable Windows atomics by default. Approved by: Inaam
This commit is contained in:
parent
74dffaa610
commit
e1d20aefe1
2 changed files with 12 additions and 1 deletions
|
|
@ -80,5 +80,9 @@ SET(INNODB_PLUGIN_SOURCES btr/btr0btr.c btr/btr0cur.c btr/btr0pcur.c btr/btr0sea
|
|||
usr/usr0sess.c
|
||||
ut/ut0byte.c ut/ut0dbg.c ut/ut0mem.c ut/ut0rnd.c ut/ut0ut.c ut/ut0vec.c
|
||||
ut/ut0list.c ut/ut0wqueue.c)
|
||||
ADD_DEFINITIONS(-DHAVE_WINDOWS_ATOMICS -DINNODB_RW_LOCKS_USE_ATOMICS -DHAVE_IB_PAUSE_INSTRUCTION)
|
||||
# Windows atomics do not perform well. Disable Windows atomics by default.
|
||||
# See bug#52102 for details.
|
||||
#ADD_DEFINITIONS(-DHAVE_WINDOWS_ATOMICS -DINNODB_RW_LOCKS_USE_ATOMICS -DHAVE_IB_PAUSE_INSTRUCTION)
|
||||
ADD_DEFINITIONS(-DHAVE_IB_PAUSE_INSTRUCTION)
|
||||
|
||||
MYSQL_STORAGE_ENGINE(INNODB_PLUGIN)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
2010-03-18 The InnoDB Team
|
||||
|
||||
* CMakeLists.txt:
|
||||
Fix Bug #52102 InnoDB Plugin shows performance drop comparing to
|
||||
builtin InnoDB (Windows only).
|
||||
Disable Windows atomics by default.
|
||||
|
||||
2010-03-18 The InnoDB Team
|
||||
|
||||
* buf0buf.ic:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue