From d6ba2c70fa398ae6d7c241a75739827649007654 Mon Sep 17 00:00:00 2001 From: Anthony Tuininga Date: Thu, 27 Apr 2017 13:36:00 -0600 Subject: [PATCH] Enable temporary LOB caching in order to avoid disk I/O as suggested (https://github.com/oracle/odpi/issues/10). --- src/dpiOci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dpiOci.c b/src/dpiOci.c index c20c0ed8..cc025aae 100644 --- a/src/dpiOci.c +++ b/src/dpiOci.c @@ -1436,7 +1436,7 @@ int dpiOci__lobCreateTemporary(dpiLob *lob, dpiError *error) else lobType = DPI_OCI_TEMP_CLOB; status = (*dpiOciSymbols.fnLobCreateTemporary)(lob->conn->handle, error->handle, lob->locator, DPI_OCI_DEFAULT, - lob->type->charsetForm, lobType, 0, DPI_OCI_DURATION_SESSION); + lob->type->charsetForm, lobType, 1, DPI_OCI_DURATION_SESSION); return dpiError__check(error, status, lob->conn, "create temporary LOB"); }