Leave table names with numbers untouched in DatabaseBase::generalizeSQL
authorRohan <rohan1395@yahoo.com>
Sat, 19 Jul 2014 15:10:17 +0000 (20:40 +0530)
committerRohan <rohan1395@yahoo.com>
Sat, 19 Jul 2014 15:10:17 +0000 (20:40 +0530)
commitc4a3cd498876b01945106290a5ea3afa12d46a00
tree67fa7486556e45a9c9c7256436330a7922d2ef8c
parent96484126651b7f2550df5a8cc4a998d19b27b73c
Leave table names with numbers untouched in DatabaseBase::generalizeSQL

The function converts numbers to general forms
Eg. 10 => N
but creates a problem for tables whose names have digits in them
Eg. l10n_cache => lNn_cache

This was fixed using regex lookarounds

Bug: 67925
Change-Id: I0e97e211f6d60ba0d639b91d3a68c5e42bfb3f78
includes/db/Database.php