Home
last modified time | relevance | path

Searched refs:mysql_errno (Results 1 – 25 of 71) sorted by path

123

/PHP-5.5/ext/mysql/
H A Dconfig.m4124 PHP_CHECK_LIBRARY($MYSQL_LIBNAME, mysql_errno, [], [
H A Dphp_mysql.c87 # ifdef mysql_errno
261 PHP_FE(mysql_errno, arginfo__optional_mysql_link)
899 MySG(connect_errno) = mysql_errno(mysql->conn);
933 if (mysql_errno(mysql->conn) == 2006) {
1026 MySG(connect_errno) = mysql_errno(mysql->conn);
1472 if (mysql_errno(mysql->conn)) {
1496 if (mysql_errno(mysql->conn)){
1506 if (mysql_errno(mysql->conn)){
1775 PHP_FUNCTION(mysql_errno) argument
1798 RETURN_LONG(mysql_errno(mysql->conn));
H A Dphp_mysql_structs.h78 PHP_FUNCTION(mysql_errno);
/PHP-5.5/ext/mysql/tests/
H A D003.phpt25 printf("[002] [%d] %s\n", mysql_errno($link), mysql_error($link));
28 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
32 printf("[004 - %s] [%d] %s\n", $str, mysql_errno($link), mysql_error($link));
37 printf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link));
46 printf("[006] [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dbug47438.phpt45 printf("[c002] [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dbug48754.phpt21 mysql_errno(), mysql_error());
H A Dbug53649.phpt14 die(sprintf("skip [%d] %s\n", mysql_errno($link), mysql_error($link)));
20 1148 == mysql_errno($link))
32 printf("[002] [%d] %s\n", mysql_errno($link), mysql_error($link));
36 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
43 printf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link));
46 printf("[006] [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dbug55473.phpt36 printf("[002] [%d] %s\n", mysql_errno($conn), mysql_error($conn));
55 printf("[004] [%d] %s\n", mysql_errno($conn), mysql_error($conn));
H A Dclean_table.inc11 printf("[clean] Failed to drop test table: [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dconnect.inc43 mysql_errno(), mysql_error());
48 printf("[000-b] [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dmysql_affected_rows.phpt31 gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
34 printf("[006] [%d] %s\n", mysql_errno($link), mysql_error($link));
37 printf("[007] [%d] %s\n", mysql_errno($link), mysql_error($link));
40 printf("[008] [%d] %s\n", mysql_errno($link), mysql_error($link));
51 printf("[012] [%d] %s\n", mysql_errno($link), mysql_error($link));
57 printf("[014] [%d] %s\n", mysql_errno($link), mysql_error($link));
63 printf("[016] [%d] %s\n", mysql_errno($link), mysql_error($link));
70 printf("[018] [%d] %s\n", mysql_errno($link), mysql_error($link));
76 printf("[020] [%d] %s\n", mysql_errno($link), mysql_error($link));
82 printf("[022] [%d] %s\n", mysql_errno($link), mysql_error($link));
[all …]
H A Dmysql_client_encoding.phpt23 …printf("[003] %s != %s, [%d] %s\n", $default_link_enc, $link_enc, mysql_errno($link), mysql_error(…
26 printf("[004] [%d] %s\n", mysql_errno($link), mysql_error($link));
37 printf("[007] [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dmysql_create_db.phpt27 …die(sprintf("[004] Cannot create database, aborting test, [%d] %s\n", mysql_errno($link), mysql_er…
30 printf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link));
33 …printf("[006] Expecting boolean/true, got %s/%s, [%d] %s\n", gettype($tmp), $tmp, mysql_errno($lin…
36 …printf("[007] Expecting boolean/false, got %s/%s, [%d] %s\n", gettype($tmp), $tmp, mysql_errno($li…
39 printf("[008] [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dmysql_data_seek.phpt26 printf("[004] [%d] %s\n", mysql_errno($link), mysql_error($link));
51 printf("[011] [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dmysql_db_name.phpt24 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
27 printf("[004] Empty database list? [%d] %s\n", mysql_errno($link), mysql_error($link));
31 gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
35 gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
41 (($i * 2) + 1) + 6, mysql_errno($link), mysql_error($link));
45 (($i * 2) + 2) + 6, mysql_errno($link), mysql_error($link));
54 gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
H A Dmysql_db_query.phpt29 printf("[004] [%d] %s\n", mysql_errno($link), mysql_error($link));
36 printf("[006] No unicode returned! [%d] %s\n", mysql_errno($link), mysql_error($link));
44 printf("[007] [%d] %s\n", mysql_errno(), mysql_error());
51 printf("[009] No unicode returned! [%d] %s\n", mysql_errno(), mysql_error());
H A Dmysql_deprecated_api.phpt25 $error .= sprintf("[001] [%d] %s\n", mysql_errno($link), mysql_error($link));
44 $error .= sprintf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link));
58 $error .= sprintf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dmysql_drop_db.phpt23 printf("[004] [%d] %s\n", mysql_errno($link), mysql_error($link));
26 …die(sprintf("[005] Skipping, can't create test database. [%d] %s\n", mysql_errno($link), mysql_err…
31 mysql_errno($link), mysql_error($link));
36 mysql_errno($link), mysql_error($link));
H A Dmysql_errno.phpt2 mysql_errno()
15 if (false !== ($tmp = @mysql_errno()))
18 if (null !== ($tmp = @mysql_errno($link)))
21 if (!is_null($tmp = @mysql_errno($link, 'too many args')))
28 var_dump(mysql_errno($link));
31 printf("[004] Failed to drop old test table: [%d] %s\n", mysql_errno($link), mysql_errno($link));
35 var_dump(mysql_errno($link));
39 var_dump(mysql_errno($link));
45 $errno = mysql_errno();
62 Warning: mysql_errno(): %d is not a valid MySQL-Link resource in %s on line %d
H A Dmysql_error.phpt31 …printf("[004] Expecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysql_errno($lin…
34 printf("[005] Failed to drop old test table: [%d] %s\n", mysql_errno($link), mysql_error($link));
40 …g/[Table... doesn't exit], got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysql_errno($link), mysql_e…
H A Dmysql_fetch_array.phpt23 printf("[004] [%d] %s\n", mysql_errno($link), mysql_error($link));
44 printf("[010] Cannot run query, [%d] %s\n", mysql_errno($link), mysql_error($link));
52 mysql_errno($link), $mysql_error($link));
62 gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
67 gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
74 printf("[%04d] [%d] %s\n", $offset, mysql_errno($link), mysql_error($link));
84 printf("[%04d] [%d] %s\n", $offset + 1, mysql_errno($link), mysql_error($link));
90 printf("[%04d] [%d] %s\n", $offset + 1, mysql_errno($link), mysql_error($link));
99 printf("[%04d] [%d] %s\n", $offset + 2, mysql_errno($link), mysql_error($link));
104 printf("[%04d] [%d] %s\n", $offset + 3, mysql_errno($link), mysql_error($link));
[all …]
H A Dmysql_fetch_assoc.phpt25 printf("[004] [%d] %s\n", mysql_errno($link), mysql_error($link));
37 printf("[007] Cannot run query, [%d] %s\n", mysql_errno($link), $mysql_error($link));
51 printf("[009] [%d] %s\n", mysql_errno($link), $mysql_error($link));
H A Dmysql_fetch_field.phpt30 printf("[004] [%d] %s\n", mysql_errno($link), mysql_error($link));
40 printf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link));
85 printf("[008/%s] [%d] %s\n", $type_name, mysql_errno($link), mysql_error($link));
97 if (1366 == mysql_errno($link)) {
101 printf("[009/%s] [%d] %s\n", $type_name, mysql_errno($link), mysql_error($link));
105 printf("[010/%s] [%d] %s\n", $type_name, mysql_errno($link), mysql_error($link));
119 printf("[013] [%d] %s\n", mysql_errno($link), mysql_error($link));
122 printf("[014] [%d] %s\n", mysql_errno($link), mysql_error($link));
125 printf("[015] [%d] %s\n", mysql_errno($link), mysql_error($link));
128 printf("[016] [%d] %s\n", mysql_errno($link), mysql_error($link));
[all …]
H A Dmysql_fetch_lengths.phpt23 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dmysql_fetch_object.phpt23 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
67 printf("[009] [%d] %s\n", mysql_errno($link), mysql_error($link));

Completed in 65 milliseconds

123