com php-src: Using PDO instead because of consistency: ext/pdo_sqlite/tests/bug44327_2.phpt ext/pd o_sqlite/tests/bug44327_3.phpt ext/pdo_sq
lite/tests/bug70862.phpt ext/pdo_sqlite/tests/d ebugdumpparams_001.phpt ext/pdo_sqlite/tests/pdo _sqlite_createaggregate.phpt ext/pdo_sqlite/tests/pdo
_sqlite_createcollation.phpt ext/pdo_sqlite/tests/pdo _sqlite_createfunction.phpt ext/pdo_sqlite/tests/pdo _sqlite_createfunction_with_flags.phpt
ext/pdo_sq lite/test

From: Date: Sat, 11 May 2019 19:05:49 +0000
Subject: com php-src: Using PDO instead because of consistency: ext/pdo_sqlite/tests/bug44327_2.phpt ext/pd o_sqlite/tests/bug44327_3.phpt ext/pdo_sq
lite/tests/bug70862.phpt ext/pdo_sqlite/tests/d ebugdumpparams_001.phpt ext/pdo_sqlite/tests/pdo _sqlite_createaggregate.phpt ext/pdo_sqlite/tests/pdo
_sqlite_createcollation.phpt ext/pdo_sqlite/tests/pdo _sqlite_createfunction.phpt ext/pdo_sqlite/tests/pdo _sqlite_createfunction_with_flags.phpt
ext/pdo_sq lite/test
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106133@lists.php.net to get a copy of this message
Commit: d0ac3a6a86ed6ef989303047117f00f470c593c6 Author: peter279k <peter279k@gmail.com> Sun, 12 May 2019 02:19:07 +0800 Committer: Peter Kokot <peterkokot@gmail.com> Sat, 11 May 2019 21:05:49 +0200 Parents: 1f3f54f58625d9a72671f6293ae6f0cb758161a1 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d0ac3a6a86ed6ef989303047117f00f470c593c6 Log: Using PDO instead because of consistency Changed paths: M ext/pdo_sqlite/tests/bug44327_2.phpt M ext/pdo_sqlite/tests/bug44327_3.phpt M ext/pdo_sqlite/tests/bug70862.phpt M ext/pdo_sqlite/tests/debugdumpparams_001.phpt M ext/pdo_sqlite/tests/pdo_sqlite_createaggregate.phpt M ext/pdo_sqlite/tests/pdo_sqlite_createcollation.phpt M ext/pdo_sqlite/tests/pdo_sqlite_createfunction.phpt M ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt M ext/pdo_sqlite/tests/pdo_sqlite_lastinsertid.phpt M ext/pdo_sqlite/tests/pdo_sqlite_transaction.phpt Diff: diff --git a/ext/pdo_sqlite/tests/bug44327_2.phpt b/ext/pdo_sqlite/tests/bug44327_2.phpt index 4add073..531af95 100644 --- a/ext/pdo_sqlite/tests/bug44327_2.phpt +++ b/ext/pdo_sqlite/tests/bug44327_2.phpt @@ -7,7 +7,7 @@ if (!extension_loaded('pdo_sqlite')) print 'skip not loaded'; --FILE-- <?php -$db = new pdo('sqlite::memory:'); +$db = new PDO('sqlite::memory:'); $x = $db->query('select 1 as queryString'); var_dump($x, $x->queryString); diff --git a/ext/pdo_sqlite/tests/bug44327_3.phpt b/ext/pdo_sqlite/tests/bug44327_3.phpt index 86f5642..45cdbff 100644 --- a/ext/pdo_sqlite/tests/bug44327_3.phpt +++ b/ext/pdo_sqlite/tests/bug44327_3.phpt @@ -7,7 +7,7 @@ if (!extension_loaded('pdo_sqlite')) print 'skip not loaded'; --FILE-- <?php -$db = new pdo('sqlite::memory:'); +$db = new PDO('sqlite::memory:'); $x = $db->query('select 1 as queryStringxx'); $y = $x->fetch(PDO::FETCH_LAZY); diff --git a/ext/pdo_sqlite/tests/bug70862.phpt b/ext/pdo_sqlite/tests/bug70862.phpt index b0b133d..d66bb62 100644 --- a/ext/pdo_sqlite/tests/bug70862.phpt +++ b/ext/pdo_sqlite/tests/bug70862.phpt @@ -5,7 +5,7 @@ PDO_sqlite: Testing sqliteCreateCollation() --FILE-- <?php -$db = new pdo('sqlite::memory:'); +$db = new PDO('sqlite::memory:'); $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $db->exec('CREATE TABLE test(field BLOB)'); diff --git a/ext/pdo_sqlite/tests/debugdumpparams_001.phpt b/ext/pdo_sqlite/tests/debugdumpparams_001.phpt index 3e51b53..4402b5c 100644 --- a/ext/pdo_sqlite/tests/debugdumpparams_001.phpt +++ b/ext/pdo_sqlite/tests/debugdumpparams_001.phpt @@ -7,7 +7,7 @@ if (!extension_loaded('pdo_sqlite')) print 'skip not loaded'; --FILE-- <?php -$db = new pdo('sqlite::memory:'); +$db = new PDO('sqlite::memory:'); $x= $db->prepare('select :a, :b, ?'); $x->bindValue(':a', 1, PDO::PARAM_INT); diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_createaggregate.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_createaggregate.phpt index 0dd5c1d..c9157d1 100644 --- a/ext/pdo_sqlite/tests/pdo_sqlite_createaggregate.phpt +++ b/ext/pdo_sqlite/tests/pdo_sqlite_createaggregate.phpt @@ -5,7 +5,7 @@ PDO_sqlite: Testing sqliteCreateAggregate() --FILE-- <?php -$db = new pdo('sqlite::memory:'); +$db = new PDO('sqlite::memory:'); $db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)'); diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_createcollation.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_createcollation.phpt index efcce00..fcfc344 100644 --- a/ext/pdo_sqlite/tests/pdo_sqlite_createcollation.phpt +++ b/ext/pdo_sqlite/tests/pdo_sqlite_createcollation.phpt @@ -5,7 +5,7 @@ PDO_sqlite: Testing sqliteCreateCollation() --FILE-- <?php -$db = new pdo('sqlite::memory:'); +$db = new PDO('sqlite::memory:'); $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)'); diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_createfunction.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_createfunction.phpt index 7ff85a5..1e753f3 100644 --- a/ext/pdo_sqlite/tests/pdo_sqlite_createfunction.phpt +++ b/ext/pdo_sqlite/tests/pdo_sqlite_createfunction.phpt @@ -5,7 +5,7 @@ PDO_sqlite: Testing sqliteCreateFunction() --FILE-- <?php -$db = new pdo('sqlite::memory:'); +$db = new PDO('sqlite::memory:'); $db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)'); diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt index da6f3cf..5a329a1 100644 --- a/ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt +++ b/ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt @@ -8,7 +8,7 @@ if (!defined('PDO::SQLITE_DETERMINISTIC')) die('skip system sqlite is too old'); --FILE-- <?php -$db = new pdo('sqlite::memory:'); +$db = new PDO('sqlite::memory:'); $db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)'); diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_lastinsertid.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_lastinsertid.phpt index 9857b4b..deaefba 100644 --- a/ext/pdo_sqlite/tests/pdo_sqlite_lastinsertid.phpt +++ b/ext/pdo_sqlite/tests/pdo_sqlite_lastinsertid.phpt @@ -5,7 +5,7 @@ PDO_sqlite: Testing lastInsertId() --FILE-- <?php -$db = new pdo('sqlite::memory:'); +$db = new PDO('sqlite::memory:'); $db->query('CREATE TABLE IF NOT EXISTS foo (id INT AUTO INCREMENT, name TEXT)'); $db->query('INSERT INTO foo VALUES (NULL, "PHP")'); $db->query('INSERT INTO foo VALUES (NULL, "PHP6")'); diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_transaction.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_transaction.phpt index 8cdaae1..493fff7 100644 --- a/ext/pdo_sqlite/tests/pdo_sqlite_transaction.phpt +++ b/ext/pdo_sqlite/tests/pdo_sqlite_transaction.phpt @@ -5,7 +5,7 @@ PDO_sqlite: Testing transaction --FILE-- <?php -$db = new pdo('sqlite::memory:'); +$db = new PDO('sqlite::memory:'); $db->beginTransaction();

« previous php.cvs (#106133) next »