RFE#861: Simulate UPDATE queries.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Show 'Simulate query' button only in case of UPDATE and DELETE.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix code style.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Merge pull request #1237 from ashutoshdhundhara/simulate_query

RFE#861: Simulate UPDATE queries.
Fix coding style

Signed-off-by: Marc Delisle <marc@infomarc.info>
Clarify the meaning of a variable

Signed-off-by: Marc Delisle <marc@infomarc.info>