diff options
| author | peter279k <peter279k@gmail.com> | 2019-05-12 02:19:07 +0800 |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2019-05-11 21:05:49 +0200 |
| commit | d0ac3a6a86ed6ef989303047117f00f470c593c6 (patch) | |
| tree | f840d589b824091a0c132fc0ef402536936e71cf /ext/pdo_sqlite/tests | |
| parent | 1f3f54f58625d9a72671f6293ae6f0cb758161a1 (diff) | |
| download | php-git-d0ac3a6a86ed6ef989303047117f00f470c593c6.tar.gz | |
Using PDO instead because of consistency
Diffstat (limited to 'ext/pdo_sqlite/tests')
| -rw-r--r-- | ext/pdo_sqlite/tests/bug44327_2.phpt | 2 | ||||
| -rw-r--r-- | ext/pdo_sqlite/tests/bug44327_3.phpt | 2 | ||||
| -rw-r--r-- | ext/pdo_sqlite/tests/bug70862.phpt | 2 | ||||
| -rw-r--r-- | ext/pdo_sqlite/tests/debugdumpparams_001.phpt | 2 | ||||
| -rw-r--r-- | ext/pdo_sqlite/tests/pdo_sqlite_createaggregate.phpt | 2 | ||||
| -rw-r--r-- | ext/pdo_sqlite/tests/pdo_sqlite_createcollation.phpt | 2 | ||||
| -rw-r--r-- | ext/pdo_sqlite/tests/pdo_sqlite_createfunction.phpt | 2 | ||||
| -rw-r--r-- | ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt | 2 | ||||
| -rw-r--r-- | ext/pdo_sqlite/tests/pdo_sqlite_lastinsertid.phpt | 2 | ||||
| -rw-r--r-- | ext/pdo_sqlite/tests/pdo_sqlite_transaction.phpt | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/ext/pdo_sqlite/tests/bug44327_2.phpt b/ext/pdo_sqlite/tests/bug44327_2.phpt index 4add0730dc..531af9586c 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 86f5642876..45cdbff0c4 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 b0b133d870..d66bb6262f 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 3e51b53237..4402b5c815 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 0dd5c1d428..c9157d1b05 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 efcce00e3d..fcfc344896 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 7ff85a5c4c..1e753f3799 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 da6f3cf0fb..5a329a1d97 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 9857b4bd36..deaefbac98 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 8cdaae16e6..493fff78d8 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(); |
