Now MySQL looks for existing index names. MDL-9256
Merged from MOODLE_18_STABLE
This commit is contained in:
@@ -474,7 +474,7 @@ function getSequenceFromDB($xmldb_table) {
|
||||
* return if such name is currently in use (true) or no (false)
|
||||
* (invoked from getNameForObject()
|
||||
*/
|
||||
function isNameInUse($object_name, $type) {
|
||||
function isNameInUse($object_name, $type, $table_name) {
|
||||
switch($type) {
|
||||
case 'ix':
|
||||
case 'uix':
|
||||
|
||||
Reference in New Issue
Block a user