? Pending

User tests: Successful: Unsuccessful:

avatar csthomas
csthomas
5 Jun 2018

Summary of Changes

Currently method JDatabaseDriver::lockTable() can not lock more than one table in one call.
To lock more tables we have to call the method more times but for mysql server there is an exception:

LOCK TABLES implicitly releases any table locks held by the current session before acquiring new locks.

https://dev.mysql.com/doc/refman/5.5/en/lock-tables.html

which means that for the mysql database we can not have 2 locked tables using this method.
This PR solves that.

Testing Instructions

Code review.

avatar csthomas csthomas - open - 5 Jun 2018
avatar csthomas csthomas - change - 5 Jun 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Jun 2018
Category Libraries Postgresql MS SQL
avatar csthomas csthomas - change - 5 Jun 2018
Title
Allow to lock more tables in JDatabaseDriver::lockTable() method
[3.9] Allow to lock more tables in JDatabaseDriver::lockTable() method
avatar csthomas csthomas - edited - 5 Jun 2018
avatar csthomas
csthomas - comment - 7 Jun 2018

Temporary I close it.

avatar csthomas csthomas - change - 7 Jun 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-06-07 12:19:10
Closed_By csthomas
Labels Added: ?
avatar csthomas csthomas - close - 7 Jun 2018

Add a Comment

Login with GitHub to post a comment