Lines Matching refs:query
20 $result = $link->query("select @@disconnect_on_expired_password");
22 die("SKIP Failed to query MariaDB @@disconnect_on_expired_password value");
46 if (!$link->query("DROP TABLE IF EXISTS test") ||
47 !$link->query("CREATE TABLE test (id INT)") || !$link->query("INSERT INTO test(id) VALUES (1)"))
69 $link->query("SELECT id FROM test WHERE id = 1");
80 $link->query("SELECT id FROM test WHERE id = 1");
91 $link->query("SELECT id FROM test WHERE id = 1");
92 printf("[006] Connect allowed, query fail, [%d] %s\n", $link->errno, $link->error);
103 if (!$link->query("SET PASSWORD='expiretest'")) {
104 $link->query("SET PASSWORD=PASSWORD('expiretest')");
107 if ($res = $link->query("SELECT id FROM test WHERE id = 1"))
118 $link->query("SELECT id FROM test WHERE id = 1");
119 if ($res = $link->query("SELECT id FROM test WHERE id = 1"))
140 [006] Connect allowed, query fail, [1820] %s