* lisp/progmodes/sql.el (sql-send-string): Move point to EOB
before sending input to the SQL process. Suggested by Gary Hollis
<ghollisjr@gmail.com>. (Bug#69420)
(cherry picked from commit
bb9d81d5144ae497809c416eef91d126f8ac5df5)
(save-excursion
;; Set product context
(with-current-buffer sql-buffer
+ ;; Make sure point is at EOB before sending input to SQL.
+ (goto-char (point-max))
(when sql-debug-send
(message ">>SQL> %S" s))
(insert "\n")