mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +02:00
Merge branch 'develop-olympus' into develop-ascraeus
* develop-olympus: [ticket/12397] Fix sql_unique_index_exists doc block
This commit is contained in:
@@ -892,7 +892,7 @@ class tools
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add unqiue indexes?
|
// Add unique indexes?
|
||||||
if (!empty($schema_changes['add_unique_index']))
|
if (!empty($schema_changes['add_unique_index']))
|
||||||
{
|
{
|
||||||
foreach ($schema_changes['add_unique_index'] as $table => $index_array)
|
foreach ($schema_changes['add_unique_index'] as $table => $index_array)
|
||||||
@@ -1303,7 +1303,7 @@ class tools
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if a specified index exists in table. Does not return PRIMARY KEY and UNIQUE indexes.
|
* Check if a specified index exists in table. Does not return PRIMARY KEY indexes.
|
||||||
*
|
*
|
||||||
* @param string $table_name Table to check the index at
|
* @param string $table_name Table to check the index at
|
||||||
* @param string $index_name The index name to check
|
* @param string $index_name The index name to check
|
||||||
|
Reference in New Issue
Block a user