Lines Matching refs:link
17 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
19 mysqli_select_db($link, $db);
21 mysqli_query($link, "DROP TABLE IF EXISTS t036");
22 …mysqli_query($link, "CREATE TABLE t036 (a bigint not null auto_increment primary key, b varchar(10…
24 mysqli_query($link, "INSERT INTO t036 (b) VALUES ('foo1')");
25 $test[] = mysqli_insert_id($link);
32 mysqli_query($link, "ALTER TABLE t036 AUTO_INCREMENT=9999999999999998");
33 mysqli_query($link, "INSERT INTO t036 (b) VALUES ('foo2')");
34 mysqli_query($link, "INSERT INTO t036 (b) VALUES ('foo3')");
35 mysqli_query($link, "INSERT INTO t036 (b) VALUES ('foo4')");
36 $x = mysqli_insert_id($link);
41 mysqli_query($link, "DROP TABLE IF EXISTS t036");
42 mysqli_close($link);
48 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
51 if (!mysqli_query($link, "DROP TABLE IF EXISTS t036"))
52 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
54 mysqli_close($link);