Fix SQL truncated when print-level or print-length are changed
Fix SQL truncated when print-level or print-length are changed

For long values or statements (like saving entire hash tables into a
field, for instance), if print-level and print-length were not reset
to nil, `format` (`prin1-to-string` under the hood) would truncate the
string, leading to an invalid value being sent.

    ;; Last 5 characters of the string
    ;; (eval-last-sexp does its own truncation)
    (s-right 5 (format "%s" (make-list 100 t)))
    ;; -> " t t)" if the result is not truncated
    ;;    " ...)" if it is

emacsmirror/emacsql