- added a new function to the database interface, cdb_close_cursor(). always
[citadel.git] / citadel / serv_upgrade.c
index 17730bd3595735ab424ce9b8f386e11db0ceae57..1b03efb2f66a8a0af3f97febf05f212c1c01b96a 100644 (file)
@@ -59,7 +59,6 @@ void do_pre555_usersupp_upgrade(void) {
        strcpy(tempfilename, tmpnam(NULL));
 
        /* First, back out all old version records to a flat file */
-       cdb_begin_transaction();
         cdb_rewind(CDB_USERSUPP);
         while(cdbus = cdb_next_item(CDB_USERSUPP), cdbus != NULL) {
                 memset(&usbuf, 0, sizeof(struct pre555usersupp));
@@ -69,7 +68,6 @@ void do_pre555_usersupp_upgrade(void) {
                 cdb_free(cdbus);
                fwrite(&usbuf, sizeof(struct pre555usersupp), 1, fp);
        }
-       cdb_end_transaction();
 
        /* ...and overwrite the records with new format records */
        rewind(fp);