Re: Re: cvs: pear /MDB2/tests MDB2_usage_testcase.php
| From: | Daniel Convissor | Date: | Sun, 20 Aug 2006 18:14:10 +0000 |
| Subject: | Re: Re: cvs: pear /MDB2/tests MDB2_usage_testcase.php | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-43743@lists.php.net to get a copy of this message | ||
Hi Lukas:
On Sun, Aug 20, 2006 at 08:06:14PM +0200, Lukas Kahwe Smith wrote:
>
> Not sure I understand what you are saying.
...
> RDBMS xyz does not automatically RTRIM data coming from a CHAR field.
I'm proposing (additional ?) tests that run under
MDB2_PORTABILITY_NONE. The test would be something like this for the
test you used above:
switch
mysql:
$expected = 'some string';
mssql:
$expected = 'some string ';
if ($actual == $expected)
echo great
else
echo oops
My proposal is in response to what I thought your initial question was
in this thread. Perhaps I misunderstood. If so, tests like this
might be a good thing anyway. All that aside, this is just a
suggestion.
Thanks very much for your hard work on MDB2.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409