Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
c17afb95
Commit
c17afb95
authored
Jan 05, 2019
by
Carsten Rose
Browse files
Database.php: allow all SQL commands.
parent
40b387b0
Pipeline
#1286
passed with stage
in 1 minute and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Source/core/database/Database.php
View file @
c17afb95
...
...
@@ -448,7 +448,11 @@ class Database {
break
;
default
:
throw
new
DbException
(
'Unknown command: "'
.
$command
.
'"'
.
$specificMessage
,
ERROR_DB_UNKNOWN_COMMAND
);
// Unknown command: treat it as a control command
$queryType
=
QUERY_TYPE_CONTROL
;
$stat
[
DB_AFFECTED_ROWS
]
=
0
;
$count
=
$stat
[
DB_AFFECTED_ROWS
];
$msg
=
''
;
break
;
}
...
...
Write
Preview
Supports
Markdown
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