Lines Matching refs:link
13 $link = NULL;
19 if (false !== ($tmp = mysql_create_db($link, $link, $link)))
22 if ($link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket))
26 if (!mysql_query("CREATE DATABASE mysqlcreatedb", $link))
27 …"[004] Cannot create database, aborting test, [%d] %s\n", mysql_errno($link), mysql_error($link)));
29 if (!mysql_query("DROP DATABASE mysqlcreatedb", $link))
30 printf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link));
32 if (true !== ($tmp = mysql_create_db("mysqlcreatedb", $link)))
33 … boolean/true, got %s/%s, [%d] %s\n", gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
35 if (false !== ($tmp = mysql_create_db("mysqlcreatedb", $link)))
36 …boolean/false, got %s/%s, [%d] %s\n", gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
38 if (!mysql_query("DROP DATABASE mysqlcreatedb", $link))
39 printf("[008] [%d] %s\n", mysql_errno($link), mysql_error($link));
46 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket))
50 if (!mysql_query("DROP DATABASE IF EXISTS mysqlcreatedb", $link))
51 printf("[c002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
53 mysql_close($link);