Lines Matching refs:link

12     $mysqli = $link;
82 …function func_mysqli_fetch_all_oo($link, $engine, $sql_type, $sql_value, $php_value, $offset, $reg…
84 if (!$link->query("DROP TABLE IF EXISTS test")) {
85 printf("[%04d] [%d] %s\n", $offset, $link->errno, $link->error);
89 …if (!$link->query(sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(id)) ENGINE = …
95 if (!$link->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, NULL)"))) {
96 printf("[%04d] [%d] %s - %s\n", $offset + 1, $link->errno, $link->error, $sql);
101 … if (!$link->query($sql = "INSERT INTO test(id, label) VALUES (1, '" . $sql_value . "')")) {
102 printf("[%04ds] [%d] %s - %s\n", $offset + 1, $link->errno, $link->error, $sql);
106 … if (!$link->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, '%d')", $sql_value))) {
107 printf("[%04di] [%d] %s - %s\n", $offset + 1, $link->errno, $link->error, $sql);
113 if (!$res = $link->query("SELECT id, label FROM test")) {
114 printf("[%04d] [%d] %s\n", $offset + 2, $link->errno, $link->error);
119 printf("[%04d] [%d] %s\n", $offset + 3, $link->errno, $link->error);
129 gettype($row['label']), $row['label'], $link->errno, $link->error);
137 gettype($row['label']), $row['label'], $link->errno, $link->error);
154 func_mysqli_fetch_all_oo($link, $engine, "TINYINT", -11, "-11", 20);
155 func_mysqli_fetch_all_oo($link, $engine, "TINYINT", NULL, NULL, 30);
156 func_mysqli_fetch_all_oo($link, $engine, "TINYINT UNSIGNED", 1, "1", 40);
157 func_mysqli_fetch_all_oo($link, $engine, "TINYINT UNSIGNED", NULL, NULL, 50);
159 func_mysqli_fetch_all_oo($link, $engine, "BOOL", 1, "1", 60);
160 func_mysqli_fetch_all_oo($link, $engine, "BOOL", NULL, NULL, 70);
161 func_mysqli_fetch_all_oo($link, $engine, "BOOLEAN", 0, "0", 80);
162 func_mysqli_fetch_all_oo($link, $engine, "BOOLEAN", NULL, NULL, 90);
164 func_mysqli_fetch_all_oo($link, $engine, "SMALLINT", -32768, "-32768", 100);
165 func_mysqli_fetch_all_oo($link, $engine, "SMALLINT", 32767, "32767", 110);
166 func_mysqli_fetch_all_oo($link, $engine, "SMALLINT", NULL, NULL, 120);
167 func_mysqli_fetch_all_oo($link, $engine, "SMALLINT UNSIGNED", 65400, "65400", 130);
168 func_mysqli_fetch_all_oo($link, $engine, "SMALLINT UNSIGNED", NULL, NULL, 140);
170 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMINT", -8388608, "-8388608", 150);
171 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMINT", 8388607, "8388607", 160);
172 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMINT", NULL, NULL, 170);
173 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMINT UNSIGNED", 16777215, "16777215", 180);
174 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMINT UNSIGNED", NULL, NULL, 190);
176 func_mysqli_fetch_all_oo($link, $engine, "INTEGER", -2147483648, "-2147483648", 200);
177 func_mysqli_fetch_all_oo($link, $engine, "INTEGER", 2147483647, "2147483647", 210);
178 func_mysqli_fetch_all_oo($link, $engine, "INTEGER", NULL, NULL, 220);
179 func_mysqli_fetch_all_oo($link, $engine, "INTEGER UNSIGNED", "4294967295", "4294967295", 230);
180 func_mysqli_fetch_all_oo($link, $engine, "INTEGER UNSIGNED", NULL, NULL, 240);
182 …func_mysqli_fetch_all_oo($link, $engine, "BIGINT", "-9223372036854775808", "-9223372036854775808",…
183 func_mysqli_fetch_all_oo($link, $engine, "BIGINT", NULL, NULL, 260);
184 …func_mysqli_fetch_all_oo($link, $engine, "BIGINT UNSIGNED", "18446744073709551615", "1844674407370…
185 func_mysqli_fetch_all_oo($link, $engine, "BIGINT UNSIGNED", NULL, NULL, 280);
187 …func_mysqli_fetch_all_oo($link, $engine, "FLOAT", (string)(-9223372036854775808 - 1.1), "-9.22337e…
188 func_mysqli_fetch_all_oo($link, $engine, "FLOAT", NULL, NULL, 300);
189 …func_mysqli_fetch_all_oo($link, $engine, "FLOAT UNSIGNED", (string)(18446744073709551615 + 1.1), "…
190 func_mysqli_fetch_all_oo($link, $engine, "FLOAT UNSIGNED ", NULL, NULL, 320);
192 func_mysqli_fetch_all_oo($link, $engine, "DOUBLE(10,2)", "-99999999.99", "-99999999.99", 330);
193 func_mysqli_fetch_all_oo($link, $engine, "DOUBLE(10,2)", NULL, NULL, 340);
194 …func_mysqli_fetch_all_oo($link, $engine, "DOUBLE(10,2) UNSIGNED", "99999999.99", "99999999.99", 35…
195 func_mysqli_fetch_all_oo($link, $engine, "DOUBLE(10,2) UNSIGNED", NULL, NULL, 360);
197 func_mysqli_fetch_all_oo($link, $engine, "DECIMAL(10,2)", "-99999999.99", "-99999999.99", 370);
198 func_mysqli_fetch_all_oo($link, $engine, "DECIMAL(10,2)", NULL, NULL, 380);
199 func_mysqli_fetch_all_oo($link, $engine, "DECIMAL(10,2)", "99999999.99", "99999999.99", 390);
200 func_mysqli_fetch_all_oo($link, $engine, "DECIMAL(10,2)", NULL, NULL, 400);
204 func_mysqli_fetch_all_oo($link, $engine, "DATE", $date, $date, 410);
205 func_mysqli_fetch_all_oo($link, $engine, "DATE NOT NULL", $date, $date, 420);
206 func_mysqli_fetch_all_oo($link, $engine, "DATE", NULL, NULL, 430);
209 func_mysqli_fetch_all_oo($link, $engine, "DATETIME", $datetime, $datetime, 440);
210 func_mysqli_fetch_all_oo($link, $engine, "DATETIME NOT NULL", $datetime, $datetime, 450);
211 func_mysqli_fetch_all_oo($link, $engine, "DATETIME", NULL, NULL, 460);
213 func_mysqli_fetch_all_oo($link, $engine, "TIMESTAMP", $datetime, $datetime, 470);
216 func_mysqli_fetch_all_oo($link, $engine, "TIME", $time, $time, 480);
217 func_mysqli_fetch_all_oo($link, $engine, "TIME NOT NULL", $time, $time, 490);
218 func_mysqli_fetch_all_oo($link, $engine, "TIME", NULL, NULL, 500);
220 func_mysqli_fetch_all_oo($link, $engine, "YEAR", @date('Y'), @date('Y'), 510);
221 func_mysqli_fetch_all_oo($link, $engine, "YEAR NOT NULL", @date('Y'), @date('Y'), 520);
222 func_mysqli_fetch_all_oo($link, $engine, "YEAR", NULL, NULL, 530);
225 func_mysqli_fetch_all_oo($link, $engine, "CHAR(1)", "a", "a", 540);
226 func_mysqli_fetch_all_oo($link, $engine, "CHAR(255)", $string255, $string255, 550);
227 func_mysqli_fetch_all_oo($link, $engine, "CHAR(1) NOT NULL", "a", "a", 560);
228 func_mysqli_fetch_all_oo($link, $engine, "CHAR(1)", NULL, NULL, 570);
231 func_mysqli_fetch_all_oo($link, $engine, "VARCHAR(1)", "a", "a", 580);
232 func_mysqli_fetch_all_oo($link, $engine, "VARCHAR(255)", $string255, $string255, 590);
233 func_mysqli_fetch_all_oo($link, $engine, "VARCHAR(65400)", $string65k, $string65k, 600);
234 func_mysqli_fetch_all_oo($link, $engine, "VARCHAR(1) NOT NULL", "a", "a", 610);
235 func_mysqli_fetch_all_oo($link, $engine, "VARCHAR(1)", NULL, NULL, 620);
237 func_mysqli_fetch_all_oo($link, $engine, "BINARY(1)", "a", "a", 630);
238 func_mysqli_fetch_all_oo($link, $engine, "BINARY(2)", chr(0) . "a", chr(0) . "a", 640);
239 func_mysqli_fetch_all_oo($link, $engine, "BINARY(1) NOT NULL", "b", "b", 650);
240 func_mysqli_fetch_all_oo($link, $engine, "BINARY(1)", NULL, NULL, 660);
242 func_mysqli_fetch_all_oo($link, $engine, "VARBINARY(1)", "a", "a", 670);
243 func_mysqli_fetch_all_oo($link, $engine, "VARBINARY(2)", chr(0) . "a", chr(0) . "a", 680);
244 func_mysqli_fetch_all_oo($link, $engine, "VARBINARY(1) NOT NULL", "b", "b", 690);
245 func_mysqli_fetch_all_oo($link, $engine, "VARBINARY(1)", NULL, NULL, 700);
247 func_mysqli_fetch_all_oo($link, $engine, "TINYBLOB", "a", "a", 710);
248 func_mysqli_fetch_all_oo($link, $engine, "TINYBLOB", chr(0) . "a", chr(0) . "a", 720);
249 func_mysqli_fetch_all_oo($link, $engine, "TINYBLOB NOT NULL", "b", "b", 730);
250 func_mysqli_fetch_all_oo($link, $engine, "TINYBLOB", NULL, NULL, 740);
252 func_mysqli_fetch_all_oo($link, $engine, "TINYTEXT", "a", "a", 750);
253 func_mysqli_fetch_all_oo($link, $engine, "TINYTEXT NOT NULL", "a", "a", 760);
254 func_mysqli_fetch_all_oo($link, $engine, "TINYTEXT", NULL, NULL, 770);
256 func_mysqli_fetch_all_oo($link, $engine, "BLOB", "a", "a", 780);
257 func_mysqli_fetch_all_oo($link, $engine, "BLOB", chr(0) . "a", chr(0) . "a", 780);
258 func_mysqli_fetch_all_oo($link, $engine, "BLOB", NULL, NULL, 790);
260 func_mysqli_fetch_all_oo($link, $engine, "TEXT", "a", "a", 800);
261 func_mysqli_fetch_all_oo($link, $engine, "TEXT", chr(0) . "a", chr(0) . "a", 810);
262 func_mysqli_fetch_all_oo($link, $engine, "TEXT", NULL, NULL, 820);
264 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMBLOB", "a", "a", 830);
265 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMBLOB", chr(0) . "a", chr(0) . "a", 840);
266 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMBLOB", NULL, NULL, 850);
268 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMTEXT", "a", "a", 860);
269 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMTEXT", chr(0) . "a", chr(0) . "a", 870);
270 func_mysqli_fetch_all_oo($link, $engine, "MEDIUMTEXT", NULL, NULL, 880);
272 func_mysqli_fetch_all_oo($link, $engine, "LONGBLOB", "a", "a", 890);
273 func_mysqli_fetch_all_oo($link, $engine, "LONGTEXT", chr(0) . "a", chr(0) . "a", 900);
274 func_mysqli_fetch_all_oo($link, $engine, "LONGBLOB", NULL, NULL, 910);
276 func_mysqli_fetch_all_oo($link, $engine, "ENUM('a', 'b')", "a", "a", 920);
277 func_mysqli_fetch_all_oo($link, $engine, "ENUM('a', 'b')", NULL, NULL, 930);
279 func_mysqli_fetch_all_oo($link, $engine, "SET('a', 'b')", "a", "a", 940);
280 func_mysqli_fetch_all_oo($link, $engine, "SET('a', 'b')", NULL, NULL, 950);
282 mysqli_close($link);