Lines Matching refs:query
24 $db->query('CREATE TABLE test_79375 (first INT) ENGINE = InnoDB');
25 $db->query('INSERT INTO test_79375 VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9)');
30 $query = "SELECT first FROM test_79375 WHERE first = 1 FOR UPDATE";
31 echo "Running query on $name\n";
33 $stmt = $db->query($query);
43 $query = "SELECT first FROM test_79375 WHERE first = 1 FOR UPDATE";
44 echo "Running query on $name\n";
45 $stmt = $db->prepare($query);
58 $query = "SELECT first FROM test_79375 WHERE first = 1 FOR UPDATE";
59 echo "Running query on $name\n";
60 $stmt = $db->prepare($query);
101 Running query on first connection
103 Running query on second connection
106 Running query on first connection
108 Running query on second connection
111 Running query on first connection
113 Running query on second connection