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 protected]
> 
> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/louisdemers%40mac.com
> 
> This email sent to [email protected]

Louis Demers eng.
www.obzerv.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to