Lines Matching refs:tmp

76 				$tmp = $e->getMessage();
77 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002'))
78 printf("[014] Cannot find proper error codes: %s\n", $tmp);
90 $tmp = $e->getMessage();
91 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002'))
92 printf("[016] Cannot find proper error codes: %s\n", $tmp);
107 $tmp = $e->getMessage();
108 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002'))
109 printf("[018] Cannot find proper error codes: %s\n", $tmp);
121 $tmp = $e->getMessage();
122 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005'))
123 printf("[019] Cannot find proper error codes: %s\n", $tmp);
147 $tmp = $e->getMessage();
148 if (!stristr($tmp, '42000') && !stristr($tmp, '1049'))
149 printf("[022] Cannot find proper error codes: %s\n", $tmp);
165 $tmp = $e->getMessage();
166 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2002'))
167 printf("[024] Cannot find proper error codes: %s\n", $tmp);
184 $tmp = explode('.', $version['_version']);
185 if ((count($tmp) == 3) &&
186 (($tmp[0] >= 4 && $tmp[1] >= 1) || ($tmp[0] >= 5))) {
203 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
204 $have_charset = (empty($tmp)) ? false : true;
212 $tmp = $e->getMessage();
214 if (!stristr($tmp, 'sqlstatecode') || !stristr($tmp, 'mysqlinternalerrcode'))
215 printf("[027] TODO - Cannot find proper error codes: %s\n", $tmp);
223 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
224 if ($tmp['_charset'] != $charset)
226 $tmp['_charset'], $charset);
244 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
245 $have_latin1 =(empty($tmp)) ? false : true;
247 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
248 $have_latin2 =(empty($tmp)) ? false : true;
256 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
257 if ($tmp['_charset'] != 'latin1')
259 $dsn, $tmp['_charset'], 'latin1');
269 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
270 if ($tmp['_charset'] != 'latin2')
272 $dsn, $tmp['_charset'], 'latin2');