Skip to content

Commit 8c848f1

Browse files
committed
fix(OCI8): define fallback OCI_COMMIT_ON_SUCCESS constant when oci8 extension is not loaded
1 parent caf4aed commit 8c848f1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎system/Database/OCI8/Connection.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
use ErrorException;
2121
use stdClass;
2222

23+
defined('OCI_COMMIT_ON_SUCCESS') || define('OCI_COMMIT_ON_SUCCESS', 32);
24+
2325
/**
2426
* Connection for OCI8
2527
*

0 commit comments

Comments
 (0)