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
b9e01d6e
Commit
b9e01d6e
authored
5 years ago
by
Carsten Rose
Browse files
Options
Downloads
Patches
Plain Diff
Rename variable
parent
5a776a61
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!233
Develop
,
!232
B9813 qfq down upgrade column exist
Pipeline
#3103
passed
5 years ago
Stage: before
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extension/Classes/Core/Database/Database.php
+3
-3
3 additions, 3 deletions
extension/Classes/Core/Database/Database.php
with
3 additions
and
3 deletions
extension/Classes/Core/Database/Database.php
+
3
−
3
View file @
b9e01d6e
...
...
@@ -181,7 +181,7 @@ class Database {
* @param string $specificMessage
* @param array $keys
* @param array $stat DB_NUM_ROWS | DB_INSERT_ID | DB_AFFECTED_ROWS
* @param array $skip
MySql
Erro
r
* @param array $skipErr
n
o
*
* @return array|int
* SELECT | SHOW | DESCRIBE | EXPLAIN: see $mode
...
...
@@ -191,7 +191,7 @@ class Database {
* @throws \DbException
* @throws \UserFormException
*/
public
function
sql
(
$sql
,
$mode
=
ROW_REGULAR
,
array
$parameterArray
=
array
(),
$specificMessage
=
''
,
array
&
$keys
=
array
(),
array
&
$stat
=
array
(),
array
$skip
MySql
Erro
r
=
array
())
{
public
function
sql
(
$sql
,
$mode
=
ROW_REGULAR
,
array
$parameterArray
=
array
(),
$specificMessage
=
''
,
array
&
$keys
=
array
(),
array
&
$stat
=
array
(),
array
$skipErr
n
o
=
array
())
{
$queryType
=
''
;
$result
=
array
();
$this
->
closeMysqliStmt
();
...
...
@@ -206,7 +206,7 @@ class Database {
$specificMessage
.
=
" "
;
}
$count
=
$this
->
prepareExecute
(
$sql
,
$parameterArray
,
$queryType
,
$stat
,
$specificMessage
,
$skip
MySql
Erro
r
);
$count
=
$this
->
prepareExecute
(
$sql
,
$parameterArray
,
$queryType
,
$stat
,
$specificMessage
,
$skipErr
n
o
);
if
(
$count
===
false
)
{
throw
new
\DbException
(
$specificMessage
.
"No idea why this error happens - please take some time and check the problem."
,
ERROR_DB_GENERIC_CHECK
);
...
...
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