Home
last modified time | relevance | path

Searched refs:exec (Results 1 – 25 of 321) sorted by last modified time

12345678910>>...13

/PHP-7.4/
H A DNEWS519 . Fixed bug #78152 (PDO::exec() - Bad error handling with multiple commands).
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug_33876.phpt16 $db->exec("SET LC_MESSAGES='C'");
17 $db->exec('CREATE TABLE test (foo varchar(5) NOT NULL, bar bool NOT NULL)');
18 $db->exec("INSERT INTO test VALUES('false','f')");
19 $db->exec("INSERT INTO test VALUES('true', 't')");
/PHP-7.4/sapi/fpm/tests/
H A Dtester.inc349 exec($cmd, $output, $code);
860 return exec("kill -$signal $pid");
/PHP-7.4/ext/pdo_firebird/tests/
H A Dbug_76449.phpt20 var_dump($dbh->exec("INSERT INTO test VALUES ('hihi2', 'xxxxx')"));
H A Dbug_aaa.phpt12 @$dbh->exec('drop table ta_table');
13 $dbh->exec('create table ta_table (id integer)');
H A Dddl.phpt14 @$dbh->exec('DROP TABLE ddl');
15 @$dbh->exec('DROP GENERATOR gen_ddl_id');
16 @$dbh->exec('DROP TRIGGER ddl_bi');
18 $dbh->exec("CREATE TABLE ddl (id INT NOT NULL PRIMARY KEY, text BLOB SUB_TYPE 1)");
19 $dbh->exec("CREATE GENERATOR gen_ddl_id");
20 $dbh->exec("CREATE TRIGGER ddl_bi FOR ddl BEFORE INSERT AS
26 var_dump($dbh->exec("INSERT INTO ddl (text) VALUES ('bla')"));
27 var_dump($dbh->exec("UPDATE ddl SET text='blabla'"));
31 var_dump($dbh->exec("DELETE FROM ddl"));
H A Ddialect_1.phpt35 $dbh->exec('RECREATE TABLE test_d1(K numeric(15, 2), DT date)');
H A Dbug_62024.phpt13 @$dbh->exec('DROP TABLE test_insert');
14 $dbh->exec("CREATE TABLE test_insert (ID INTEGER NOT NULL, TEXT VARCHAR(10))");
41 $dbh->exec('DROP TABLE test_insert');
H A Dbug_64037.phpt13 @$dbh->exec('DROP TABLE price');
14 $dbh->exec("CREATE TABLE PRICE (ID INTEGER NOT NULL, TEXT VARCHAR(10), COST NUMERIC(15, 2))");
15 $dbh->exec("INSERT INTO PRICE (ID, TEXT, COST) VALUES (1, 'test', -1.0)");
16 $dbh->exec("INSERT INTO PRICE (ID, TEXT, COST) VALUES (2, 'test', -0.99)");
17 $dbh->exec("INSERT INTO PRICE (ID, TEXT, COST) VALUES (3, 'test', -1.01)");
35 $dbh->exec('DROP TABLE price');
H A Dexecute.phpt16 @$dbh->exec('DROP TABLE ddl');
17 $dbh->exec("CREATE TABLE ddl (id SMALLINT NOT NULL PRIMARY KEY, text VARCHAR(32),
19 $dbh->exec("INSERT INTO ddl (id,text) VALUES (1,'bla')");
37 var_dump($dbh->exec("UPDATE ddl SET id=2 WHERE CURRENT OF c"));
H A Dbug_72583.phpt11 @$dbh->exec('drop table atable');
12 $dbh->exec('create table atable (aint integer, asmi smallint)');
13 $dbh->exec('insert into atable values (1, -1)');
H A DrowCount.phpt12 @$dbh->exec('DROP TABLE testz');
13 $dbh->exec('CREATE TABLE testz (A VARCHAR(10))');
14 $dbh->exec("INSERT INTO testz VALUES ('A')");
15 $dbh->exec("INSERT INTO testz VALUES ('A')");
16 $dbh->exec("INSERT INTO testz VALUES ('B')");
39 $dbh->exec('DROP TABLE testz');
H A Dbug_47415.phpt11 @$dbh->exec('DROP TABLE testz');
14 $dbh->exec('CREATE TABLE testz (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
15 $dbh->exec('INSERT INTO testz VALUES(0, \'String0\')');
H A Dbug_48877.phpt14 @$dbh->exec('DROP TABLE testz');
15 $dbh->exec('CREATE TABLE testz (A integer)');
16 $dbh->exec("INSERT INTO testz VALUES ('1')");
17 $dbh->exec("INSERT INTO testz VALUES ('2')");
18 $dbh->exec("INSERT INTO testz VALUES ('3')");
36 $dbh->exec('DROP TABLE testz');
H A Dbug_53280.phpt12 @$dbh->exec('DROP TABLE testz');
13 $dbh->exec('CREATE TABLE testz(A VARCHAR(30), B VARCHAR(30), C VARCHAR(30))');
14 $dbh->exec("INSERT INTO testz VALUES ('A', 'B', 'C')");
34 $dbh->exec('DROP TABLE testz');
H A Dbug_72931.phpt11 @$dbh->exec('drop table tablea');
12 $dbh->exec('create table tablea (id integer)');
H A Dbug_73087.phpt11 @$dbh->exec('drop table atable');
12 $dbh->exec('create table atable (id integer not null, content blob sub_type 1 segment size 80)');
H A Dbug_74462.phpt11 @$dbh->exec('drop table atable');
12 $dbh->exec('create table atable (id integer not null, abool boolean)');
13 $dbh->exec('insert into atable (id, abool) values (1, true)');
14 $dbh->exec('insert into atable (id, abool) values (2, false)');
15 $dbh->exec('insert into atable (id, abool) values (3, null)');
/PHP-7.4/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-7.4/ext/pdo_odbc/tests/
H A Dbug80783.phpt13 $db->exec("CREATE TABLE bug80783 (name IMAGE)");
16 $db->exec("INSERT INTO bug80783 VALUES('$string')");
29 $db->exec("DROP TABLE bug80783");
H A Dbug80783a.phpt13 $db->exec("CREATE TABLE bug80783a (name NVARCHAR(MAX))");
16 $db->exec("INSERT INTO bug80783a VALUES('$string')");
30 $db->exec("DROP TABLE bug80783a");
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_prompt.c407 PHPDBG_COMMAND(exec) /* {{{ */ in PHPDBG_COMMAND() argument
423 if (PHPDBG_G(exec)) { in PHPDBG_COMMAND()
425 free(PHPDBG_G(exec)); in PHPDBG_COMMAND()
426 PHPDBG_G(exec) = NULL; in PHPDBG_COMMAND()
435 PHPDBG_G(exec) = res; in PHPDBG_COMMAND()
537 if (PHPDBG_G(exec)) { in phpdbg_compile_stdin()
538 free(PHPDBG_G(exec)); in phpdbg_compile_stdin()
572 if (!PHPDBG_G(exec)) { in phpdbg_compile()
1130 …phpdbg_writeln("info", "context=\"%s\"", "Exec %s", PHPDBG_G(exec) ? PHPDBG_G(exec) : "none"… in PHPDBG_COMMAND()
1165 if (PHPDBG_G(exec)) { in PHPDBG_COMMAND()
[all …]
/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug78152.phpt2 Bug #78152: PDO::exec() - Bad error handling with multiple commands
16 var_dump($db->exec("INSERT INTO test(id, label) VALUES (41, 'x'); INSERT INTO test_bad(id, label) V…
19 …var_dump($db->exec("INSERT INTO test(id, label) VALUES (42, 'x'); INSERT INTO test_bad(id, label) …
31 Warning: PDO::exec(): SQLSTATE[42S02]: Base table or view not found: 1146 Table '%s.test_bad' doesn…
H A Dbug63185.phpt17 $pdo->exec('DROP PROCEDURE IF EXISTS test_procedure_error_at_second');
18 $pdo->exec('CREATE PROCEDURE test_procedure_error_at_second ()
H A Dbug80458.phpt44 $db->exec('DROP PROCEDURE IF EXISTS nores');
45 $db->exec('CREATE PROCEDURE nores() BEGIN DELETE FROM test WHERE first=6; END;');
49 $db->exec('DROP PROCEDURE IF EXISTS nores');
51 $db->exec('DROP PROCEDURE IF EXISTS ret');
52 $db->exec('CREATE PROCEDURE ret() BEGIN SELECT first FROM test WHERE first=7; END;');
58 $db->exec('DROP PROCEDURE IF EXISTS ret');
85 $db->exec('DROP PROCEDURE IF EXISTS nores');
86 $db->exec('CREATE PROCEDURE nores() BEGIN DELETE FROM test WHERE first=13; END;');
90 $db->exec('DROP PROCEDURE IF EXISTS nores');
92 $db->exec('DROP PROCEDURE IF EXISTS ret');
[all …]

Completed in 36 milliseconds

12345678910>>...13