List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:December 23 2002 7:21pm
Subject:Re: What terminates a query?
View as plain text  
In the last episode (Dec 23), Matt Young said:
> My sql command pipes its result to a perl program (in batch mode) .
> but the perl program has no waf to tell when the query is finished. 
> HTTP uses a blank line to signal the end. but there is no such thing
> for mysql.

If you are doing something like "mysql -e 'select * from mytable' |
perlprogram", just check for end-of-file.

	Dan Nelson
What terminates a query?Matt Young23 Dec
  • RE: What terminates a query?Fernando Grijalba23 Dec
  • Re: What terminates a query?Dan Nelson23 Dec
  • Re: [MySQL] What terminates a query?Ashley M. Kirchner23 Dec