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

Mailing List Archive: Bricolage: commits

[bricoleurs/bricolage] 685718: Exploit DBI callbacks to make MySQL behave.

 

 

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


noreply at github

Oct 29, 2009, 5:17 PM

Post #1 of 1 (96 views)
Permalink
[bricoleurs/bricolage] 685718: Exploit DBI callbacks to make MySQL behave.

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

Commit: 68571810c4d79c73e7224471e008398ba9141a8d
http://github.com/bricoleurs/bricolage/commit/68571810c4d79c73e7224471e008398ba9141a8d
Author: David E. Wheeler <david[at]justatheory.com>
Date: 2009-10-29 (Thu, 29 Oct 2009)

Changed paths:
M lib/Bric/Admin.pod
M lib/Bric/Changes.pod
M lib/Bric/Util/DBD/mysql.pm
M sql/mysql/Bric.sql

Log Message:
-----------
Exploit DBI callbacks to make MySQL behave.

Fixed compatibility issues on MySQL. Bricolage now sets `sql_mode` when it
connects to the database, so that MySQL itself does not have to globally set
that option, as it could cause conflicts with other apps running on MySQL.
Also removed the attempt to set C<sql_mode> globally at installation time; it
was bad manners, really.

I used the DBI's callback support to make this work, so bumped up the minimum
required DBI to 1.49. That's five years old already, so everyone should be
fine.

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.