* varying results of sql-send-buffer
@ 2003-06-06 23:40 Andreas Zielke
2003-06-09 11:02 ` Andreas Zielke
2003-06-24 14:45 ` Martin Mueller
0 siblings, 2 replies; 3+ messages in thread
From: Andreas Zielke @ 2003-06-06 23:40 UTC (permalink / raw)
Hello,
I'm using Emacs 20.7.1 to build a MySQL database. I wrote a series of
queries which creates a db, tables and puts in some data (db is dropped
in the beginning to provide a clean start for each run). This file works
fine if used directly with mysql: mysql < file.sql
But if I send this buffer via the sql-send-buffer command to mysql in the
interactive-buffer, the final state of the database is different almost
each time.
It seems as if some of the queries get lost along the way. This is
curious, since I did some previous tasks where everything went smoothly.
The Emacs environment is set as follows:
sql-mysql
sql-set-sqli-buffer
I could not find any clues on the web for this problem.
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: varying results of sql-send-buffer
2003-06-06 23:40 varying results of sql-send-buffer Andreas Zielke
@ 2003-06-09 11:02 ` Andreas Zielke
2003-06-24 14:45 ` Martin Mueller
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Zielke @ 2003-06-09 11:02 UTC (permalink / raw)
I installed XEmacs and this works fine.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: varying results of sql-send-buffer
2003-06-06 23:40 varying results of sql-send-buffer Andreas Zielke
2003-06-09 11:02 ` Andreas Zielke
@ 2003-06-24 14:45 ` Martin Mueller
1 sibling, 0 replies; 3+ messages in thread
From: Martin Mueller @ 2003-06-24 14:45 UTC (permalink / raw)
Cc: Andreas Zielke
Andreas Zielke <Zielke.ng@oktapos.de> writes:
> I'm using Emacs 20.7.1 to build a MySQL database. I wrote a series of
> queries which creates a db, tables and puts in some data (db is dropped
> in the beginning to provide a clean start for each run). This file works
> fine if used directly with mysql: mysql < file.sql
>
> But if I send this buffer via the sql-send-buffer command to mysql in the
> interactive-buffer, the final state of the database is different almost
> each time.
>
> It seems as if some of the queries get lost along the way. This is
> curious, since I did some previous tasks where everything went smoothly.
>
> The Emacs environment is set as follows:
> sql-mysql
> sql-set-sqli-buffer
It is the same here.
I can avoid the problems when I remove the comments from my
sql-script. Do you have comments in your file?
Martin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-24 14:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-06 23:40 varying results of sql-send-buffer Andreas Zielke
2003-06-09 11:02 ` Andreas Zielke
2003-06-24 14:45 ` Martin Mueller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).