Commit graph

269 commits

Author SHA1 Message Date
Mikael Ronstrom
b040b460ed Added support for rep; nop replacing PAUSE due to Solaris bug
Replaced abs_top_srcdir with top_srcdir, not sure it's an
improvement but at least it's known that abs_top_srcdir
in cases have a problem and this is a more common variable
to use for the same purpose.
2009-02-03 12:46:52 +01:00
MySQL Build Team
8a2e76e629 Use sun_prefetch_read_many() and friends, instead of sparc_prefetch_read_many(),
etc.  The sparc_* are defined only for sparc, but the sun_* are generic for x86
and sparc (and are defined empty for any other platform).
2009-01-28 22:17:20 +01:00
Mikael Ronstrom
2f2758604b Fixed bug 2008-12-15 11:19:47 +01:00
Mikael Ronstrom
da8108cfc8 Fixed missing header 2008-12-15 10:46:02 +01:00
Mikael Ronstrom
771fd7f017 Fix compiler error 2008-12-15 10:05:35 +01:00
Mikael Ronstrom
2f1a94ac40 Fixed compiler warnings on various platforms 2008-12-15 09:44:00 +01:00
Mikael Ronstrom
0f0115a798 Yet another idef error 2008-12-12 23:44:39 +01:00
Mikael Ronstrom
5c52a441cc Fix of ifdef error 2008-12-12 22:39:12 +01:00
Mikael Ronstrom
625b7a00e9 Introduced a new timer based innodb thread concurrency. A new
parameter innodb_thread_concurrency_timer_based is used to
get this new feature (it is set by default). The new feature
is only available on platforms where atomic instructions are
available.
2008-12-12 21:17:15 +01:00
Mikael Ronstrom
2fd7cf9a25 Minor modifications to spin values which showed to be slightly better. 2008-12-10 18:54:23 +01:00
Mikael Ronstrom
8e2b83e733 Added a PAUSE instruction to the SPIN loop
according to recommendation from Intel.
2008-12-10 14:02:52 +01:00
Mikael Ronstrom
9eff32d900 Ensure background wake-up thread doesn't cause deadlocks 2008-12-05 14:08:28 +01:00
Mikael Ronstrom
fa5529eeb8 Added memory barriers to the portability layer in InnoDB
Removed dependency on pthread being an int
2008-12-05 13:43:10 +01:00
Mikael Ronstrom
f31e349ffd Fix to avoid compilation errors on Windows
Not the final fix, only a temporary fix
2008-12-04 11:57:56 +01:00
Mikael Ronstrom
b9ecc2b5dd Removed assert on waiters == 0 since that is now possible and not serious 2008-11-19 02:09:24 +01:00
Mikael Ronstrom
61cc839253 Fix for Percona reported bug with manual merge and fix of bug in
patch (changed to use of UNIV_SYNC_ATOMIC from faulty HAVE_ATOMIC_BUILTINS).
2008-11-17 23:04:36 +01:00
Mikael Ronstrom
d575f6ce34 Added counter of number of missed wakeups of InnoDB threads 2008-11-17 22:54:32 +01:00
Mikael Ronstrom
8d162b444a Fixed spelling error 2008-10-30 18:38:47 +01:00
Mikael Ronstrom
090bcb74ab Merge port of Google SMP patch to Solaris 2008-10-30 10:23:36 +01:00
Mikael Ronstrom
e21ed0a83e Fixed more compiler warnings 2008-10-17 13:50:14 +02:00
Mikael Ronstrom
96263b1d68 Fixed compiler warnings 2008-10-17 13:43:34 +02:00
Mikael Ronstrom
f0d789f190 Merged fixes to compiler errors and warnings 2008-10-17 12:09:45 +02:00
Mikael Ronstrom
9b848d9e7a Fixed a number of compiler issues and attempted a fix for
Windows compilation error.
2008-10-17 12:01:14 +02:00
Mikael Ronstrom
832f7c0274 Fixed a bug introduced by bazaar merge 2008-10-16 23:24:11 +02:00
Mikael Ronstrom
e2b66087e2 merge silly error 2008-10-16 22:18:26 +02:00
Mikael Ronstrom
eeddb067f4 Fixed silly error 2008-10-16 22:11:48 +02:00
Mikael Ronstrom
93805d96ad Merged Google compiler fixes 2008-10-16 21:13:42 +02:00
Mikael Ronstrom
27261d2d13 Fixed Windows compile issues 2008-10-16 21:06:14 +02:00
Mikael Ronstrom
c45dc11f41 merge Google changes to make it compile 2008-10-16 20:59:38 +02:00
Mikael Ronstrom
207225d542 A number of fixes of portability issues in Google patches 2008-10-16 20:45:12 +02:00
Mikael Ronstrom
d7de0b1774 merged into one Google InnoDB tree 2008-10-16 20:28:03 +02:00
Mikael Ronstrom
1f9e6ffc58 merged innobase changes into one tree 2008-10-16 20:18:39 +02:00
Mikael Ronstrom
b90c9a50b6 Remove compiler warnings 2008-10-16 20:07:50 +02:00
Mikael Ronstrom
57787e8dbc Fixed compiler issues 2008-10-16 19:59:04 +02:00
Mikael Ronstrom
5a45142242 Merged fix of compiler issue 2008-10-16 19:48:53 +02:00
Mikael Ronstrom
847c375bc0 Compile fixes, sun_prefetch.h only available on Sun Studio 2008-10-16 17:06:48 +02:00
Mikael Ronstrom
fcd2da609f Compile fix, sun_prefetch.h only available in Sun Studio 2008-10-16 17:04:44 +02:00
Mikael Ronstrom
f0e42724ad Fixed Windows bug in background IO patch 2008-10-16 09:10:30 +02:00
Mikael Ronstrom
7522b1975f merge Google SMP patch 2008-10-15 23:32:54 +02:00
Mikael Ronstrom
fd34712bc2 merged Google background IO threads 2008-10-15 20:56:47 +02:00
Mikael Ronstrom
2c252ba96b Google SMP patch 2008-10-15 20:54:18 +02:00
Mikael Ronstrom
186a5311dd merged io rate patch from Google 2008-10-15 20:48:46 +02:00
Mikael Ronstrom
bab9666d1c Google IO rate patch with a portability fix 2008-10-15 14:30:31 +02:00
Mikael Ronstrom
59ce72dedd merged configuration changes 2008-10-15 12:18:12 +02:00
Mikael Ronstrom
a6a94f83f7 Changed configuration defaults for improved performance on modern computers 2008-10-15 11:08:01 +02:00
Mikael Ronstrom
c4957c250d Merged Sparc Prefetch patch 2008-10-15 10:53:58 +02:00
Mikael Ronstrom
11157d3c56 3 google patches
SMP patch
Rate IO patch
Multiple IO threads patch
2008-10-14 09:56:07 +02:00
Mikael Ronstrom
e521a7588b Performance inline patch 2008-10-13 21:49:39 +02:00
Mikael Ronstrom
6c7f938a16 Sparc prefetch patch 2008-10-13 21:46:29 +02:00
Timothy Smith
d8aa83b270 Cherry-pick some changes from innodb-5.1-ss2545 snapshot. Includes fixes for
Bug#37531, Bug#36941, Bug#36941, Bug#36942, Bug#38185.

Also include test case from Bug 34300 which was left out from earlier snapshot
(5.1-ss2387).

Also include fix for Bug #29507, "TRUNCATE shows to many rows effected", since
the fix for Bug 37531 depends on it.
2008-08-20 16:18:33 -06:00