Reduce the use of "SET sql_log_bin = 0"

Removing the use of "SET sql_log_bin = 0" for all procedures that do not use temporary tables