Merge pull request #1164 from ashutoshdhundhara/bugfix_4384
Bug fix: #4384 Incorrect "Rows" total shown when truncating or dropping a table on DB Structure page.
This commit is contained in:
commit
3fb5a5e073
@ -64,8 +64,8 @@ function PMA_adjustTotals() {
|
||||
// If the value is approximated
|
||||
if (strRows.indexOf('~') === 0) {
|
||||
rowSumApproximated = true;
|
||||
// The approximated value contains a preceding ~ and a following 2 (Eg 100 --> ~1002)
|
||||
strRows = strRows.substring(1, strRows.length - 1);
|
||||
// The approximated value contains a preceding ~ (Eg 100 --> ~100)
|
||||
strRows = strRows.substring(1, strRows.length);
|
||||
}
|
||||
strRows = strRows.replace(/[,.]/g, '');
|
||||
var intRow = parseInt(strRows, 10);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user