summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.contextmenu/jquery.contextmenu.r2.packed.js
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2011-09-13 16:34:44 +0200
committerVo Minh Thu <vmt@openerp.com>2011-09-13 16:34:44 +0200
commitad06d1ba565c61a59403087a3b0751267ae5d76c (patch)
treec676082e54f4ec690977aebf62aa67e95f39eeaa /addons/web/static/lib/jquery.contextmenu/jquery.contextmenu.r2.packed.js
parent2a59ce92e3ea35cca00a314d44556b522b3c2fa8 (diff)
[FIX] This complements commit 3511,
revision-id: odo@openerp.com-20110714105552-9tgofrjtdgjmgc4b. Each OpenERP cursor is mapped to a single psycopg2 connexion. When a cursor is closed, the connexion is pushed back to a pool and reused later. Now that the 'snapshot isolation' level is used, the fact we didn't properly commit/rollback a transaction appears: some 'concurrent' update showed up. The fix is simple: whenever a cursor is closed, we rollback any pending operation (which is the expected behavior). (Furthermore, the connexion is explicitely closed when the connexion is pushed back but not kept in the pool.) bzr revid: vmt@openerp.com-20110913143444-s49r7r2h6m00p5s3
Diffstat (limited to 'addons/web/static/lib/jquery.contextmenu/jquery.contextmenu.r2.packed.js')
0 files changed, 0 insertions, 0 deletions