Lines Matching refs:link

15 	if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
20 …function func_mysqli_stmt_get_result($link, $engine, $bind_type, $sql_type, $bind_value, $offset, …
22 if (!mysqli_query($link, "DROP TABLE IF EXISTS test")) {
23 printf("[%04d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
27 …if (!mysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s…
32 if (!$stmt = mysqli_stmt_init($link)) {
33 printf("[%04d] [%d] %s\n", $offset + 1, mysqli_errno($link), mysqli_error($link));
58 $stmt = mysqli_stmt_init($link);
121 func_mysqli_stmt_get_result($link, $engine, "i", "TINYINT", -11, 20);
122 func_mysqli_stmt_get_result($link, $engine, "i", "TINYINT", NULL, 40);
123 func_mysqli_stmt_get_result($link, $engine, "i", "TINYINT UNSIGNED", 1, 60);
124 func_mysqli_stmt_get_result($link, $engine, "i", "TINYINT UNSIGNED", NULL, 80);
126 func_mysqli_stmt_get_result($link, $engine, "i", "BOOL", 1, 100);
127 func_mysqli_stmt_get_result($link, $engine, "i", "BOOL", NULL, 120);
128 func_mysqli_stmt_get_result($link, $engine, "i", "BOOLEAN", 0, 140);
129 func_mysqli_stmt_get_result($link, $engine, "i", "BOOLEAN", NULL, 160);
131 func_mysqli_stmt_get_result($link, $engine, "i", "SMALLINT", -32768, 180);
132 func_mysqli_stmt_get_result($link, $engine, "i", "SMALLINT", 32767, 200);
133 func_mysqli_stmt_get_result($link, $engine, "i", "SMALLINT", NULL, 220);
134 func_mysqli_stmt_get_result($link, $engine, "i", "SMALLINT UNSIGNED", 65535, 240);
135 func_mysqli_stmt_get_result($link, $engine, "i", "SMALLINT UNSIGNED", NULL, 260);
137 func_mysqli_stmt_get_result($link, $engine, "d", "MEDIUMINT", -8388608, 280, "integer");
138 func_mysqli_stmt_get_result($link, $engine, "d", "MEDIUMINT", 8388607, 300, "integer");
139 func_mysqli_stmt_get_result($link, $engine, "d", "MEDIUMINT", NULL, 320);
140 func_mysqli_stmt_get_result($link, $engine, "d", "MEDIUMINT UNSIGNED", 16777215, 340, "integer");
141 func_mysqli_stmt_get_result($link, $engine, "d", "MEDIUMINT UNSIGNED", NULL, 360);
143 …func_mysqli_stmt_get_result($link, $engine, "i", "INTEGER", (defined("PHP_INT_MAX")) ? max(-1 * PH…
144 func_mysqli_stmt_get_result($link, $engine, "i", "INTEGER", -2147483647, 400, "integer");
145 …func_mysqli_stmt_get_result($link, $engine, "i", "INTEGER", (defined("PHP_INT_MAX")) ? min(2147483…
146 func_mysqli_stmt_get_result($link, $engine, "i", "INTEGER", NULL, 440);
147 …func_mysqli_stmt_get_result($link, $engine, "i", "INTEGER UNSIGNED", (defined("PHP_INT_MAX")) ? mi…
148 …func_mysqli_stmt_get_result($link, $engine, "i", "INTEGER UNSIGNED", 4294967295, 480, (defined("PH…
149 func_mysqli_stmt_get_result($link, $engine, "i", "INTEGER UNSIGNED", NULL, 500);
152 func_mysqli_stmt_get_result($link, $engine, "i", "BIGINT", -9223372036854775808, 520);
153 func_mysqli_stmt_get_result($link, $engine, "i", "BIGINT UNSIGNED", 18446744073709551615, 560);
155 func_mysqli_stmt_get_result($link, $engine, "i", "BIGINT", NULL, 540);
156 func_mysqli_stmt_get_result($link, $engine, "i", "BIGINT UNSIGNED", NULL, 580);
157 func_mysqli_stmt_get_result($link, $engine, "i", "BIGINT", -1, 1780);
158 func_mysqli_stmt_get_result($link, $engine, "i", "BIGINT UNSIGNED", 1, 1800);
159 func_mysqli_stmt_get_result($link, $engine, "i", "BIGINT", -1 * PHP_INT_MAX + 1, 1820);
160 func_mysqli_stmt_get_result($link, $engine, "i", "BIGINT UNSIGNED", PHP_INT_MAX, 1840);
161 func_mysqli_stmt_get_result($link, $engine, "s", "BIGINT UNSIGNED", "18446744073709551615", 1860);
162 func_mysqli_stmt_get_result($link, $engine, "s", "BIGINT", "-9223372036854775808", 1880);
164 func_mysqli_stmt_get_result($link, $engine, "d", "FLOAT", -9223372036854775808 - 1.1, 600);
165 func_mysqli_stmt_get_result($link, $engine, "d", "FLOAT", NULL, 620);
166 …func_mysqli_stmt_get_result($link, $engine, "d", "FLOAT UNSIGNED", 18446744073709551615 + 1.1, 640…
167 func_mysqli_stmt_get_result($link, $engine, "d", "FLOAT UNSIGNED ", NULL, 660);
171 func_mysqli_stmt_get_result($link, $engine, "d", "DOUBLE(10,2)", $tmp, 680, "string");
172 func_mysqli_stmt_get_result($link, $engine, "d", "DOUBLE(10,2)", NULL, 700);
174 func_mysqli_stmt_get_result($link, $engine, "d", "DOUBLE(10,2) UNSIGNED", $tmp , 720, "string");
175 func_mysqli_stmt_get_result($link, $engine, "d", "DOUBLE(10,2) UNSIGNED", NULL, 740);
177 func_mysqli_stmt_get_result($link, $engine, "d", "DECIMAL(10,2)", $tmp, 760, "string");
178 func_mysqli_stmt_get_result($link, $engine, "d", "DECIMAL(10,2)", NULL, 780);
180 func_mysqli_stmt_get_result($link, $engine, "d", "DECIMAL(10,2)", $tmp, 800, "string");
181 func_mysqli_stmt_get_result($link, $engine, "d", "DECIMAL(10,2)", NULL, 820);
184 func_mysqli_stmt_get_result($link, $engine, "s", "DATE", @date('Y-m-d'), 840);
185 func_mysqli_stmt_get_result($link, $engine, "s", "DATE NOT NULL", @date('Y-m-d'), 860);
186 func_mysqli_stmt_get_result($link, $engine, "s", "DATE", NULL, 880);
188 func_mysqli_stmt_get_result($link, $engine, "s", "DATETIME", @date('Y-m-d H:i:s'), 900);
189 func_mysqli_stmt_get_result($link, $engine, "s", "DATETIME NOT NULL", @date('Y-m-d H:i:s'), 920);
190 func_mysqli_stmt_get_result($link, $engine, "s", "DATETIME", NULL, 940);
192 func_mysqli_stmt_get_result($link, $engine, "s", "TIMESTAMP", @date('Y-m-d H:i:s'), 960);
194 func_mysqli_stmt_get_result($link, $engine, "s", "TIME", @date('H:i:s'), 980);
195 func_mysqli_stmt_get_result($link, $engine, "s", "TIME NOT NULL", @date('H:i:s'), 1000);
196 func_mysqli_stmt_get_result($link, $engine, "s", "TIME", NULL, 1020);
199 func_mysqli_stmt_get_result($link, $engine, "s", "YEAR", $tmp, 1040, "integer");
200 func_mysqli_stmt_get_result($link, $engine, "s", "YEAR NOT NULL", $tmp, 1060, "integer");
201 func_mysqli_stmt_get_result($link, $engine, "s", "YEAR", NULL, 1080);
204 func_mysqli_stmt_get_result($link, $engine, "s", "CHAR(1)", "a", 1110, $hint_str_or_unicode);
205 …func_mysqli_stmt_get_result($link, $engine, "s", "CHAR(255)", $string255, 1120, $hint_str_or_unico…
206 …func_mysqli_stmt_get_result($link, $engine, "s", "CHAR(1) NOT NULL", "a", 1140, $hint_str_or_unico…
207 func_mysqli_stmt_get_result($link, $engine, "s", "CHAR(1)", NULL, 1160);
210 func_mysqli_stmt_get_result($link, $engine, "s", "VARCHAR(1)", "a", 1180, $hint_str_or_unicode);
211 …func_mysqli_stmt_get_result($link, $engine, "s", "VARCHAR(255)", $string255, 1200, $hint_str_or_un…
212 …func_mysqli_stmt_get_result($link, $engine, "s", "VARCHAR(65635)", $string65k, 1220, $hint_str_or_…
213 …func_mysqli_stmt_get_result($link, $engine, "s", "VARCHAR(1) NOT NULL", "a", 1240, $hint_str_or_un…
214 func_mysqli_stmt_get_result($link, $engine, "s", "VARCHAR(1)", NULL, 1260);
216 func_mysqli_stmt_get_result($link, $engine, "s", "BINARY(1)", "a", 1280);
217 func_mysqli_stmt_get_result($link, $engine, "s", "BINARY(1)", chr(0), 1300);
218 func_mysqli_stmt_get_result($link, $engine, "s", "BINARY(1) NOT NULL", "b", 1320);
219 func_mysqli_stmt_get_result($link, $engine, "s", "BINARY(1)", NULL, 1340);
221 func_mysqli_stmt_get_result($link, $engine, "s", "VARBINARY(1)", "a", 1360);
222 func_mysqli_stmt_get_result($link, $engine, "s", "VARBINARY(1)", chr(0), 1380);
223 func_mysqli_stmt_get_result($link, $engine, "s", "VARBINARY(1) NOT NULL", "b", 1400);
224 func_mysqli_stmt_get_result($link, $engine, "s", "VARBINARY(1)", NULL, 1420);
226 func_mysqli_stmt_get_result($link, $engine, "s", "TINYBLOB", "a", 1440);
227 func_mysqli_stmt_get_result($link, $engine, "s", "TINYBLOB", chr(0), 1460);
228 func_mysqli_stmt_get_result($link, $engine, "s", "TINYBLOB NOT NULL", "b", 1480);
229 func_mysqli_stmt_get_result($link, $engine, "s", "TINYBLOB", NULL, 1500);
231 func_mysqli_stmt_get_result($link, $engine, "s", "TINYTEXT", "a", 1520, $hint_str_or_unicode);
232 …func_mysqli_stmt_get_result($link, $engine, "s", "TINYTEXT NOT NULL", "a", 1540, $hint_str_or_unic…
233 func_mysqli_stmt_get_result($link, $engine, "s", "TINYTEXT", NULL, 1560, $hint_str_or_unicode);
237 func_mysqli_stmt_get_result($link, $engine, "b", "BLOB", b"", 1580);
238 func_mysqli_stmt_get_result($link, $engine, "b", "TEXT", "", 1600, $hint_str_or_unicode);
239 func_mysqli_stmt_get_result($link, $engine, "b", "MEDIUMBLOB", b"", 1620);
240 func_mysqli_stmt_get_result($link, $engine, "b", "MEDIUMTEXT", "", 1640, $hint_str_or_unicode);
243 func_mysqli_stmt_get_result($link, $engine, "b", "LONGBLOB", "", 1660);
244 func_mysqli_stmt_get_result($link, $engine, "b", "LONGTEXT", "", 1680, $hint_str_or_unicode);
246 …func_mysqli_stmt_get_result($link, $engine, "s", "ENUM('a', 'b')", "a", 1700, $hint_str_or_unicode…
247 …func_mysqli_stmt_get_result($link, $engine, "s", "ENUM('a', 'b')", NULL, 1720, $hint_str_or_unicod…
248 func_mysqli_stmt_get_result($link, $engine, "s", "SET('a', 'b')", "a", 1740, $hint_str_or_unicode);
249 …func_mysqli_stmt_get_result($link, $engine, "s", "SET('a', 'b')", NULL, 1760, $hint_str_or_unicode…
251 mysqli_close($link);