Lines Matching refs:link
17 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
19 if (!mysqli_query($link, "SET sql_mode=''"))
20 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
22 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
23 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
25 $rc = mysqli_query($link,"CREATE TABLE test_bind_fetch(c1 bigint default 5,
34 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
36 $rc = mysqli_query($link, "INSERT INTO test_bind_fetch (c2,c3,c4,c5,c6,c7,c8) ".
39 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
41 $stmt = mysqli_prepare($link, "SELECT * FROM test_bind_fetch");
46 if (mysqli_get_server_version($link) < 50000) {
59 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch_uint"))
60 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
61 …$rc = mysqli_query($link, "CREATE TABLE test_bind_fetch_uint(c1 integer unsigned, c2 integer unsig…
63 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
65 if (!mysqli_query($link, "INSERT INTO test_bind_fetch_uint (c1,c2) VALUES (20123456, 3123456789)"))
66 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
68 $stmt = mysqli_prepare($link, "SELECT * FROM test_bind_fetch_uint");
76 mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch");
77 mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch_uint");
78 mysqli_close($link);
84 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
87 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
88 printf("[002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
90 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch_uint"))
91 printf("[002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
93 mysqli_close($link);