Please find the attached patch to fix below the issues of the macro module:
#5905 - Save button is enabled by-default
#5906 - Consistent behaviour should be displayed if user clear manage macro #5907 - We need to fix the behaviour of Clear All Rows if user does not enter any value
#5929 - Message "Not connected to the server or the connection to the server has been closed." displayed if user created SQL with invalid syntax