Lines Matching refs:NULL

15 	$tmp    = NULL;
16 $link = NULL;
19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
70 if (!$res = mysqli_query($link, "SELECT 1 AS a, 2 AS a, 3 AS c, 4 AS C, NULL AS d, true AS e")) {
94 …_fetch_all($link, $engine, $sql_type, $sql_value, $php_value, $offset, $regexp_comparison = NULL) {
101 …if (!mysqli_query($link, $sql = sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(…
107 if (!mysqli_query($link, $sql = sprintf("INSERT INTO test(id, label) VALUES (1, NULL)"))) {
172 func_mysqli_fetch_all($link, $engine, "TINYINT", NULL, NULL, 30);
174 func_mysqli_fetch_all($link, $engine, "TINYINT UNSIGNED", NULL, NULL, 50);
177 func_mysqli_fetch_all($link, $engine, "BOOL", NULL, NULL, 70);
179 func_mysqli_fetch_all($link, $engine, "BOOLEAN", NULL, NULL, 90);
183 func_mysqli_fetch_all($link, $engine, "SMALLINT", NULL, NULL, 120);
185 func_mysqli_fetch_all($link, $engine, "SMALLINT UNSIGNED", NULL, NULL, 140);
189 func_mysqli_fetch_all($link, $engine, "MEDIUMINT", NULL, NULL, 170);
191 func_mysqli_fetch_all($link, $engine, "MEDIUMINT UNSIGNED", NULL, NULL, 190);
195 func_mysqli_fetch_all($link, $engine, "INTEGER", NULL, NULL, 220);
197 func_mysqli_fetch_all($link, $engine, "INTEGER UNSIGNED", NULL, NULL, 240);
201 func_mysqli_fetch_all($link, $engine, "BIGINT", NULL, NULL, 260);
203 func_mysqli_fetch_all($link, $engine, "BIGINT UNSIGNED", NULL, NULL, 280);
206 func_mysqli_fetch_all($link, $engine, "FLOAT", NULL, NULL, 300);
208 func_mysqli_fetch_all($link, $engine, "FLOAT UNSIGNED ", NULL, NULL, 320);
211 func_mysqli_fetch_all($link, $engine, "DOUBLE(10,2)", NULL, NULL, 340);
213 func_mysqli_fetch_all($link, $engine, "DOUBLE(10,2) UNSIGNED", NULL, NULL, 360);
216 func_mysqli_fetch_all($link, $engine, "DECIMAL(10,2)", NULL, NULL, 380);
218 func_mysqli_fetch_all($link, $engine, "DECIMAL(10,2)", NULL, NULL, 400);
222 func_mysqli_fetch_all($link, $engine, "DATE NOT NULL", @date('Y-m-d'), @date('Y-m-d'), 420);
223 func_mysqli_fetch_all($link, $engine, "DATE", NULL, NULL, 430);
226 …func_mysqli_fetch_all($link, $engine, "DATETIME NOT NULL", @date('Y-m-d H:i:s'), @date('Y-m-d H:i:…
227 func_mysqli_fetch_all($link, $engine, "DATETIME", NULL, NULL, 460);
232 func_mysqli_fetch_all($link, $engine, "TIME NOT NULL", @date('H:i:s'), @date('H:i:s'), 490);
233 func_mysqli_fetch_all($link, $engine, "TIME", NULL, NULL, 500);
236 func_mysqli_fetch_all($link, $engine, "YEAR NOT NULL", @date('Y'), @date('Y'), 520);
237 func_mysqli_fetch_all($link, $engine, "YEAR", NULL, NULL, 530);
242 func_mysqli_fetch_all($link, $engine, "CHAR(1) NOT NULL", "a", "a", 560);
243 func_mysqli_fetch_all($link, $engine, "CHAR(1)", NULL, NULL, 570);
249 func_mysqli_fetch_all($link, $engine, "VARCHAR(1) NOT NULL", "a", "a", 610);
250 func_mysqli_fetch_all($link, $engine, "VARCHAR(1)", NULL, NULL, 620);
254 func_mysqli_fetch_all($link, $engine, "BINARY(1) NOT NULL", "b", "b", 650);
255 func_mysqli_fetch_all($link, $engine, "BINARY(1)", NULL, NULL, 660);
259 func_mysqli_fetch_all($link, $engine, "VARBINARY(1) NOT NULL", "b", "b", 690);
260 func_mysqli_fetch_all($link, $engine, "VARBINARY(1)", NULL, NULL, 700);
264 func_mysqli_fetch_all($link, $engine, "TINYBLOB NOT NULL", "b", "b", 730);
265 func_mysqli_fetch_all($link, $engine, "TINYBLOB", NULL, NULL, 740);
268 func_mysqli_fetch_all($link, $engine, "TINYTEXT NOT NULL", "a", "a", 760);
269 func_mysqli_fetch_all($link, $engine, "TINYTEXT", NULL, NULL, 770);
273 func_mysqli_fetch_all($link, $engine, "BLOB", NULL, NULL, 790);
277 func_mysqli_fetch_all($link, $engine, "TEXT", NULL, NULL, 820);
281 func_mysqli_fetch_all($link, $engine, "MEDIUMBLOB", NULL, NULL, 850);
285 func_mysqli_fetch_all($link, $engine, "MEDIUMTEXT", NULL, NULL, 880);
289 func_mysqli_fetch_all($link, $engine, "LONGBLOB", NULL, NULL, 910);
292 func_mysqli_fetch_all($link, $engine, "ENUM('a', 'b')", NULL, NULL, 930);
295 func_mysqli_fetch_all($link, $engine, "SET('a', 'b')", NULL, NULL, 950);
300 printf("[015] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
427 NULL
429 NULL