Lines Matching refs:query
25 if (!$mysqli->query('SET AUTOCOMMIT = 0'))
28 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit'))
39 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit'))
46 if (!$mysqli->query('DROP TABLE IF EXISTS test'))
49 if (!$mysqli->query('CREATE TABLE test(id INT) ENGINE = InnoDB')) {
53 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)'))
56 if (!$mysqli->query('ROLLBACK'))
59 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test'))
68 if (!$mysqli->query('DROP TABLE IF EXISTS test'))
71 if (!$mysqli->query('SET AUTOCOMMIT = 1'))
74 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit'))
85 if (!$mysqli->query('CREATE TABLE test(id INT) ENGINE = InnoDB')) {
89 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)'))
92 if (!$mysqli->query('ROLLBACK'))
95 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test'))
102 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)'))
105 if (!$mysqli->query('COMMIT'))
108 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test'))
116 if (!$mysqli->query('DROP TABLE IF EXISTS test'))