Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
542c6552
Commit
542c6552
authored
Oct 05, 2000
by
Gerd Moellmann
Browse files
(sql-mysql-options): New variable.
(sql-mysql): Use it.
parent
88b4c77e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/progmodes/sql.el
lisp/progmodes/sql.el
+9
-1
No files found.
lisp/ChangeLog
View file @
542c6552
2000-10-05 Alex Schroeder <alex@gnu.org>
* sql.el (sql-mysql-options): New variable.
(sql-mysql): Use it.
2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
* image.el (image): New group.
...
...
lisp/progmodes/sql.el
View file @
542c6552
...
...
@@ -4,7 +4,7 @@
;; Author: Alex Schroeder <alex@gnu.org>
;; Maintainer: Alex Schroeder <alex@gnu.org>
;; Version: 1.4.2
1
;; Version: 1.4.2
2
;; Keywords: comm languages processes
;; This file is part of GNU Emacs.
...
...
@@ -272,6 +272,12 @@ The program can also specify a TCP connection. See `make-comint'."
:type
'file
:group
'SQL
)
(
defcustom
sql-mysql-options
nil
"*List of additional options for `sql-mysql-program'."
:type
'
(
repeat
string
)
:version
"20.8"
:group
'SQL
)
;; Customisation for Solid
(
defcustom
sql-solid-program
"solsql"
...
...
@@ -1384,6 +1390,8 @@ The default comes from `process-coding-system-alist' and
(
setq
params
(
append
(
list
(
concat
"--password="
sql-password
))
params
)))
(
if
(
not
(
string=
""
sql-user
))
(
setq
params
(
append
(
list
(
concat
"--user="
sql-user
))
params
)))
(
if
(
not
(
null
sql-mysql-options
))
(
setq
params
(
append
sql-mysql-options
params
)))
(
set-buffer
(
apply
'make-comint
"SQL"
sql-mysql-program
nil
params
)))
(
setq
sql-prompt-regexp
"^mysql>"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment