summaryrefslogtreecommitdiff
path: root/innobase/sync
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2004-02-09 01:32:00 +0200
committerheikki@hundin.mysql.fi <>2004-02-09 01:32:00 +0200
commit836e0b057adf7060e159654e444988676b40c14a (patch)
tree97777e82a25d2f9e6639039e005ecfe3303abd56 /innobase/sync
parentd7b9d5c9e84a383c67f34511fd92255c3c4c7944 (diff)
downloadmariadb-git-836e0b057adf7060e159654e444988676b40c14a.tar.gz
Many files:
Fix bug #2167: generate foreign key id's locally for each table, in the form databasename/tablename_ibfk_number; if the user gives the constraint name explicitly remember it; these changes should ensure that foreign key id's in a slave are the same as in the master, and DROP FOREIGN KEY does not break replication sync0sync.c: UNIV_SYNC_DEBUG caused assertion in the creation of the doublewrite buffer, if we do not allow thousands of latches per thread
Diffstat (limited to 'innobase/sync')
-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 773b239189c..32615ce88ac 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 250
+#define SYNC_THREAD_N_LEVELS 10000
struct sync_level_struct{
void* latch; /* pointer to a mutex or an rw-lock; NULL means that