Home
last modified time | relevance | path

Searched refs:errorCode (Results 1 – 25 of 64) sorted by relevance

123

/PHP-7.3/ext/pdo_mysql/tests/
H A Dpdo_mysql_begintransaction.phpt23 $db->errorCode(), implode(' ', $db->errorInfo()));
37 printf("[005] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo()));
43 printf("[006] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo()));
49 printf("[008] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo()));
112 $tmp['auto_commit'], $stmt->errorCode(), $stmt->errorInfo());
129 $tmp['auto_commit'], $stmt->errorCode(), $stmt->errorInfo());
138 $db->errorCode(), implode(' ', $db->errorInfo()));
154 $db->errorCode(), implode(' ', $db->errorInfo()));
167 $db->errorCode(), implode(' ', $db->errorInfo()));
171 $db->errorCode(), implode(' ', $db->errorInfo()));
[all …]
H A Dpdo_mysql_stmt_bindvalue.phpt27 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
34 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
38 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
49 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
56 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
60 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
73 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
80 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
84 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
98 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
[all …]
H A Dpdo_mysql_prepare_native_clear_error.phpt30 if ('00000' !== $stmt->errorCode())
32 var_export($stmt->errorCode(), true),
37 if ('00000' !== $stmt->errorCode())
39 var_export($stmt->errorCode(), true),
50 if ('00000' !== $stmt->errorCode())
52 var_export($stmt->errorCode(), true),
57 if ('00000' !== $stmt->errorCode())
59 var_export($stmt->errorCode(), true),
66 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_errorcode.phpt2 MySQL PDO->errorCode()
18 $code = $obj->errorCode();
31 PDO->errorCode() will not reflect that error. You must call
32 PDOStatement->errorCode() to return the error code for an
35 $code = $db->errorCode();
75 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_prepare_native_dup_named_placeholder.phpt29 if ('00000' !== $stmt->errorCode())
31 var_export($stmt->errorCode(), true),
48 if ('00000' !== $stmt->errorCode())
50 var_export($stmt->errorCode(), true),
69 if ('00000' !== $stmt->errorCode())
71 var_export($stmt->errorCode(), true),
83 if ('00000' !== $stmt->errorCode())
85 var_export($stmt->errorCode(), true),
92 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_stmt_errorcode.phpt2 MySQL PDOStatement->errorCode();
25 var_dump($stmt->errorCode());
30 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
41 var_dump($stmt->errorCode());
45 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_attr_case.phpt31 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
37 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
45 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
49 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
53 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
59 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
67 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
73 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
81 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
H A Dpdo_mysql_prepare_load_data.phpt41 $db->errorCode(), implode(' ', $db->errorInfo()));
47 if (42000 == $db->errorCode()) {
54 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
92 printf("[004] [%d] %s\n", $stmt->errorCode(), var_export($stmt->errorInfo(), true));
97 if ($stmt->errorCode() != '0000') {
98 printf("[005] [%d] %s\n", $stmt->errorCode(), var_export($stmt->errorInfo(), true));
102 printf("[006] [%d] %s\n", $stmt->errorCode(), var_export($stmt->errorInfo(), true));
110 $db->errorCode(),
H A Dpdo_mysql_attr_server_info.phpt15 assert(('' == $db->errorCode()) || ('00000' == $db->errorCode()));
31 printf("[004] Cannot run SHOW STATUS, [%s]\n", $db->errorCode());
34 printf("[005] Unable to fetch uptime, [%s]\n", $db->errorCode());
H A Dpdo_mysql_prepare_emulated_anonymous.phpt26 if ('00000' !== $stmt->errorCode())
28 var_export($stmt->errorCode(), true),
45 if ('00000' !== $stmt->errorCode())
47 var_export($stmt->errorCode(), true),
56 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt25 if ('00000' !== $stmt->errorCode())
27 var_export($stmt->errorCode(), true),
39 if ('00000' !== $stmt->errorCode())
41 var_export($stmt->errorCode(), true),
57 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_attr_errmode.phpt45 $code = $db->errorCode();
51 printf("[006] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
61 $code = $db->errorCode();
67 printf("[010] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
80 $code = $db->errorCode();
86 printf("[014] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
94 printf("[017] Exception code '%s' differs from errorCode '%s'\n",
118 $code = $db->errorCode();
124 printf("[022] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
132 printf("[025] Exception code '%s' differs from errorCode '%s'\n",
H A Dpdo_mysql_prepare_emulated_placeholder_everywhere.phpt29 if ('00000' !== $stmt->errorCode()) {
31 var_export($stmt->errorCode(), true),
44 if ('00000' !== $stmt->errorCode())
46 var_export($stmt->errorCode(), true),
52 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_stmt_closecursor_empty.phpt29 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
36 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
40 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
58 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_stmt_bindparam.phpt23 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
30 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
34 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
56 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
60 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
69 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
73 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
114 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_prepare_native_named_placeholder.phpt32 if ('00000' !== $stmt->errorCode())
34 var_export($stmt->errorCode(), true),
52 if ('00000' !== $stmt->errorCode())
54 var_export($stmt->errorCode(), true),
64 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_attr_driver_name.phpt15 assert(('' == $db->errorCode()) || ('00000' == $db->errorCode()));
H A Dpdo_mysql_pconnect.phpt50 if ('00000' == $db1->errorCode()) {
54 if ('HY000' != $db1->errorCode())
55 printf("[004] Wrong error code %s\n", $db1->errorCode());
90 (is_object($db1)) ? $db1->errorCode() : 'n/a',
92 (is_object($db2)) ? $db2->errorCode() : 'n/a',
H A Dpdo_mysql_errorinfo.phpt41 PDO->errorCode() will not reflect that error. You must call
42 PDOStatement->errorCode() to return the error code for an
45 $code = $db->errorCode();
85 $offset + 19, $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_attr_client_version.phpt15 assert(('' == $db->errorCode()) || ('00000' == $db->errorCode()));
H A Dpdo_mysql_stmt_bindcolumn.phpt27 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
31 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
67 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
71 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
99 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_commit.phpt28 $db->errorCode(), implode(' ', $db->errorInfo()));
44 $db->errorCode(), implode(' ', $db->errorInfo()));
65 $db->errorCode(), implode(' ', $db->errorInfo()));
78 $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_exec.phpt19 $db->errorCode(), implode(' ', $db->errorInfo()));
25 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
54 printf("[016] [%s] %s\n", $db->errorCode(), implode(' ', $db->errorInfo()));
65 $db->errorCode(), implode(' ', $db->errorInfo()));
107 $db->errorCode(), implode(' ', $db->errorInfo()));
144 $db->errorCode(), implode(' ', $db->errorInfo()));
159 $db->errorCode(), var_export($db->errorInfo(), true));
169 $db->errorCode(), implode(' ', $db->errorInfo()));
H A Dpdo_mysql_exec_load_data.phpt41 $db->errorCode(), implode(' ', $db->errorInfo()));
47 if (42000 == $db->errorCode()) {
54 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
108 $db->errorCode(), implode(' ', $db->errorInfo()));
/PHP-7.3/ext/pdo_dblib/tests/
H A Dtimeout.phpt29 if ($stmt->errorCode() != '00000') {
42 if ($stmt->errorCode() != '00000') {
54 if ($stmt->errorCode() != '00000') {
66 if ($stmt->errorCode() != '00000') {

Completed in 26 milliseconds

123