Home
last modified time | relevance | path

Searched refs:exec (Results 76 – 100 of 264) sorted by relevance

1234567891011

/PHP-5.5/ext/sqlite3/tests/
H A Dsqlite3_19_columninfo.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dsqlite3stmt_paramCount_error.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_prepare_wrongparams.phpt12 $db->exec('CREATE TABLE foo (id INTEGER, bar STRING)');
13 $db->exec("INSERT INTO foo (id, bar) VALUES (1, 'This is a test')");
H A Dsqlite3_10_bound_value_name.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dsqlite3_12_unfinalized_stmt_cleanup.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dsqlite3_26_reset_prepared_stmt.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dsqlite3_27_reset_prepared_stmt_result.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dsqlite3_35_stmt_readonly.phpt17 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
20 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
21 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dsqlite3_32_changes.phpt12 $db->exec('CREATE TABLE pageView(id INTEGER PRIMARY KEY, page CHAR(256), access INTEGER(10))');
13 $db->exec('INSERT INTO pageView (page, access) VALUES (\'test\', \'000000\')');
H A Dbug53463.phpt10 $db->exec('CREATE TABLE test (whatever INTEGER)');
11 $db->exec('INSERT INTO test (whatever) VALUES (1)');
H A Dsqlite3_prepare_faultystmt.phpt11 $db->exec('CREATE TABLE foo (id INTEGER, bar STRING)');
12 $db->exec("INSERT INTO foo (id, bar) VALUES (1, 'This is a test')");
H A Dsqlite3_28_clear_bindings.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
H A Dsqlite3_33_reset.phpt13 $db->exec('CREATE TABLE foo (id INTEGER, bar STRING)');
14 $db->exec("INSERT INTO foo (id, bar) VALUES (1, 'This is a test')");
H A Dsqlite3result_numcolumns_error.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec('INSERT INTO test (time, id) VALUES(2, 1)'));
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')"));
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_init_command.phpt22 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table));
31 $db->exec(sprintf('INSERT INTO %s(id) VALUES (1)', $table));
35 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table));
H A Dpdo_mysql_bit.phpt2 MySQL PDO->exec(), BIT columns - remove after fix!
18 $db->exec('DROP TABLE IF EXISTS test');
20 @$db->exec($sql);
54 $db->exec('DROP TABLE IF EXISTS test');
H A Dpdo_mysql_attr_multi_statements.phpt22 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table));
24 $db->exec($create);
25 $db->exec(sprintf('INSERT INTO %s(id) VALUES (1)', $table));
49 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table));
/PHP-5.5/ext/standard/tests/file/windows_links/
H A Dbug48746_3.phpt13 $ret = exec(get_junction().' /? 2>&1', $out);
24 exec("mkdir " . $dirname, $output, $ret_val);
26 exec(get_junction()." junction directory", $output, $ret_val);
/PHP-5.5/ext/pdo/tests/
H A Dpdo_017.phpt38 $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10))'.$suf);
39 $db->exec("INSERT INTO test VALUES(1, 'A')");
40 $db->exec("INSERT INTO test VALUES(2, 'B')");
41 $db->exec("INSERT INTO test VALUES(3, 'C')");
H A Dpdo_035.phpt10 $db->exec('CREATE TABLE test (id int)');
11 $db->exec('INSERT INTO test VALUES (23)');
H A Dbug_50458.phpt17 $db->exec("CREATE TABLE test (a VARCHAR(10))");
18 $db->exec("INSERT INTO test (a) VALUES ('xyz')");
/PHP-5.5/ext/pdo_firebird/tests/
H A Dexecute.phpt19 $db->exec("CREATE TABLE ddl (id SMALLINT NOT NULL PRIMARY KEY, text VARCHAR(32),
21 $db->exec("INSERT INTO ddl (id,text) VALUES (1,'bla')");
39 var_dump($db->exec("UPDATE ddl SET id=2 WHERE CURRENT OF c"));
/PHP-5.5/ext/pdo_pgsql/tests/
H A Dbug61267.phpt2 PDO::exec() returns 0 when the statement is a SELECT.
16 $res = $db->exec('SELECT * from generate_series(1, 42);');
/PHP-5.5/ext/pdo_sqlite/tests/
H A Dbug_42589.phpt11 $db->exec('CREATE TABLE test (field1 VARCHAR(10))');
12 $db->exec('INSERT INTO test VALUES("test")');

Completed in 26 milliseconds

1234567891011