Bug #19286
closed
unnecessary queries for updating session data
Added by Sebastian Mendel over 16 years ago.
Updated about 6 years ago.
Description
currently updating the session data is done in two steps:
- delete session data
- insert new session data
this means two queries and two times updating the index
but with only one update query, there is no need for updating the index
is there any special reason why TYPO3 uses two queries to accomplish this?
(issue imported from #M9287)
Files
This patch resolves the problem, as we have problems on one machine with the mysql DB. It stops sometimes between the delete and insert statement, so sometimes we have no session data on a new request.
corrected version, there was one line missed
Patch set 1 of change I58624215b65bced7473923eb6ce1966650c02860 has been pushed to the review server.
It is available at http://review.typo3.org/2761
Patch set 2 of change I58624215b65bced7473923eb6ce1966650c02860 has been pushed to the review server.
It is available at http://review.typo3.org/2761
Patch set 3 of change I58624215b65bced7473923eb6ce1966650c02860 has been pushed to the review server.
It is available at http://review.typo3.org/2761
Patch set 4 of change I58624215b65bced7473923eb6ce1966650c02860 has been pushed to the review server.
It is available at http://review.typo3.org/2761
Patch set 5 of change I58624215b65bced7473923eb6ce1966650c02860 has been pushed to the review server.
It is available at http://review.typo3.org/2761
Patch set 6 of change I58624215b65bced7473923eb6ce1966650c02860 has been pushed to the review server.
It is available at http://review.typo3.org/2761
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF