cvs: pearweb /tests/mockDB DB.php

From: Date: Tue, 19 May 2009 08:49:40 +0000
Subject: cvs: pearweb /tests/mockDB DB.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-8427@lists.php.net to get a copy of this message
clockwerx Tue May 19 08:49:40 2009 UTC Modified files: /pearweb/tests/mockDB DB.php Log: Add more visibility around where a mock / unplanned query was http://cvs.php.net/viewvc.cgi/pearweb/tests/mockDB/DB.php?r1=1.5&r2=1.6&diff_format=u Index: pearweb/tests/mockDB/DB.php diff -u pearweb/tests/mockDB/DB.php:1.5 pearweb/tests/mockDB/DB.php:1.6 --- pearweb/tests/mockDB/DB.php:1.5 Fri Jun 8 15:23:00 2007 +++ pearweb/tests/mockDB/DB.php Tue May 19 08:49:40 2009 @@ -20,7 +20,7 @@ * @author Daniel Convissor <danielc@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: DB.php,v 1.5 2007/06/08 15:23:00 cellog Exp $ + * @version CVS: $Id: DB.php,v 1.6 2009/05/19 08:49:40 clockwerx Exp $ * @link http://pear.php.net/package/DB */ @@ -279,7 +279,8 @@ try { $rows = $this->_mock->query($query); } catch (MockDB_Core_QueryException $e) { - echo "**Unplanned query:\n" . $e->getMessage(); + echo "**Unplanned query:\n"; + print $e; die; } catch (Exception $e) { return $this->raiseError(DB_ERROR, null, $e->getMessage(), $e->getCode());

« previous php.pear.core (#8427) next »