projects
/
2ndquadrant_bdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
973860d
)
bdr: Don't check for DDL locking in DML when DDL locking disabled
author
Craig Ringer
<craig@2ndquadrant.com>
Mon, 15 Dec 2014 16:55:53 +0000
(
00:55
+0800)
committer
Craig Ringer
<craig@2ndquadrant.com>
Mon, 15 Dec 2014 16:56:54 +0000
(
00:56
+0800)
bdr_locks.c
patch
|
blob
|
blame
|
history
diff --git
a/bdr_locks.c
b/bdr_locks.c
index efb223329c87087e69f2cc400e34aa8c4f622d76..021966833885747bb4aee221548cf241497058d6 100644
(file)
--- a/
bdr_locks.c
+++ b/
bdr_locks.c
@@
-1212,6
+1212,10
@@
bdr_locks_process_remote_startup(uint64 sysid, TimeLineID tli, Oid datid)
void
bdr_locks_check_query(void)
{
+
+ if (bdr_skip_ddl_locking)
+ return;
+
bdr_locks_find_my_database(false);
/* is the database still starting up and hasn't loaded locks */