Home
last modified time | relevance | path

Searched refs:s (Results 251 – 275 of 6255) sorted by last modified time

1...<<11121314151617181920>>...251

/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_stmt_bind_limits.phpt43 printf("[%03d + 01] [%d] %s\n", $offset, $link->errno, $link->error);
49 printf("[%03d + 02] [%d] %s\n", $offset, $link->errno, $link->error);
60 printf("[%03d + 03] [%d] %s\n", $offset, $stmt->errno, $stmt->error);
70 printf("[%03d + 03] [%d] %s\n", $offset, $stmt->errno, $stmt->error);
80 printf("[%03d + 04] [%d] %s\n", $offset, $stmt->errno, $stmt->error);
88 printf("[%03d + 05] [%d] %s\n", $offset, $link->errno, $link->error);
97 printf("[%03d + 06] [%d] %s\n", $offset, $link->errno, $link->error);
105 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
H A Dmysqli_stmt_bind_param.phpt26 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
32 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
48 printf("[003d] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
51 printf("[003a] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
63 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
66 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
98 printf("[012] Expecting '%s'/%s', got '%s'/%s'!\n", $id, $label, $row['id'], $row['label']);
147 printf("[%03d] Testing '%s', '%s': expecting '%s'/'%s' (%s), got '%s'/'%s'\n",
154 printf("[%03d] Testing '%s', '%s': expecting '%s'/'%s', got '%s'/'%s'\n",
[all …]
H A Dmysqli_stmt_bind_param_call_user_func.phpt15 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
36 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
65 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
93 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
121 printf("[020] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
148 printf("[025] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
177 printf("[025] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
206 printf("[030] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
235 printf("[035] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
263 printf("[040] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_stmt_bind_param_check_param_no_change.phpt25 $stmt->bind_param("s", $foo->bar);
H A Dmysqli_stmt_bind_param_many_columns.phpt25 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
39 …printf("[002] Failed to set max_allowed_packet the test table: [%d] %s\n", mysqli_errno($link), my…
46 …printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke…
52 … printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
62 … printf("Failed to create the test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
67 $s = str_repeat("a", 2 << 12);
68 $eval_str="\$stmt->bind_param(\"".str_repeat("s",$cols)."\", ";
70 $eval_str.="\$s,";
72 $eval_str.="\$s";
78 printf("Failed to execute: [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_stmt_bind_param_references.phpt18 printf("[%03d + 1] %s failed, [%d] %s\n",
23 printf("[%03d + 2] fetch for %s failed, [%d] %s\n",
30 printf("[%03d + 3] Expecting %s/%s got %s/%s\n",
38 printf("[%03d + 4] Expecting %s/%s got %s/%s\n",
48 printf("[%03d + 5] %s failed, [%d] %s\n",
65 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
76 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
87 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
98 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
106 printf("[013] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_bind_param_type_juggling.phpt16 printf("[%03d + 1] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
21 … $sql = sprintf("CREATE TABLE test(col1 %s, col2 %s) ENGINE=%s", $sql_type1, $sql_type2, $engine);
23 printf("[%03d + 2] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
28 printf("[%03d + 3] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
58 printf("[%03d + 9] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
68 … printf("[%03d + 11] Expecting col1 = %s, col2 = %s got col1 = %s, col2 = %s - [%d] %s\n",
77 … printf("[%03d + 12] Expecting col1 = %s, col2 = %s got col1 = %s, col2 = %s - [%d] %s\n",
87 bind_twice($link, $engine, 'CHAR(1)', 'CHAR(1)', 's', 's', 'a', 'b', 10);
92 bind_twice($link, $engine, 'CHAR(1)', 'CHAR(1)', 's', 's', 1, 2, 40);
98 /* now, let's have two columns of different type and do type juggling */
[all …]
H A Dmysqli_stmt_bind_result.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 printf("[002b] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[003] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
45 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
48 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
51 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
129 printf("[%04d] [%d] Expecting %s/'%s' [type hint = %s], got %s/'%s'\n",
301 printf("[3000] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
324 in %s on line %d
[all …]
H A Dmysqli_stmt_bind_result_bit.phpt29 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
33 …f("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
44 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link_ins), mysqli_error($link_ins));
52 printf("[004 - %d] [%d] %s\n", $bits, mysqli_errno($link_ins), mysqli_error($link_ins));
57 … printf("[005 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt_ins), mysqli_stmt_error($stmt_ins));
63 printf("[006 - %d] [%d] %s\n", $bits, mysqli_errno($link_sel), mysqli_error($link_sel));
95 … printf("[007 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt_ins), mysqli_stmt_error($stmt_ins));
117 … printf("[011 - %d] mysqli_stmt_fetch() has failed for %d bits - ret = %s/%s, [%d] %s, [%d] %s\n",
128 … printf("[012 - %d] Insert of %s in BIT(%d) column might have failed. id = %s, bin = %s (%s/%s)\n",
134 printf("[013 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']);
[all …]
H A Dmysqli_stmt_bind_result_format.phpt24 $sql = sprintf("CREATE TABLE test(id INT AUTO_INCREMENT PRIMARY KEY, col1 %s) ENGINE=%s",
53 printf("[%03d] Cannot create PS, [%d] %s\n",
60 $sql = sprintf('SELECT %s AS _format FROM %s ORDER BY %s', $format, $from, $order_by);
62 $sql = sprintf('SELECT %s AS _format FROM %s', $format, $from);
65 printf("[%03d] Cannot prepare PS, [%d] %s\n",
103 printf("[%03d] Expecting %s/%s got %s/%s with %s - %s.\n",
125 printf("[%03d] Row %d - expecting %s/%s got %s/%s [%s] with %s - %s.\n",
144 printf("[001] Cannot connect - [%d] %s\n",
233 …sprintf('INSERT INTO test(targetport, current_targets, maxreports, trend) VALUES (%d, %f, %s, %s)',
280 … printf("%s/%s - %s/%s - '%s'\n", $trend, $exp_trend, $targetport, $exp_targetport, $format);
[all …]
H A Dmysqli_stmt_bind_result_references.phpt25 printf("[002] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[004] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
62 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
81 printf("[008] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
95 printf("[010] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
110 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
128 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
145 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
166 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
185 printf("[016] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_bind_result_zerofill.phpt17 $sql = sprintf('ALTER TABLE test ADD zero %s UNSIGNED ZEROFILL', $datatype);
23 if (!mysqli_query($link, sprintf('UPDATE test SET zero = %s', $insert))) {
24 printf("[%03d] UPDATE failed, [%d] %s\n",
30 printf("[%03d] SELECT failed, [%d] %s\n",
37 printf("[%03d] Bind failed, [%d] %s\n",
43 printf("[%03d] Execute or fetch failed, [%d] %s\n",
59 printf("[%03d] Expecting '%s' got '%s'\n", $offset, $expected, $result);
H A Dmysqli_stmt_close.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));
29 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
38 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
41 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
57 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
78 printf("[017] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
88 in %s on line %d
[all …]
H A Dmysqli_stmt_data_seek.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);
34 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
45 printf("[009] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
53 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
61 printf("[013] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
69 printf("[015] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
79 printf("[017] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_datatype_change.phpt13 …printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke…
18 …printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke…
61 printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
64 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
H A Dmysqli_stmt_errno.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));
29 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[006] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
43 printf("[008] Expecting zero, got %s/%s\n", gettype($tmp), $tmp);
48 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
52 printf("[010] Execting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
57 printf("[011] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_real_connect_pconn.phpt25 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
33 …ing boolean/false got %s/%s. Can connect to the server using host=%s, user=%s, passwd=***non_empty…
83 printf("[016] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
102 printf("[019] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
106 printf("[020] Cannot open temporary file %s\n", $filename);
123 printf("[022] Usage of mysqli.default_host=p:%s (persistent) failed\n", $host) ;
126 printf("[023] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
129 printf("[024] Result looks strange - check manually, [%d] %s\n",
146 printf("[026] Expecting not NULL, got %s/%s\n", gettype($tmp), $tmp);
155 Warning: mysqli_real_connect(): (%s/%d): Access denied for user '%s'@'%s' (using password: YES) in …
H A Dmysqli_real_escape_string.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] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
28 printf("[004] Expecting \\\\, got %s\n", $tmp);
31 printf("[005] Expecting \", got %s\n", $tmp);
34 printf("[006] Expecting ', got %s\n", $tmp);
37 printf("[007] Expecting \\n, got %s\n", $tmp);
40 printf("[008] Expecting \\r, got %s\n", $tmp);
43 printf("[009] Expecting %s, got %s\n", "foo\\0bar", $tmp);
48 printf("[010] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_real_escape_string_gbk.phpt11 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 …]
H A Dmysqli_rollback.phpt24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
40 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
46 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
50 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
53 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
65 printf("[014] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_savepoint.phpt24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
35 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
38 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
41 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
44 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
50 … printf("[009] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
54 …printf("[010] Got %s - [%d] %s\n", var_dump($tmp, true), mysqli_errno($link), mysqli_error($link));
57 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_select_db.phpt18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock…
28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
32 … printf("[005] Cannot select DB %s, [%d] %s\n", $db, mysqli_errno($link), mysqli_error($link));
41 printf("[008] Expecting database '%s', found '%s'\n", $db, $row['dbname']);
60 printf("[012] Failed to set '%s' as current DB; [%d] %s\n", $link->errno, $link->error);
80 …ATE: 42000 (ER_DBACCESS_DENIED_ERROR) Message: Access denied for user '%s'@'%s' to database '%s' */
81 …E: 28000 (ER_ACCESS_DENIED_ERROR) Message: Access denied for user '%s'@'%s' (using password: %s) */
96 printf("[018] [%d] %s\n");
[all …]
H A Dmysqli_stmt_error.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));
29 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[006] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[007] [%d] %s\n", mysqli_stmt_error($stmt), mysqli_stmt_error($stmt));
43 printf("[008] Expecting empty string, got %s/%s\n", gettype($tmp), $tmp);
48 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
52 printf("[010] Execting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
57 printf("[011] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_execute.phpt23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
48 printf("[008] Expecting boolean/true, got %s/%s. [%d] %s\n",
79 printf("[016] Expecting boolean/true, got %s/%s. [%d] %s\n",
90 printf("[019] Expecting boolean/true, got %s/%s. [%d] %s\n",
94 printf("[020] Expecting boolean/true after reset to prepare status, got %s/%s. [%d] %s\n",
112 printf("[025] Expecting boolean/true, got %s/%s. [%d] %s\n",
116 printf("[026] Expecting boolean/true, got %s/%s. [%d] %s\n",
141 in %s on line %d
[all …]
H A Dmysqli_stmt_execute_stored_proc.phpt21 printf("[009] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
47 printf("[017] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
50 printf("[018] Results seem wrong, got %s, [%d] %s\n",
65 printf("[019] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
88 printf("[026] Results seem wrong, got %s, [%d] %s\n",
102 printf("[028] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
128 printf("[035] Results seem wrong, got %s, [%d] %s\n",
140 printf("[037] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
149 if (!mysqli_stmt_bind_param($stmt, 's', $version))
170 printf("[045] Results seem wrong, got %s, [%d] %s\n",
[all …]

Completed in 62 milliseconds

1...<<11121314151617181920>>...251