[PECL-CVS] [pecl-database-pdo_oci] pdo_oci_param_bool_fix: Test Correction

[email protected] (Sharad Chandran R)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Sharad Chandran R (sharadraju)
Date: 2026-01-06T01:56:04+05:30

Commit: https://github.com/php/pecl-database-pdo_oci/commit/c25ab1a35c4a0567a91e11932439b2f55401b456
Raw diff: https://github.com/php/pecl-database-pdo_oci/commit/c25ab1a35c4a0567a91e11932439b2f55401b456.diff

Test Correction

Changed paths:
  M  tests/pdo_oci_insert_boolean.phpt


Diff:

diff --git a/tests/pdo_oci_insert_boolean.phpt b/tests/pdo_oci_insert_boolean.phpt
index 83fab5f..e1dfe96 100644
--- a/tests/pdo_oci_insert_boolean.phpt
+++ b/tests/pdo_oci_insert_boolean.phpt
@@ -24,7 +24,7 @@ require_once(getenv('PDO_TEST_DIR').'/pdo_test.inc');
 $db = PDOTest::factory();
 
 // Create table
-$db->exec("CREATE TABLE IF EXISTS test_bool (id NUMBER, bool_val BOOLEAN)");
+$db->exec("CREATE TABLE IF NOT EXISTS test_bool (id NUMBER, bool_val BOOLEAN)");
 
 // Insert true
 $stmt = $db->prepare("INSERT INTO test_bool (id, bool_val) VALUES (1, :val)");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.