Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Commits
1269f527
Commit
1269f527
authored
5 years ago
by
Marc Egger
Browse files
Options
Downloads
Patches
Plain Diff
Database.php: fix CodeException
parent
2d65750b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#2091
passed
5 years ago
Stage: before
Stage: build
Stage: selenium
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extension/Classes/Core/Database/Database.php
+1
-1
1 addition, 1 deletion
extension/Classes/Core/Database/Database.php
with
1 addition
and
1 deletion
extension/Classes/Core/Database/Database.php
+
1
−
1
View file @
1269f527
...
...
@@ -972,7 +972,7 @@ class Database {
if
(
false
===
$executed
)
{
$errorMsg
[
ERROR_MESSAGE_TO_USER
]
=
'SQL Error.'
;
$errorMsg
[
ERROR_MESSAGE_TO_DEVELOPER
]
=
"Error playing multi query: "
.
$sqlStatements
;
throw
new
\CodeException
(
$errorMsg
,
ERROR_PLAY_SQL_MULTIQUERY
);
throw
new
\CodeException
(
json_encode
(
$errorMsg
)
,
ERROR_PLAY_SQL_MULTIQUERY
);
}
// discard all results: this is important - if missed, following calls on $mysqli will fail.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment