Skip to content

Commit 49e0d88

Browse files
author
Aakash Arayambeth
committed
destroy temporarily used fdb
Signed-off-by: Aakash Arayambeth <[email protected]>
1 parent 2f9ab0e commit 49e0d88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: db/fdb_fend.c

+1
Original file line numberDiff line numberDiff line change
@@ -6262,6 +6262,7 @@ static fdb_push_connector_t *fdb_push_connector_create(const char *dbname,
62626262
return NULL;
62636263

62646264
int rc = fdb_get_remote_version(fdb->dbname, tblname, fdb->class, local, &remote_version, &err);
6265+
destroy_fdb(fdb);
62656266
switch (rc) {
62666267
case FDB_NOERR:
62676268
logmsg(LOGMSG_ERROR, "Table %s already exists, ver %llu\n", tblname, remote_version);

0 commit comments

Comments
 (0)