projects
/
users
/
andresfreund
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d20ba7e
)
bdr: Fix use of wrong variable.
author
Andres Freund
<
[email protected]
>
Sun, 18 May 2014 17:52:55 +0000
(19:52 +0200)
committer
Andres Freund
<
[email protected]
>
Thu, 3 Jul 2014 15:55:38 +0000
(17:55 +0200)
Introduced in "bdr: implement per-db worker in shmem"
contrib/bdr/bdr.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/bdr/bdr.c
b/contrib/bdr/bdr.c
index 73faf300e82e2901680dc4a0ff9c7f5ae1e6a045..676999ca76551fc05508880debe80437b5dcff2c 100644
(file)
--- a/
contrib/bdr/bdr.c
+++ b/
contrib/bdr/bdr.c
@@
-1739,7
+1739,7
@@
out:
/* register a slot for every remote node */
bdr_count_shmem_init(bdr_max_workers);
- bdr_sequencer_shmem_init(bdr_max_workers,
num_used_databases
);
+ bdr_sequencer_shmem_init(bdr_max_workers,
bdr_distinct_dbnames_count
);
MemoryContextSwitchTo(old_context);
}