/PHP-5.6/ext/pdo/tests/ |
H A D | bug_64172.phpt | 2 PDO Common: Bug #64172 errorInfo is not properly cleaned up 26 var_dump(is_string($db->errorInfo()[0])) . "\n"; 27 var_dump(is_int($db->errorInfo()[1])) . "\n"; 28 var_dump(is_string($db->errorInfo()[2])) . "\n"; 33 var_dump($db->errorInfo()); 39 var_dump(is_string($db->errorInfo()[0])) . "\n"; 40 var_dump(is_int($db->errorInfo()[1])) . "\n"; 41 var_dump(is_string($db->errorInfo()[2])) . "\n"; 44 var_dump($db->errorInfo());
|
H A D | bug_65946.phpt | 21 if(!($res = $stmt->execute())) var_dump($stmt->errorInfo()); 22 if(!($res = $stmt->execute())) var_dump($stmt->errorInfo());
|
/PHP-5.6/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_begintransaction.phpt | 23 $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())); 55 printf("[010] [%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())); [all …]
|
H A D | pdo_mysql_stmt_errorinfo.phpt | 2 MySQL PDOStatement->errorInfo(); 23 var_dump($stmt->errorInfo()); 25 var_dump($stmt->errorInfo()); 31 var_dump($stmt->errorInfo()); 32 var_dump($db->errorInfo()); 36 $e->getMessage(), $db->errorInfo(), implode(' ', $db->errorInfo())); 50 var_dump($stmt->errorInfo()); 53 var_dump($stmt->errorInfo()); 54 var_dump($db->errorInfo()); 58 $e->getMessage(), $db->errorInfo(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_stmt_bindvalue.phpt | 27 $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 D | pecl_bug_5802.phpt | 16 $stmt = $db->prepare('insert into test (bar) values(:bar)') or var_dump($db->errorInfo()); 20 $stmt->execute() or var_dump($stmt->errorInfo()); 24 $stmt->execute() or var_dump($stmt->errorInfo()); 28 $stmt->execute() or var_dump($stmt->errorInfo()); 30 $stmt = $db->prepare('select * from test') or var_dump($db->errorInfo());
|
H A D | pdo_mysql_attr_case.phpt | 31 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 D | pdo_mysql_prepare_load_data.phpt | 41 $db->errorCode(), implode(' ', $db->errorInfo())); 54 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo())); 92 printf("[004] [%d] %s\n", $stmt->errorCode(), var_export($stmt->errorInfo(), true)); 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)); 111 implode(' ', $db->errorInfo()), 112 (isset($stmt)) ? implode(' ', $stmt->errorInfo()) : 'N/A');
|
H A D | pdo_mysql_stmt_closecursor_empty.phpt | 29 $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 D | pdo_mysql_stmt_bindparam.phpt | 23 $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 D | pdo_mysql_stmt_multiquery.phpt | 16 var_dump($stmt->errorInfo()); 18 var_dump($stmt->errorInfo()); 49 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo())); 102 Fatal error: Call to a member function errorInfo() on boolean in %s on line %d
|
H A D | pdo_mysql_prepare_native_clear_error.phpt | 33 var_export($stmt->errorInfo(), true)); 40 var_export($stmt->errorInfo(), true)); 53 var_export($stmt->errorInfo(), true)); 60 var_export($stmt->errorInfo(), true)); 66 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_attr_errmode.phpt | 46 $info = $db->errorInfo(); 51 printf("[006] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n", 62 $info = $db->errorInfo(); 67 printf("[010] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n", 81 $info = $db->errorInfo(); 86 printf("[014] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n", 119 $info = $db->errorInfo(); 124 printf("[022] Code and info should be identical, got errorCode() = %s, errorInfo()[0] = %s\n",
|
H A D | pdo_mysql_stmt_bindparam_types.phpt | 32 var_export($stmt->errorInfo(), true)); 37 var_export($stmt->errorInfo(), true)); 45 var_export($stmt->errorInfo(), true)); 50 var_export($stmt->errorInfo(), true)); 56 var_export($stmt->errorInfo(), true)); 72 var_export($stmt->errorInfo(), true)); 162 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_prepare_native_dup_named_placeholder.phpt | 32 var_export($stmt->errorInfo(), true)); 51 var_export($stmt->errorInfo(), true)); 72 var_export($stmt->errorInfo(), true)); 86 var_export($stmt->errorInfo(), true)); 92 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_stmt_bindcolumn.phpt | 27 $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 D | pdo_mysql_stmt_blobfromsteam.phpt | 60 printf("[%03d + 4] %s\n", $offset, var_export($db->errorInfo(), true)); 77 var_export($db->errorInfo(), true)); 82 printf("[%03d + 7] Failed to INSERT data, %s\n", $offset, var_export($stmt->errorInfo(), true)); 102 printf("[%03d + 9] %s\n", $offset, var_export($stmt->errorInfo(), true)); 133 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_commit.phpt | 28 $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 D | pdo_mysql_exec.phpt | 19 $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 D | bug_45120.phpt | 20 printf("[001] Execute has failed: %s\n", var_export($stmt->errorInfo(), true)); 27 printf("[003] Execute has failed: %s\n", var_export($stmt->errorInfo(), true));
|
H A D | pdo_mysql_prepare_native_placeholder_everywhere.phpt | 28 var_export($stmt->errorInfo(), true)); 42 var_export($stmt->errorInfo(), true)); 57 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_stmt_fetch_non_select.phpt | 23 printf("[003] Emulated PS, DESCRIBE failed, %s\n", var_export($db->errorInfo(), true)); 40 printf("[006] Emulated PS, SHOW failed, %s\n", var_export($db->errorInfo(), true)); 81 var_export($db->errorInfo(), true)); 115 var_export($db->errorInfo(), true)); 148 var_export($db->errorInfo(), true)); 180 $e->getMessage(), $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | bug53551.phpt | 34 var_dump($stmt->errorInfo()); 38 var_dump($stmt->errorInfo());
|
/PHP-5.6/ext/pdo_pgsql/tests/ |
H A D | bug62593.phpt | 22 $errors[] = $query->errorInfo(); 27 $errors[] = $query->errorInfo(); 34 $errors[] = $query->errorInfo(); 41 $errors[] = $query->errorInfo(); 47 $errors[] = $query->errorInfo();
|
H A D | bug_33876.phpt | 26 print_r($res->errorInfo()); 33 print_r($res->errorInfo()); 41 print_r($res->errorInfo()); 48 print_r($res->errorInfo()); 62 print_r($res->errorInfo()); 69 print_r($res->errorInfo()); 77 print_r($res->errorInfo()); 84 $err = $res->errorInfo();
|