Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
9b1749e4
Commit
9b1749e4
authored
Nov 15, 2006
by
olav%bkor.dhs.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do commit-time fix: Add comment explaining the sql modes that are removed
parent
8926e604
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Mysql.pm
Bugzilla/DB/Mysql.pm
+3
-0
No files found.
Bugzilla/DB/Mysql.pm
View file @
9b1749e4
...
...
@@ -68,6 +68,9 @@ sub new {
# Bug 321645 - disable MySQL strict mode, if set
my
$sql_mode
=
$self
->
selectrow_array
(
'SELECT @@sql_mode'
);
if
(
$sql_mode
)
{
# STRICT_TRANS_TABLE or STICT_ALL_TABLES enable MySQL strict mode,
# causing bug 321645. TRADITIONAL sets these modes (among others) as
# well, so it has to be stipped as well
my
$new_sql_mode
=
join
(
","
,
grep
{
$_
!~
/^STRICT_(?:TRANS|ALL)_TABLES|TRADITIONAL$/
}
split
(
/,/
,
$sql_mode
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment