Bug fix: #4384 Incorrect "Rows" total shown when truncating or dropping a table on DB Structure page.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
This commit is contained in:
parent
519cdacf50
commit
a0667f85fa
@ -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