Home
last modified time | relevance | path

Searched refs:mysql_error (Results 1 – 25 of 69) sorted by relevance

123

/PHP-5.5/ext/mysql/tests/
H A Dmysql_error.phpt2 mysql_error()
15 if (false !== ($tmp = @mysql_error()))
18 if (NULL !== ($tmp = @mysql_error($link)))
21 if (!is_null($tmp = @mysql_error($link, 'too many args')))
29 $tmp = mysql_error($link);
31 … string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
34 printf("[005] Failed to drop old test table: [%d] %s\n", mysql_errno($link), mysql_error($link));
38 $tmp = mysql_error($link);
49 var_dump(mysql_error($link));
55 if ('' == mysql_error())
[all …]
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_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_pconn_kill.phpt32 printf("[002] Cannot get processlist, [%d] %s\n", mysql_errno($link), mysql_error($link));
40 …ind regular connection thread in process list, [%d] %s\n", mysql_errno($link), mysql_error($link));
45 …005] Cannot kill persistent connection thread, [%d] %s\n", mysql_errno($link), mysql_error($link));
49 printf("[006] Cannot get processlist, [%d] %s\n", mysql_errno($link), mysql_error($link));
63 …ind regular connection thread in process list, [%d] %s\n", mysql_errno($link), mysql_error($link));
68 printf("[009] Cannot create new persistent connection, [%d] %s\n", mysql_errno(), mysql_error());
72 …ot run query on new persistent connection, [%d] %s\n", @mysql_errno($plink), @mysql_error($plink));
78 …ot run query on new persistent connection, [%d] %s\n", @mysql_errno($plink), @mysql_error($plink));
86 …printf("[013] Cannot kill regular connection thread, [%d] %s\n", mysql_errno($link2), mysql_error(…
93 … Cannot run query on new regular connection, [%d] %s\n", @mysql_errno($link), @mysql_error($link));
[all …]
H A Dmysql_pconn_max_links.phpt19 die(sprintf("skip [%d] %s", mysql_errno($link), mysql_error($link)));
22 die(sprintf("skip [%d] %s", mysql_errno($link), mysql_error($link)));
76 mysql_errno(), mysql_error());
92 mysql_errno($plink), mysql_error($plink));
96 mysql_errno($plink), mysql_error($plink));
102 printf("[006] [%d] %s", mysql_errno($link), mysql_error($link));
133 mysql_errno(), mysql_error());
152 mysql_errno(), mysql_error()));
159 mysql_errno($plink), mysql_error($plink));
163 mysql_errno($plink), mysql_error($plink));
[all …]
H A Dmysql_list_processes.phpt21 printf("[002] [%d] %s\n", mysql_errno($link), mysql_error($link));
24 printf("[003] Empty process list? [%d] %s\n", mysql_errno($link), mysql_error($link));
35 printf("[005] [%d] %s\n", mysql_errno(), mysql_error());
38 printf("[006] Empty process list? [%d] %s\n", mysql_errno(), mysql_error());
H A Dmysql_list_fields.phpt18 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
21 …xpecting two fields from 'test', got %d. [%d] %s\n", $num, mysql_errno($link), mysql_error($link));
26 printf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link));
29 printf("[006] [%d] %s\n", mysql_errno($link), mysql_error($link));
32 printf("[007] [%d] %s\n", mysql_errno($link), mysql_error($link));
35 … Expecting 2 fields from 'test', got %d. [%d] %s\n", $num, mysql_errno($link), mysql_error($link));
H A Dmysql_info.phpt20 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
26 printf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link));
32 printf("[007] [%d] %s\n", mysql_errno($link), mysql_error($link));
38 printf("[009] [%d] %s\n", mysql_errno($link), mysql_error($link));
44 printf("[011] [%d] %s\n", mysql_errno($link), mysql_error($link));
59 mysql_errno(), mysql_error());
H A Dtable.inc12 printf("Failed to drop old test table: [%d] %s\n", mysql_errno($link), mysql_error($link));
17 printf("Failed to create test table: [%d] %s\n", mysql_errno($link), mysql_error($link));
22 printf("[%d] %s\n", mysql_errno($link), mysql_error($link));
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 Dmysql_query.phpt32 if ((0 === mysql_errno($link)) || ('' == mysql_error($link)))
33 printf("[006] mysql_errno()/mysql_error should return some error\n");
36 printf("[007] [%d] %s\n", mysql_errno($link), mysql_error($link));
42 printf("[007a] [%d] %s\n", mysql_errno($link), mysql_error($link));
49 printf("[008] [%d] %s\n", mysql_errno($link), mysql_error($link));
67 printf("[011] [%d] %s\n", mysql_errno($link), mysql_error($link));
84 printf("[014] [%d] %s\n", mysql_errno($link), mysql_error($link));
106 printf("[clean] Failed to drop test table: [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dmysql_create_db.phpt27 …"[004] Cannot create database, aborting test, [%d] %s\n", mysql_errno($link), mysql_error($link)));
30 printf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link));
33 … boolean/true, got %s/%s, [%d] %s\n", gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
36 …boolean/false, got %s/%s, [%d] %s\n", gettype($tmp), $tmp, mysql_errno($link), mysql_error($link));
39 printf("[008] [%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 …("[005] Skipping, can't create test database. [%d] %s\n", mysql_errno($link), mysql_error($link)));
31 mysql_errno($link), mysql_error($link));
36 mysql_errno($link), mysql_error($link));
H A Dskipifconnectfailure.inc10 die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysql_errno(), mysql_error()));
13 die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysql_errno(), mysql_error()));
H A Dbug53649.phpt14 die(sprintf("skip [%d] %s\n", mysql_errno($link), mysql_error($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 Dmysql_select_db.phpt27 printf("[004] Cannot select DB %s, [%d] %s\n", $db, mysql_errno($link), mysql_error($link));
30 printf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link));
33 printf("[006] [%d] %s\n", mysql_errno($link), mysql_error($link));
47 printf("[008] [%d] %s\n", mysql_errno($link), mysql_error($link));
50 printf("[009] [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dmysql_list_dbs.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));
38 printf("[006] [%d] %s\n", mysql_errno(), mysql_error());
H A Dmysql_unbuffered_query.phpt29 if ((0 === mysql_errno($link)) || ('' == mysql_error($link)))
30 printf("[005] mysql_errno()/mysql_error should return some error\n");
33 printf("[006] [%d] %s\n", mysql_errno($link), mysql_error($link));
39 printf("[007] [%d] %s\n", mysql_errno($link), mysql_error($link));
57 printf("[010] [%d] %s\n", mysql_errno($link), mysql_error($link));
74 printf("[012] [%d] %s\n", mysql_errno($link), mysql_error($link));
100 printf("[clean] Failed to drop test table: [%d] %s\n", 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_query_load_data_openbasedir.phpt52 mysql_errno(), mysql_error());
56 printf("[002] [%d] %s\n", mysql_errno($link), mysql_error($link));
87 printf("[006] [%d] %s\n", mysql_errno($link), mysql_error($link));
92 printf("[007] [%d] '%s'\n", mysql_errno($link), mysql_error($link));
98 printf("[009] [%d] %s\n", mysql_errno($link), mysql_error($link));
106 printf("[010] [%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));
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));
109 printf("[011/%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_insert_id.phpt31 printf("[004] [%d] %s\n", mysql_errno($link), mysql_error($link));
39 printf("[006] [%d] %s\n", mysql_errno($link), mysql_error($link));
45 printf("[008] [%d] %s\n", mysql_errno($link), mysql_error($link));
48 printf("[009] [%d] %s\n", mysql_errno($link), mysql_error($link));
H A Dmysql_pconn_reuse.phpt35 printf("[002] [%d] %s\n", mysql_errno($plink), mysql_error($plink));
42 printf("[003] Cannot connect, [%d] %s\n", mysql_errno(), mysql_error());
51 printf("[005] Cannot connect, [%d] %s\n", mysql_errno(), mysql_error());
57 …printf("[007] Can connect although limit has been reached, [%d] %s\n", mysql_errno(), mysql_error(…
H A Dmysql_field_flags.phpt23 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
97 printf("[010/%s] [%d] %s\n", $columns, mysql_errno($link), mysql_error($link));
110 printf("[011/%s] '%s', [%d] %s\n", $columns, $sql, mysql_errno($link), mysql_error($link));
115 printf("[012/%s] [%d] %s\n", $columns, mysql_errno($link), mysql_error($link));
125 … flag '%s' not found, [%d] %s\n", $columns, $field, $flag, mysql_errno($link), mysql_error($link));
132 …cted flags '%s' found, [%d] %s\n", $columns, $field, $tmp, mysql_errno($link), mysql_error($link));
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 …]

Completed in 54 milliseconds

123