Lines Matching refs:link

14     $stmt = mysqli_stmt_init($link);
19 $stmt = mysqli_stmt_init($link);
59 …function func_mysqli_stmt_bind_result($link, $engine, $bind_type, $sql_type, $bind_value, $offset,…
61 if (!mysqli_query($link, "DROP TABLE IF EXISTS test")) {
62 printf("[%04d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
66 …if (!mysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s…
71 if (!$stmt = mysqli_stmt_init($link)) {
72 printf("[%04d] [%d] %s\n", $offset + 1, mysqli_errno($link), mysqli_error($link));
97 $stmt = mysqli_stmt_init($link);
157 func_mysqli_stmt_bind_result($link, $engine, "i", "TINYINT", -11, 20);
158 func_mysqli_stmt_bind_result($link, $engine, "i", "TINYINT", NULL, 40);
159 func_mysqli_stmt_bind_result($link, $engine, "i", "TINYINT UNSIGNED", 1, 60);
160 func_mysqli_stmt_bind_result($link, $engine, "i", "TINYINT UNSIGNED", NULL, 80);
162 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOL", 1, 100);
163 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOL", NULL, 120);
164 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOLEAN", 0, 140);
165 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOLEAN", NULL, 160);
167 func_mysqli_stmt_bind_result($link, $engine, "i", "SMALLINT", -32768, 180);
168 func_mysqli_stmt_bind_result($link, $engine, "i", "SMALLINT", 32767, 200);
169 func_mysqli_stmt_bind_result($link, $engine, "i", "SMALLINT", NULL, 220);
170 func_mysqli_stmt_bind_result($link, $engine, "i", "SMALLINT UNSIGNED", 65535, 240);
171 func_mysqli_stmt_bind_result($link, $engine, "i", "SMALLINT UNSIGNED", NULL, 260);
173 func_mysqli_stmt_bind_result($link, $engine, "d", "MEDIUMINT", -8388608, 280, "integer");
174 func_mysqli_stmt_bind_result($link, $engine, "d", "MEDIUMINT", 8388607, 300, "integer");
175 func_mysqli_stmt_bind_result($link, $engine, "d", "MEDIUMINT", NULL, 320);
176 … func_mysqli_stmt_bind_result($link, $engine, "d", "MEDIUMINT UNSIGNED", 16777215, 340, "integer");
177 func_mysqli_stmt_bind_result($link, $engine, "d", "MEDIUMINT UNSIGNED", NULL, 360);
179 …func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER", (defined("PHP_INT_MAX")) ? max(-1 * P…
180 func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER", -2147483647, 400, "integer");
181 …func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER", (defined("PHP_INT_MAX")) ? min(214748…
182 func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER", NULL, 440);
183 …func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER UNSIGNED", (defined("PHP_INT_MAX")) ? m…
184 …func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER UNSIGNED", 4294967295, 480, (defined("P…
185 func_mysqli_stmt_bind_result($link, $engine, "i", "INTEGER UNSIGNED", NULL, 500);
188 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT", -9223372036854775808, 520);
189 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT UNSIGNED", 18446744073709551615, 560);
191 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT", NULL, 540);
192 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT UNSIGNED", NULL, 580);
193 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT", -1, 1780);
194 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT UNSIGNED", 1, 1800);
195 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT", -1 * PHP_INT_MAX + 1, 1820);
196 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT UNSIGNED", PHP_INT_MAX, 1840);
197 …func_mysqli_stmt_bind_result($link, $engine, "s", "BIGINT UNSIGNED", "18446744073709551615", 1860);
198 func_mysqli_stmt_bind_result($link, $engine, "s", "BIGINT", "-9223372036854775808", 1880);
200 func_mysqli_stmt_bind_result($link, $engine, "d", "FLOAT", -9223372036854775808 - 1.1, 600);
201 func_mysqli_stmt_bind_result($link, $engine, "d", "FLOAT", NULL, 620);
202 …func_mysqli_stmt_bind_result($link, $engine, "d", "FLOAT UNSIGNED", 18446744073709551615 + 1.1, 64…
203 func_mysqli_stmt_bind_result($link, $engine, "d", "FLOAT UNSIGNED ", NULL, 660);
207 func_mysqli_stmt_bind_result($link, $engine, "d", "DOUBLE(10,2)", $tmp, 680, "string");
208 func_mysqli_stmt_bind_result($link, $engine, "d", "DOUBLE(10,2)", NULL, 700);
210 … func_mysqli_stmt_bind_result($link, $engine, "d", "DOUBLE(10,2) UNSIGNED", $tmp , 720, "string");
211 func_mysqli_stmt_bind_result($link, $engine, "d", "DOUBLE(10,2) UNSIGNED", NULL, 740);
213 func_mysqli_stmt_bind_result($link, $engine, "d", "DECIMAL(10,2)", $tmp, 760, "string");
214 func_mysqli_stmt_bind_result($link, $engine, "d", "DECIMAL(10,2)", NULL, 780);
216 func_mysqli_stmt_bind_result($link, $engine, "d", "DECIMAL(10,2)", $tmp, 800, "string");
217 func_mysqli_stmt_bind_result($link, $engine, "d", "DECIMAL(10,2)", NULL, 820);
220 func_mysqli_stmt_bind_result($link, $engine, "s", "DATE", @date('Y-m-d'), 840);
221 func_mysqli_stmt_bind_result($link, $engine, "s", "DATE NOT NULL", @date('Y-m-d'), 860);
222 func_mysqli_stmt_bind_result($link, $engine, "s", "DATE", NULL, 880);
224 func_mysqli_stmt_bind_result($link, $engine, "s", "DATETIME", @date('Y-m-d H:i:s'), 900);
225 … func_mysqli_stmt_bind_result($link, $engine, "s", "DATETIME NOT NULL", @date('Y-m-d H:i:s'), 920);
226 func_mysqli_stmt_bind_result($link, $engine, "s", "DATETIME", NULL, 940);
228 func_mysqli_stmt_bind_result($link, $engine, "s", "TIMESTAMP", @date('Y-m-d H:i:s'), 960);
230 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME", @date('H:i:s'), 980);
231 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME NOT NULL", @date('H:i:s'), 1000);
232 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME", NULL, 1020);
235 func_mysqli_stmt_bind_result($link, $engine, "s", "YEAR", $tmp, 1040, "integer");
236 func_mysqli_stmt_bind_result($link, $engine, "s", "YEAR NOT NULL", $tmp, 1060, "integer");
237 func_mysqli_stmt_bind_result($link, $engine, "s", "YEAR", NULL, 1080);
240 func_mysqli_stmt_bind_result($link, $engine, "s", "CHAR(1)", "a", 1110, 'string');
241 func_mysqli_stmt_bind_result($link, $engine, "s", "CHAR(255)", $string255, 1120, 'string');
242 func_mysqli_stmt_bind_result($link, $engine, "s", "CHAR(1) NOT NULL", "a", 1140, 'string');
243 func_mysqli_stmt_bind_result($link, $engine, "s", "CHAR(1)", NULL, 1160);
246 func_mysqli_stmt_bind_result($link, $engine, "s", "VARCHAR(1)", "a", 1180, 'string');
247 func_mysqli_stmt_bind_result($link, $engine, "s", "VARCHAR(255)", $string255, 1200, 'string');
248 func_mysqli_stmt_bind_result($link, $engine, "s", "VARCHAR(65635)", $string65k, 1220, 'string');
249 func_mysqli_stmt_bind_result($link, $engine, "s", "VARCHAR(1) NOT NULL", "a", 1240, 'string');
250 func_mysqli_stmt_bind_result($link, $engine, "s", "VARCHAR(1)", NULL, 1260);
252 func_mysqli_stmt_bind_result($link, $engine, "s", "BINARY(1)", "a", 1280);
253 func_mysqli_stmt_bind_result($link, $engine, "s", "BINARY(1)", chr(0), 1300);
254 func_mysqli_stmt_bind_result($link, $engine, "s", "BINARY(1) NOT NULL", "b", 1320);
255 func_mysqli_stmt_bind_result($link, $engine, "s", "BINARY(1)", NULL, 1340);
257 func_mysqli_stmt_bind_result($link, $engine, "s", "VARBINARY(1)", "a", 1360);
258 func_mysqli_stmt_bind_result($link, $engine, "s", "VARBINARY(1)", chr(0), 1380);
259 func_mysqli_stmt_bind_result($link, $engine, "s", "VARBINARY(1) NOT NULL", "b", 1400);
260 func_mysqli_stmt_bind_result($link, $engine, "s", "VARBINARY(1)", NULL, 1420);
262 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYBLOB", "a", 1440);
263 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYBLOB", chr(0), 1460);
264 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYBLOB NOT NULL", "b", 1480);
265 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYBLOB", NULL, 1500);
267 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYTEXT", "a", 1520, 'string');
268 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYTEXT NOT NULL", "a", 1540, 'string');
269 func_mysqli_stmt_bind_result($link, $engine, "s", "TINYTEXT", NULL, 1560, 'string');
273 func_mysqli_stmt_bind_result($link, $engine, "b", "BLOB", "", 1580);
274 func_mysqli_stmt_bind_result($link, $engine, "b", "TEXT", "", 1600, 'string');
275 func_mysqli_stmt_bind_result($link, $engine, "b", "MEDIUMBLOB", "", 1620);
276 func_mysqli_stmt_bind_result($link, $engine, "b", "MEDIUMTEXT", "", 1640, 'string');
279 func_mysqli_stmt_bind_result($link, $engine, "b", "LONGBLOB", "", 1660);
280 func_mysqli_stmt_bind_result($link, $engine, "b", "LONGTEXT", "", 1680, 'string');
282 func_mysqli_stmt_bind_result($link, $engine, "s", "ENUM('a', 'b')", "a", 1700, 'string');
283 func_mysqli_stmt_bind_result($link, $engine, "s", "ENUM('a', 'b')", NULL, 1720, 'string');
284 func_mysqli_stmt_bind_result($link, $engine, "s", "SET('a', 'b')", "a", 1740, 'string');
285 func_mysqli_stmt_bind_result($link, $engine, "s", "SET('a', 'b')", NULL, 1760, 'string');
287 if (mysqli_get_server_version($link) >= 50600)
288 … func_mysqli_stmt_bind_result($link, $engine, "s", "TIME", "13:31:34.123456", 1770, "13:31:34");
290 $stmt = mysqli_stmt_init($link);
303 mysqli_close($link);