diff options
author | vtkachenko@quadxeon.mysql.com <> | 2005-08-11 18:03:01 +0200 |
---|---|---|
committer | vtkachenko@quadxeon.mysql.com <> | 2005-08-11 18:03:01 +0200 |
commit | fc22a36d782f79d1b94a25db0dd0a7e9bb5bcc3a (patch) | |
tree | fbd35f4e360a659a76f5db9126edd80cdbe75430 /innobase | |
parent | 0f75d647349694d820923342325440e9abdd49a6 (diff) | |
download | mariadb-git-fc22a36d782f79d1b94a25db0dd0a7e9bb5bcc3a.tar.gz |
set_var.cc, mysqld.cc, ha_innodb.h, ha_innodb.cc, srv0srv.c, srv0srv.h:
Added innodb_commit_concurrency variable
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/include/srv0srv.h | 1 | ||||
-rw-r--r-- | innobase/srv/srv0srv.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/innobase/include/srv0srv.h b/innobase/include/srv0srv.h index 116ae7b6438..11347f430d4 100644 --- a/innobase/include/srv0srv.h +++ b/innobase/include/srv0srv.h @@ -94,6 +94,7 @@ extern ulint srv_max_dirty_pages_pct; extern ulint srv_force_recovery; extern ulong srv_thread_concurrency; +extern ulong srv_commit_concurrency; extern ulint srv_max_n_threads; diff --git a/innobase/srv/srv0srv.c b/innobase/srv/srv0srv.c index dc85750f0be..64cbae3644a 100644 --- a/innobase/srv/srv0srv.c +++ b/innobase/srv/srv0srv.c @@ -261,6 +261,7 @@ Value 10 should be good if there are less than 4 processors + 4 disks in the computer. Bigger computers need bigger values. */ ulong srv_thread_concurrency = SRV_CONCURRENCY_THRESHOLD; +ulong srv_commit_concurrency = 0; os_fast_mutex_t srv_conc_mutex; /* this mutex protects srv_conc data structures */ |