-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
4 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -343,7 +343,7 @@ START MODULE LIST | |
|
||
=item Devel::Symdump | ||
|
||
=item DBI 1.18 | ||
=item DBI 1.49 | ||
|
||
=item Error | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters