Lines Matching refs:error_info
17 function prepex($offset, &$db, $query, $input_params = null, $error_info = null) {
21 if (is_array($error_info) && isset($error_info['prepare']))
26 if (is_array($error_info) && isset($error_info['prepare'])) {
29 if (isset($error_info['prepare']['sqlstate']) &&
30 ($error_info['prepare']['sqlstate'] !== $tmp[0])) {
32 $offset, $error_info['prepare']['sqlstate'], $tmp[0]);
36 if (isset($error_info['prepare']['mysql']) &&
37 ($error_info['prepare']['mysql'] !== $tmp[1])) {
39 $offset, $error_info['prepare']['mysql'], $tmp[0]);
49 if (is_array($error_info) && isset($error_info['execute']))
58 if (is_array($error_info) && isset($error_info['execute'])) {
61 if (isset($error_info['execute']['sqlstate']) &&
62 ($error_info['execute']['sqlstate'] !== $tmp[0])) {
64 $offset, $error_info['execute']['sqlstate'], $tmp[0]);
68 if (isset($error_info['execute']['mysql']) &&
69 ($error_info['execute']['mysql'] !== $tmp[1])) {
71 $offset, $error_info['execute']['mysql'], $tmp[0]);