s3:registry: prevent unnecessary transactions in regdb_init
authorMichael Adam <obnox@samba.org>
Wed, 9 Nov 2011 10:14:38 +0000 (11:14 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 9 Nov 2011 14:06:58 +0000 (15:06 +0100)
commit6727429aea4505d085bcf6f22dd316e7123f0e83
tree7716d309b9f923058b13b527c6250e42fd96727c
parente66ceb6566b532ea7f191dd2a0ed661f7086609e
s3:registry: prevent unnecessary transactions in regdb_init

Skip the transaction for the upgrade code, if the database
is already at code-level.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Nov  9 15:06:59 CET 2011 on sn-devel-104
source3/registry/reg_backend_db.c