Bug #51383
closedFunctional test database name could exceed maximum database name length
100%
Description
The functional test framework creates a new database. The name of the database is the original database name + _test_
+ a 7 chars long sha1 hash.
The maximum database name legth of mysql is 64 characters. (http://dev.mysql.com/doc/refman/5.5/en/identifiers.html)
If the length of the generated database name is higher then 64 characters an exception should be thrown.
The length of the generated name should also be shorter.
Maybe we should simply add _ft
+ the sha1. So it looks something like that orig_database_name_ft5b92679
The Grant table command can then be changed to
"GRANT ALL ON `' . $this->originalDatabaseName . '_ft%`.* TO `' . $user . '`@`' . $host . '`;"'
Updated by Gerrit Code Review about 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23356
Updated by Gerrit Code Review about 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23356
Updated by Gerrit Code Review about 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23356
Updated by Anonymous about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c72bca79a68affeb8477467f579c364cee48e0cf.