summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2003-07-02 13:03:59 +0300
committerunknown <heikki@hundin.mysql.fi>2003-07-02 13:03:59 +0300
commitc7c8a913ae25ef395a5109b9e044a02608c02e9d (patch)
tree48e120ba67385df8e1c85e6bcbf6ee569ec4abe4 /innobase
parent62389a5a6c0ca4e75605c68c252dc5468a6ef3c3 (diff)
downloadmariadb-git-c7c8a913ae25ef395a5109b9e044a02608c02e9d.tar.gz
sync0sync.c:
Make execution with UNIV_SYNC_DEBUG faster innobase/sync/sync0sync.c: Make execution with UNIV_SYNC_DEBUG faster
Diffstat (limited to 'innobase')
-rw-r--r--innobase/sync/sync0sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/sync/sync0sync.c b/innobase/sync/sync0sync.c
index 32615ce88ac..773b239189c 100644
--- a/innobase/sync/sync0sync.c
+++ b/innobase/sync/sync0sync.c
@@ -159,7 +159,7 @@ struct sync_thread_struct{
};
/* Number of slots reserved for each OS thread in the sync level array */
-#define SYNC_THREAD_N_LEVELS 10000
+#define SYNC_THREAD_N_LEVELS 250
struct sync_level_struct{
void* latch; /* pointer to a mutex or an rw-lock; NULL means that