Lines Matching refs:link
13 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
15 if (!mysqli_query($link, "SET sql_mode=''"))
16 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
18 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
19 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
21 $rc = mysqli_query($link, "CREATE TABLE test_bind_fetch(c1 smallint unsigned,
29 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
31 …if (!mysqli_query($link, "INSERT INTO test_bind_fetch VALUES (-23,35999,NULL,-500,-9999999,+30,0)"…
32 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
34 $stmt = mysqli_prepare($link, "SELECT * FROM test_bind_fetch");
44 mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch");
45 mysqli_close($link);
51 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
54 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
55 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
57 mysqli_close($link);