Use a separate query to count changed rows.
Wrap select query with limit with a select * query which enables paging for
the displayed rows.
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
- Did not work when setting value to other column value, e.g. `SET a=a+1`
- Show updated data when clicking on the affected rows number
Now shows all table columns plus the new value as a column
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
* bugfix for simulate query matched rows wrong count
Signed-off-by: kamioon <kamran.azari@gmail.com>
* remove extra parentheses
add space before and after the else keyword
Signed-off-by: kamioon <kamran.azari@gmail.com>
* replaced with suggested commit from @MoonE with the <=> operator
Signed-off-by: kamioon <kamran.azari@gmail.com>
* add parentheses for the main where condition in simulated update query
Signed-off-by: kamioon <kamran.azari@gmail.com>
* update tests for the simulated update query changes
Signed-off-by: kamioon <kamran.azari@gmail.com>
---------
Signed-off-by: kamioon <kamran.azari@gmail.com>