]> granicus.if.org Git - php/commitdiff
Using PDO instead because of consistency
authorpeter279k <peter279k@gmail.com>
Sat, 11 May 2019 18:19:07 +0000 (02:19 +0800)
committerPeter Kokot <peterkokot@gmail.com>
Sat, 11 May 2019 19:05:49 +0000 (21:05 +0200)
ext/pdo_sqlite/tests/bug44327_2.phpt
ext/pdo_sqlite/tests/bug44327_3.phpt
ext/pdo_sqlite/tests/bug70862.phpt
ext/pdo_sqlite/tests/debugdumpparams_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_sqlite/tests/pdo_sqlite_lastinsertid.phpt
ext/pdo_sqlite/tests/pdo_sqlite_transaction.phpt

index 4add0730dcf653eb7c8b33014f591e0dd2bb3841..531af9586c7d6819c2c65ccf1c217a95874f3422 100644 (file)
@@ -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);
index 86f56428761ea34b893f41d1e394e729aaa67f8e..45cdbff0c43056f31e91a8d396baf415f229637b 100644 (file)
@@ -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);
index b0b133d8704f62812ac4e166b0663629c8477c2d..d66bb6262fba77b64582a0844f7d2f75618c52c4 100644 (file)
@@ -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)');
index 3e51b532372d0137128356bdb8be4d414599e120..4402b5c81534c12f133c1be611b2a6ff4919333a 100644 (file)
@@ -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);
index 0dd5c1d42829c7084474252bb4ece0d0e6566e75..c9157d1b054d523f464365b9b1962fd68fe6a8b4 100644 (file)
@@ -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)');
 
index efcce00e3de4190b22266418ea81a2b1614c2208..fcfc344896e3d7e6ac151bebd375ae89e3daf861 100644 (file)
@@ -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)');
index 7ff85a5c4c112463160be945db6a788993252270..1e753f37993021bea6070aa4c617d6667e78742d 100644 (file)
@@ -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)');
 
index da6f3cf0fbdd3279b3b178050e2b0fb18cd144f0..5a329a1d971acf293b62a14ea6861e150ec5cf84 100644 (file)
@@ -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)');
 
index 9857b4bd36f075a31b0f456ad9a0797c2f9d3830..deaefbac980f696d26ad3a28612a0164f3bafe50 100644 (file)
@@ -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")');
index 8cdaae16e6cbe50c7a02edba9fdb325987189c23..493fff78d8589653438dbc72984ec6310e23ef8e 100644 (file)
@@ -5,7 +5,7 @@ PDO_sqlite: Testing transaction
 --FILE--
 <?php
 
-$db = new pdo('sqlite::memory:');
+$db = new PDO('sqlite::memory:');
 
 $db->beginTransaction();