1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-14 16:50:58 +00:00

* lisp/progmodes/sql.el (sql-connect-mysql): Fix typo.

This commit is contained in:
Bob Rogers 2010-06-14 20:34:12 -07:00 committed by Glenn Morris
parent f0bf7c8e55
commit b15922cc08
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
* progmodes/sql.el (sql-connect-mysql): Fix typo.
2010-06-14 Juri Linkov <juri@jurta.org>
Add sort option `list-colors-sort'. (Bug#6332)

View File

@ -3119,7 +3119,7 @@ The default comes from `process-coding-system-alist' and
(setq params (append (list sql-database) params)))
(if (not (string= "" sql-server))
(setq params (append (list (concat "--host=" sql-server)) params)))
(if (not (and sql-port (numberp sql-port)))
(if (and sql-port (numberp sql-port))
(setq params (append (list (concat "--port=" (number-to-string sql-port))) params)))
(if (not (string= "" sql-password))
(setq params (append (list (concat "--password=" sql-password)) params)))