all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.