Lines Matching refs:query
30 if (!$mysqli->query('SET AUTOCOMMIT = 0'))
33 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit'))
44 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit'))
51 if (!$mysqli->query('DROP TABLE IF EXISTS test'))
54 if (!$mysqli->query('CREATE TABLE test(id INT) ENGINE = InnoDB')) {
58 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)'))
61 if (!$mysqli->query('ROLLBACK'))
64 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test'))
73 if (!$mysqli->query('DROP TABLE IF EXISTS test'))
76 if (!$mysqli->query('SET AUTOCOMMIT = 1'))
79 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit'))
90 if (!$mysqli->query('CREATE TABLE test(id INT) ENGINE = InnoDB')) {
94 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)'))
97 if (!$mysqli->query('ROLLBACK'))
100 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test'))
107 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)'))
110 if (!$mysqli->query('COMMIT'))
113 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test'))
121 if (!$mysqli->query('DROP TABLE IF EXISTS test'))