Bug #79863 Delete all records in Query window Result Grid results in erroneous error code.
Submitted: 6 Jan 2016 18:22 Modified: 6 Jan 2016 19:14
Reporter: Eric Crane Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.3.4.0 b 828, 64 bits OS:Windows
Assigned to: CPU Architecture:Any
Tags: rowcount

[6 Jan 2016 18:22] Eric Crane
Description:
It seems the subsequent automatic re-select to re-populate a Result Grid (triggered by applying the delete command) causes the error message that the row count cannot be 0.  The underlying table may still have records, but the subsequent select command must return 0 rows because they were just deleted.
-Eric

How to repeat:
Select a subset of records from a table using a query window.  The result grid then shows the one or more records selected.  

Highlight all records and right-click delete them and press the Apply button.  The record(s) are deleted from the table.  

An error message dialog box appears complaining that the result "RowCount = 0" is not correct.  

It seems the subsequent automatic re-select to re-populate the result grid causes the error message.
[6 Jan 2016 19:14] MySQL Verification Team
Thank you for the bug report. I couldn't repeat with version 6.3.6.