Lines Matching refs:link
12 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket))
16 mysql_select_db($db, $link);
17 mysql_query("DROP TABLE IF EXISTS test_47438", $link);
18 mysql_query("CREATE TABLE test_47438 (a INT, b INT, c INT)", $link);
19 mysql_query("INSERT INTO test_47438 VALUES (10, 11, 12), (20, 21, 22)", $link);
20 $result = mysql_query("SELECT * FROM test_47438", $link);
32 mysql_query("DROP TABLE IF EXISTS test_47438", $link);
39 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket))
43 if (!mysql_select_db($db, $link) ||
44 !mysql_query("DROP TABLE IF EXISTS test_47438", $link))
45 printf("[c002] [%d] %s\n", mysql_errno($link), mysql_error($link));
47 mysql_close($link);