Skip to content
Snippets Groups Projects
Commit 879966e8 authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Stefan Bürk
Browse files

[BUGFIX] Prevent superfluous SELECT DATABASE() statements

They are executed to build a descriptive cache identifier and
the database name is now received from configuration instead
firing an SQL query.

SQLite for example does not have a database name, here 'generic'
is used as fallback.

Resolves: #102174
Releases: main, 12.4

Change-Id: Ic8f46675a850a7fca9508acb7dc1432493437ff3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81433


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
parent fbb99b3f
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment