Bug #459 - Error when using limit:n where n < lines on screen and < results
- Fixed bug that displays 'limit' result lines when it has no need to.
This commit is contained in:
@@ -659,7 +659,7 @@ int handleCustomReport (const std::string& report, std::string &outs)
|
||||
if (maxrows)
|
||||
out << ", " << maxrows << " shown";
|
||||
|
||||
if (maxlines)
|
||||
if (maxlines < table.rowCount ())
|
||||
out << ", truncated to " << maxlines-1 << " lines";
|
||||
|
||||
out << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user