Home
last modified time | relevance | path

Searched refs:s (Results 201 – 225 of 6255) sorted by last modified time

12345678910>>...251

/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_stmt_fetch_bit.phpt22 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
30 …ery($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits, $engine)))
31 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link));
34 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
39 … $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value));
43 … printf("[004 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
50 … printf("[005 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
53 … printf("[006 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
56 …(%d) column might have failed. MySQL reports odd values, id = %s, _label0 = %s, label = %s.\n", $b…
59 …rintf("[008 - %d] Wrong values, (original) value = %s, id = %s, label + 0 AS label0 = %s, label =…
H A Dmysqli_stmt_field_count.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[003] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
32 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
37 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
47 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
53 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
65 printf("[017] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
92 in %s on line %d
[all …]
H A Dmysqli_stmt_get_result2.phpt24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
44 printf("[007] Expecting object/mysqli_result got %s/%s, [%d] %s\n",
53 printf("[008] boolean/false got %s/%s, [%d] %s\n",
59 printf("[009] Expecting object/mysqli_result got %s/%s, [%d] %s\n",
82 printf("[013] boolean/false got %s/%s, [%d] %s\n",
94 printf("[015] Expecting object/mysqli_result got %s/%s, [%d] %s\n",
113 printf("[019] Expecting object/mysqli_result got %s/%s, [%d] %s\n",
134 printf("[023] Expecting object/mysqli_result got %s/%s, [%d] %s\n",
[all …]
H A Dmysqli_stmt_get_result_bit.phpt41 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
52 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link));
55 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
79 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin);
86 … printf("[004 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
91 … printf("[005 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
97 printf("[007 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
102 … printf("[008 - %d] Insert of %s in BIT(%d) column might have failed. id = %s, bin = %s (%s/%s)\n",
108 printf("%10s %64s\n%10s %64s\n", '_bin', $row['_bin'], 'insert', $bin);
109 printf("[009 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']);
[all …]
H A Dmysqli_stmt_get_result_non_select.phpt22 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
29 printf("[002] [%d] %s\n", $stmt->errno, $stmt->error);
32 printf("[003] [%d] %s\n", $stmt->errno, $stmt->error);
56 printf("[006] [%d] %s\n", $stmt->errno, $stmt->error);
59 printf("[007] [%d] %s\n", $stmt->errno, $stmt->error);
63 printf("[008] Returned data seems wrong, [%d] %s\n",
75 printf("[009] [%d] %s\n", $stmt->errno, $stmt->error);
78 printf("[010] [%d] %s\n", $stmt->errno, $stmt->error);
82 printf("[011] Empty EXPLAIN result set seems wrong, check manually, [%d] %s\n",
H A Dmysqli_stmt_get_result_seek.phpt26 printf("[004] Expecting object/mysqli_result got %s/%s, [%d] %s\n",
65 printf("[011] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
68 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
71 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
82 printf("[016] Expecting id = %d for pos %d got %s/%s\n",
93 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp);
96 printf("[016] Expecting array got %s/%s\n", gettype($tmp), $tmp);
101 printf("[017] Expecting false got %s/%s\n", gettype($tmp), $tmp);
104 printf("[018] Expecting false got %s/%s\n", gettype($tmp), $tmp);
109 printf("[019] Expecting false got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_get_result_types.phpt16 printf("[001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
25 …ysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s", $sq…
84 printf("[%04d] [%d] Expecting %s/'%s' [type hint = %s], got %s/'%s'\n",
184 func_mysqli_stmt_get_result($link, $engine, "s", "DATE", NULL, 880);
186 func_mysqli_stmt_get_result($link, $engine, "s", "DATETIME", @date('Y-m-d H:i:s'), 900);
187 … 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", "TIMESTAMP", @date('Y-m-d H:i:s'), 960);
192 func_mysqli_stmt_get_result($link, $engine, "s", "TIME", @date('H:i:s'), 980);
193 func_mysqli_stmt_get_result($link, $engine, "s", "TIME NOT NULL", @date('H:i:s'), 1000);
194 func_mysqli_stmt_get_result($link, $engine, "s", "TIME", NULL, 1020);
[all …]
H A Dmysqli_stmt_get_warnings.phpt12 …tf("skip Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
18 die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
33 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
41 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
44 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
53 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
59 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
66 printf("[011] Expecting mysqli_warning object, got %s/%s\n", gettype($warning), $warning);
96 printf("[018] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_unclonable.phpt14 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
18 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
25 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli_stmt in %s:%d
28 thrown in %s on line %d
H A Dmysqli_store_result_buffered_c.phpt22 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
25 printf("[004] Expecting object, got %s/%s. [%d] %s\n",
29 printf("[005] Expecting boolean/true, got %s/%s. [%d] %s\n",
H A Dmysqli_stmt_execute_stored_proc_next_result.phpt20 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
25 printf("[003] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
33 if (!mysqli_stmt_bind_param($stmt, 's', $version))
45 printf("[009] Results seem wrong, got %s, [%d] %s\n",
58 printf("[013] [%d] %s\n", $link->errno, $link->error);
65 printf("[014] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
73 if (!mysqli_stmt_bind_param($stmt, 's', $version))
85 printf("[019] Results seem wrong, got %s, [%d] %s\n",
90 printf("[020] [%d] %s\n", $link->errno, $link->error);
98 printf("[022] Results seem wrong, got %s, [%d] %s\n",
[all …]
H A Dmysqli_stmt_execute_stored_proc_out.phpt25 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
30 printf("[003] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
44 printf("[008] More results: %s\n", (mysqli_more_results($link) ? "yes" : "no"));
45 printf("[009] Next results: %s\n", (mysqli_next_result($link) ? "yes" : "no"));
48 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
51 printf("[011] Results seem wrong got '%s'\n", $ver_out);
57 printf("[013] [%d] %s\n", $link->errno, $link->error);
60 printf("[004] Cannot create SP, [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
70 printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
79 [008] More results: %s
[all …]
H A Dmysqli_stmt_fetch.phpt22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
41 printf("[006] Expecting NULL or boolean/false, got %s/%s\n", gettype($tmp), $tmp);
47 printf("[008] NULL, got %s/%s\n", gettype($tmp), $tmp);
62 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
65 printf("[013] Expecting boolean/true, got %s/%s, [%d] %s\n",
72 printf("[015] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
77 printf("[016] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
84 printf("[017] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_fetch_geom.phpt16 printf("[001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
21 printf("[%04d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
25 …ysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s", $sq…
31 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, %s)", $id, $bind_value);
33 … printf("[%04d] [%d] %s\n", $offset + 2 + $id, mysqli_errno($link), mysqli_error($link));
38 printf("[%04d] [%d] %s\n", $offset + 6, mysqli_errno($link), mysqli_error($link));
43 … printf("[%04d] [%d] %s\n", $offset + 7, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
74 printf("[%04d] [%d] %s, expecting 3 results, got only %d results\n",
82 printf("[%04d] [%d] %s\n", $offset + 10, mysqli_errno($link), mysqli_error($link));
105 printf("[%04d] [%d] %s\n", $offset + 14, mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_stmt_free_result.phpt22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
34 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
40 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[008] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
49 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
63 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
66 printf("[014] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
71 printf("[015] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_get_result_field_count.phpt17 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
20 printf("[002] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
23 printf("[003] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
26 printf("[004] Expecting object/mysqli_result got %s/%s, [%d] %s\n",
32 printf("[005] Expecting object/mysqli_result got %s/%s, [%d] %s\n",
36 printf("%s %s\n",
H A Dmysqli_stmt_get_result_geom.phpt19 printf("[001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
24 printf("[%04d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
28 …ysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s", $sq…
34 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, %s)", $id, $bind_value);
36 … printf("[%04d] [%d] %s\n", $offset + 2 + $id, mysqli_errno($link), mysqli_error($link));
41 printf("[%04d] [%d] %s\n", $offset + 6, mysqli_errno($link), mysqli_error($link));
46 … printf("[%04d] [%d] %s\n", $offset + 7, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
73 printf("[%04d] [%d] %s\n", $offset + 11, mysqli_errno($link), mysqli_error($link));
96 printf("[%04d] [%d] %s\n", $offset + 15, mysqli_errno($link), mysqli_error($link));
101 printf("[%04d] [%d] %s\n", $offset + 16, mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_stmt_get_result_metadata.phpt97 printf("[015 - %d] Expecting name %s/%s got %s/%s\n",
101 printf("[016 - %d] Expecting orgname %s/%s got %s/%s\n",
105 printf("[017 - %d] Expecting table %s/%s got %s/%s\n",
109 printf("[018 - %d] Expecting orgtable %s/%s got %s/%s\n",
113 printf("[019 - %d] Expecting def %s/%s got %s/%s\n",
121 printf("[021 - %d] Expecting length %s/%s got %s/%s\n",
129 printf("[023 - %d] Expecting flags %s/%s got %s/%s\n",
133 printf("[024 - %d] Expecting type %s/%s got %s/%s\n",
137 printf("[025 - %d] Expecting decimals %s/%s got %s/%s\n",
178 printf("[031] Expecting %s/%s got %s/%s\n",
[all …]
H A Dmysqli_stmt_init.phpt22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
33 printf("[003a] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
38 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
43 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
53 in %s on line %d
55 Warning: mysqli_stmt_init() expects parameter 1 to be mysqli, object given in %s on line %d
57 Warning: mysqli_stmt_init(): Couldn't fetch mysqli in %s on line %d
H A Dmysqli_stmt_insert_id.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[003] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
31 printf("[004] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
35 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[006] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
46 printf("[007] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
51 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
58 printf("[009] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
61 printf("[010] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_multires.phpt19 printf("[001] [%d] %s\n", $link->error, $link->errno);
23 printf("[002] [%d] %s\n", $link->error, $link->errno);
27 printf("[003] [%d] %s\n", $stmt->error, $stmt->errno);
31 printf("[005] [%d] %s\n", $stmt->error, $stmt->errno);
37 printf("[004] [%d] %s\n", $stmt->error, $stmt->errno);
42 printf("[006] [%d] %s\n", $stmt->error, $stmt->errno);
63 printf("[010] [%d] %s\n", $stmt->error, $stmt->errno);
68 printf("[011] [%d] %s\n", $stmt->error, $stmt->errno);
99 printf("[001] [%d] %s\n", $link->error, $link->errno);
H A Dmysqli_stmt_num_rows.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
45 printf("[%03d] Expecting %s/%d, got %s/%d\n", $offset + 3,
68 printf("[050] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
74 printf("[051] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
81 printf("[53 - %03d] Expecting int/0, got %s/%s\n", $i, gettype($tmp), $tmp);
96 printf("[54] Expecting int/7, got %s/%s\n", gettype($tmp), $tmp);
99 printf("[055] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
105 printf("[056] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_param_count.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
28 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
33 printf("[%03d] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_error($stmt));
38 printf("[%03d] Expecting %s/%d, got %s/%d\n", $offset + 3,
52 printf("[40] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
56 /* Check that the function alias exists. It's a deprecated function,
59 printf("[041] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
69 in %s on line %d
[all …]
H A Dmysqli_real_escape_string_big5.phpt12 die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
25 printf("[001] Cannot connect to the server using host=%s, user=%s,
26 passwd=***, dbname=%s, port=%s, socket=%s - [%d] %s\n", $host, $user, $db,
31 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link),
37 printf("Failed to create test table: [%d] %s\n", mysqli_errno($link),
45 printf("[004] Expecting \\\\, got %s\n", $tmp);
49 printf("[005] Expecting \", got %s\n", $tmp);
53 printf("[006] Expecting ', got %s\n", $tmp);
57 printf("[007] Expecting \\n, got %s\n", $tmp);
61 printf("[008] Expecting \\r, got %s\n", $tmp);
[all …]
H A Dmysqli_real_escape_string_eucjpms.phpt12 die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
25 printf("[001] Cannot connect to the server using host=%s, user=%s,
26 passwd=***, dbname=%s, port=%s, socket=%s - [%d] %s\n", $host, $user, $db,
31 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link),
37 printf("Failed to create test table: [%d] %s\n", mysqli_errno($link),
44 printf("[004] Expecting \\\\, got %s\n", $tmp);
47 printf("[005] Expecting \", got %s\n", $tmp);
50 printf("[006] Expecting ', got %s\n", $tmp);
53 printf("[007] Expecting \\n, got %s\n", $tmp);
56 printf("[008] Expecting \\r, got %s\n", $tmp);
[all …]

Completed in 30 milliseconds

12345678910>>...251