Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: commits

[bricoleurs/bricolage] b98451: Make MySQL even more compliant.

 

 

Bricolage commits RSS feed   Index | Next | Previous | View Threaded


noreply at github

Nov 5, 2009, 1:49 PM

Post #1 of 1 (79 views)
Permalink
[bricoleurs/bricolage] b98451: Make MySQL even more compliant.

Branch: refs/heads/master
Home: http://github.com/bricoleurs/bricolage

Commit: b984510ba898a20998980f7d7982e91ca519ff2d
http://github.com/bricoleurs/bricolage/commit/b984510ba898a20998980f7d7982e91ca519ff2d
Author: David E. Wheeler <david[at]justatheory.com>
Date: 2009-11-05 (Thu, 05 Nov 2009)

Changed paths:
M .gitignore
M lib/Bric/Util/DBD/mysql.pm
M sql/mysql/Bric.sql

Log Message:
-----------
Make MySQL even more compliant.

See http://www.justatheory.com/computers/databases/mysql/configuration.html for details.


Commit: a53b7dc6b265132c9fe74516a7630800b9834d6d
http://github.com/bricoleurs/bricolage/commit/a53b7dc6b265132c9fe74516a7630800b9834d6d
Author: David E. Wheeler <david[at]justatheory.com>
Date: 2009-11-05 (Thu, 05 Nov 2009)

Changed paths:
M lib/Bric/Util/Alerted.pm
M t/Bric/Util/Alert/DevTest.pm
M t/Bric/Util/Alerted/DevTest.pm

Log Message:
-----------
Fix failing MySQL tests

I tried for hours to reduce this to a simple regression, and failed. The
problem is that, during the tests, sometimes MySQL doesn't consider a date
with .00000 microseconds to be the same as without the .000000 when used in
the first part of a BETWEEN query. No idea WTF that's about, so work around it
by simply dropping the first date back a second in the tests.

Bricolage commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.