Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
f8923eec
Commit
f8923eec
authored
Feb 12, 2014
by
Son Nguyen
Committed by
Gerrit Code Review
Feb 12, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Override MySQL's check for accidental large queries" into 1.6_STABLE
parents
9ad29e96
f4e4b44f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
htdocs/lib/dml.php
htdocs/lib/dml.php
+2
-1
No files found.
htdocs/lib/dml.php
View file @
f8923eec
...
@@ -1482,8 +1482,9 @@ function configure_dbconnection() {
...
@@ -1482,8 +1482,9 @@ function configure_dbconnection() {
$db
->
Execute
(
"SET NAMES 'utf8'"
);
$db
->
Execute
(
"SET NAMES 'utf8'"
);
if
(
is_mysql
())
{
if
(
is_mysql
())
{
$db
->
Execute
(
"SET CHARACTER SET utf8"
);
$db
->
Execute
(
"SET SQL_MODE='POSTGRESQL'"
);
$db
->
Execute
(
"SET SQL_MODE='POSTGRESQL'"
);
$db
->
Execute
(
"SET CHARACTER SET utf8"
);
$db
->
Execute
(
"SET SQL_BIG_SELECTS=1"
);
}
}
// more later..
// more later..
...
...
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