rdbms: Fix incomplete doc for DatabaseMssql::tableName()
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Tue, 26 Mar 2019 11:01:31 +0000 (12:01 +0100)
committerKrinkle <krinklemail@gmail.com>
Tue, 26 Mar 2019 18:16:28 +0000 (18:16 +0000)
commit376af797d56f4463326bfbd60914f8f75a41051e
treef3758c85b5448741319301a770fbcb716bfb2aa5
parent28b8d632ad487182c1f65c32dad9e921f80ccd02
rdbms: Fix incomplete doc for DatabaseMssql::tableName()

I'm also replacing a loop with an array_pad() call. When the count given
to array_pad() is negative, the padding is done to the left instead of
the right. This is exactly what the loop did before.

I'm also adding the missing limit to the explode() call.

Change-Id: I6737fcf6b60b822269b855f1405607be7fc23754
includes/libs/rdbms/database/DatabaseMssql.php