Lines Matching refs:query
31 if (!$mysqli->query('SET AUTOCOMMIT = 0'))
34 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit'))
45 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit'))
52 if (!$mysqli->query('DROP TABLE IF EXISTS test'))
55 if (!$mysqli->query('CREATE TABLE test(id INT) ENGINE = InnoDB')) {
59 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)'))
62 if (!$mysqli->query('ROLLBACK'))
65 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test'))
74 if (!$mysqli->query('DROP TABLE IF EXISTS test'))
77 if (!$mysqli->query('SET AUTOCOMMIT = 1'))
80 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit'))
91 if (!$mysqli->query('CREATE TABLE test(id INT) ENGINE = InnoDB')) {
95 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)'))
98 if (!$mysqli->query('ROLLBACK'))
101 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test'))
108 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)'))
111 if (!$mysqli->query('COMMIT'))
114 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test'))
122 if (!$mysqli->query('DROP TABLE IF EXISTS test'))