Lines Matching refs:error_info
15 function prepex($offset, &$db, $query, $input_params = null, $error_info = null) {
19 if (is_array($error_info) && isset($error_info['prepare']))
24 if (is_array($error_info) && isset($error_info['prepare'])) {
27 if (isset($error_info['prepare']['sqlstate']) &&
28 ($error_info['prepare']['sqlstate'] !== $tmp[0])) {
30 $offset, $error_info['prepare']['sqlstate'], $tmp[0]);
34 if (isset($error_info['prepare']['mysql']) &&
35 ($error_info['prepare']['mysql'] !== $tmp[1])) {
37 $offset, $error_info['prepare']['mysql'], $tmp[0]);
47 if (is_array($error_info) && isset($error_info['execute']))
56 if (is_array($error_info) && isset($error_info['execute'])) {
59 if (isset($error_info['execute']['sqlstate']) &&
60 ($error_info['execute']['sqlstate'] !== $tmp[0])) {
62 $offset, $error_info['execute']['sqlstate'], $tmp[0]);
66 if (isset($error_info['execute']['mysql']) &&
67 ($error_info['execute']['mysql'] !== $tmp[1])) {
69 $offset, $error_info['execute']['mysql'], $tmp[0]);