From: peter279k Date: Sat, 11 May 2019 18:19:07 +0000 (+0800) Subject: Using PDO instead because of consistency X-Git-Tag: php-7.4.0alpha1~300 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0ac3a6a86ed6ef989303047117f00f470c593c6;p=php Using PDO instead because of consistency --- 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-- 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-- 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-- 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-- 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-- 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-- 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-- 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-- 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-- 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-- beginTransaction();