Remove PgDtc_set_property(.., prepareRequestded, 0) which causes a crash
authorHiroshi Inoue <inoue@tpf.co.jp>
Mon, 30 Jun 2014 11:59:22 +0000 (20:59 +0900)
committerHiroshi Inoue <inoue@tpf.co.jp>
Mon, 30 Jun 2014 12:02:46 +0000 (21:02 +0900)
in case PREPARE TRANSACTION error. The property prepareRequested isn't set
anywhere.

msdtc_enlist.cpp

index 4795c75fe3f666007eb0d9e7714885210e11beb6..1fa53bb80d2ce3c7f101bfdf33ce1438f81809d9 100755 (executable)
@@ -646,7 +646,6 @@ HRESULT IAsyncPG::RequestExec(DWORD type, HRESULT res)
                SetDone(res);
                bReleaseEnlist = true;
            }
-           PgDtc_set_property(dtcconn, prepareRequested, (void *) 0);
            ret = enlist->PrepareRequestDone(res, NULL, NULL);
            SetPrepareResult(res);
            break;