Re: Patched MySQL plugin
Re: Patched MySQL plugin
- Subject: Re: Patched MySQL plugin
- From: Louis Demers <email@hidden>
- Date: Wed, 29 Sep 2010 20:51:17 -0400
Hi,
not really any of my business but am I the only one who finds this approach unsettling ?
NSTimestamps are points in time. They are not "NSDatestamps". Why mess with the comparison by setting to zero hours, minute and seconds ? Why not just minutes and seconds or again, may be dates too so that everything within a month returns equal...
In my app, when that's the behaviour I want, I zero out the data before writing it to the database so that subsequent checks for equality will return values...
this patch is like rounding off double values so they can be checked for equality and have a good chance of matching.
Finally, shouldn't all database have matching behaviour ? moving to a different database will certainly create surprising results... Maybe I'm missing something...
Anyway... Best regards.
On 2010-09-29, at 20:30 , Pascal Robert wrote:
> Hello everyone,
>
> I patched MySQLPlugin locally with the patch that Simon McLean submitted 5 days ago (JIRA WONDER-600, http://issues.objectstyle.org/jira/browse/WONDER-600). If you use MySQL, can you try this version and let us know if the patch is working for you?
>
> https://services.wocommunity.org/MySQLPlugIn.tgz
>
>
> --
> Pascal Robert
> email@hidden
>
> AIM/iChat : MacTICanada
> LinkedIn : http://www.linkedin.com/in/macti
> Twitter : pascal_robert
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
Louis Demers eng.
www.obzerv.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden