Home
last modified time | relevance | path

Searched refs:exec (Results 126 – 150 of 332) sorted by relevance

12345678910>>...14

/PHP-8.0/ext/sqlite3/tests/
H A Dsqlite3stmt_paramCount_basic.phpt11 var_dump($db->exec('CREATE TABLE foobar (id INTEGER, name STRING, city STRING)'));
14 var_dump($db->exec("INSERT INTO foobar (id, name, city) VALUES (1, 'john', 'LA')"));
15 var_dump($db->exec("INSERT INTO foobar (id, name, city) VALUES (2, 'doe', 'SF')"));
H A Dsqlite3_defensive.phpt17 var_dump($db->exec('CREATE TABLE test (a, b);'));
20 var_dump($db->exec('PRAGMA writable_schema = ON;'));
/PHP-8.0/ext/pdo/tests/
H A Dpdo_012.phpt17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10), grp VARCHAR(10))');
18 $db->exec('INSERT INTO test VALUES(1, \'A\', \'Group1\')');
19 $db->exec('INSERT INTO test VALUES(2, \'B\', \'Group2\')');
H A Dbug_36428.phpt18 $db->exec("CREATE TABLE test (a VARCHAR(10))");
19 $db->exec("INSERT INTO test (a) VALUES ('xyz')");
H A Dpdo_005.phpt17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(10))');
18 $db->exec("INSERT INTO test VALUES(1, 'A', 'AA')");
19 $db->exec("INSERT INTO test VALUES(2, 'B', 'BB')");
20 $db->exec("INSERT INTO test VALUES(3, 'C', 'CC')");
H A Dbug_42917.phpt17 $db->exec("CREATE TABLE test (a varchar(100), b varchar(100), c varchar(100))");
20 $db->exec("INSERT INTO test (a,b,c) VALUES('test".$i."','".$i."','".$i."')");
H A Dpdo_013.phpt17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10), grp VARCHAR(10))');
18 $db->exec('INSERT INTO test VALUES(1, \'A\', \'Group1\')');
19 $db->exec('INSERT INTO test VALUES(2, \'B\', \'Group2\')');
H A Dpdo_015.phpt17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(20))');
18 $db->exec('INSERT INTO test VALUES(1, \'A\', \'A2\')');
19 $db->exec('INSERT INTO test VALUES(2, \'A\', \'B2\')');
H A Dpdo_035.phpt10 $db->exec('CREATE TABLE test (id int)');
11 $db->exec('INSERT INTO test VALUES (23)');
H A Dbug_44409.phpt17 $db->exec("CREATE TABLE test (dat varchar(100))");
18 $db->exec("INSERT INTO test (dat) VALUES ('Data from DB')");
H A Dpdo_033.phpt24 @$db->exec("DROP TABLE test");
34 $db->exec("DROP TABLE test");
/PHP-8.0/ext/pdo_odbc/tests/
H A Dmax_columns.phpt15 if (false === $db->exec('CREATE TABLE TEST (id INT NOT NULL PRIMARY KEY, data varchar(max))')) {
16 if (false === $db->exec('CREATE TABLE TEST (id INT NOT NULL PRIMARY KEY, data longtext)')) {
17 if (false === $db->exec('CREATE TABLE TEST (id INT NOT NULL PRIMARY KEY, data CLOB)')) {
/PHP-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_multi_statements.phpt23 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table));
25 $db->exec($create);
26 $db->exec(sprintf('INSERT INTO %s(id) VALUES (1)', $table));
51 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table));
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt19 $db->exec('DROP TABLE IF EXISTS test');
20 … $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
21 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')");
66 $db->exec('DROP TABLE IF EXISTS test');
H A Dpdo_mysql_prepare_emulated_placeholder_everywhere.phpt21 $db->exec('DROP TABLE IF EXISTS test');
22 … $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
23 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')");
61 $db->exec('DROP TABLE IF EXISTS test');
H A Dpdo_mysql_commit.phpt24 $db->exec(sprintf('DROP TABLE IF EXISTS test_commit'));
25 …$db->exec(sprintf('CREATE TABLE test_commit(id INT) ENGINE=%s', MySQLPDOTest::detect_transactional…
45 $db->exec("INSERT INTO test(id, label) VALUES (100, 'z')");
67 $db->exec("INSERT INTO test(id, label) VALUES (100, 'z')");
91 $db->exec('DROP TABLE IF EXISTS test_commit');
H A Dbug_41698.phpt18 $db->exec('CREATE TABLE test(floatval DECIMAL(8,6))');
19 $db->exec('INSERT INTO test VALUES(2.34)');
H A Dbug_pecl_7976.phpt28 $db->exec('DROP PROCEDURE IF EXISTS p');
29 $db->exec('CREATE PROCEDURE p() BEGIN SELECT "1" AS _one; END;');
57 $db->exec('DROP PROCEDURE IF EXISTS p');
H A Dpecl_bug_5200.phpt15 $db->exec("CREATE TABLE test (bar INT NOT NULL, phase enum('please_select', 'I', 'II', 'IIa', 'IIb'…
25 $db->exec('DROP TABLE IF EXISTS test');
H A Dpdo_mysql_exec_select.phpt2 MySQL PDO->exec(), SELECT
15 $ret = $db->exec($sql);
60 @$db->exec('DROP TABLE IF EXISTS test');
63 Warning: PDO::exec(): SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuf…
H A Dpdo_mysql_prepare_emulated_anonymous.phpt20 $db->exec('DROP TABLE IF EXISTS test');
21 … $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
41 $db->exec('DELETE FROM test');
65 $db->exec('DROP TABLE IF EXISTS test');
/PHP-8.0/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_open_flags.phpt13 var_dump($db->exec('CREATE TABLE test1 (id INT);'));
17 var_dump($db->exec('CREATE TABLE test2 (id INT);'));
/PHP-8.0/ext/standard/tests/file/
H A Dbug81145.phpt11 exec("fallocate -l " . (SIZE_4G-0x100) . " " . escapeshellarg($src), $output, $status);
24 exec("fallocate -l " . (SIZE_4G-0x100) . " " . escapeshellarg($src));
26 exec("fsutil file createnew " . escapeshellarg($src) . " " . (SIZE_4G-0x100));
/PHP-8.0/ext/phar/tests/tar/
H A Dbug70417.phpt8 exec('lsof -p ' . getmypid(), $out, $status);
19exec('lsof -p ' . escapeshellarg(getmypid()) . ' 2> /dev/null', $out); // Note: valgrind can prod…
/PHP-8.0/ext/pdo_pgsql/tests/
H A Dbug69362.phpt22 $db->exec("DROP USER IF EXISTS $user");
23 $db->exec("CREATE USER $user WITH PASSWORD '$pass'");
35 $db->exec("DROP USER $user");

Completed in 35 milliseconds

12345678910>>...14