List:General Discussion« Previous MessageNext Message »
From:Nick Arnett Date:April 4 2003 2:32pm
Subject:RE: Pre parsing
View as plain text  
You could pre-pend "EXPLAIN" and see if it generates an error.

--
Nick Arnett
Phone/fax: (408) 904-7198
narnett@stripped
 

> -----Original Message-----
> From: Jerry [mailto:jerry@stripped]
> Sent: Friday, April 04, 2003 5:46 AM
> To: mysql@stripped
> Subject: Pre parsing
> 
> 
> Hi,
> 
> Anyone know of a  way of pre parsing a *.sql file to make sure that it is
> syntactically correct , opposed to having to up load a file and when it
> breaks loosing everything after the line with an error on it.
> 
> Either that or a way of telling it to carry on after finding an error.
> 
> i.e. using
> 
> mysql -u user -ppassword  my_dB < some_file.sql
> 
> With the "Just do it" flag ?
> 
> 
> Cheers
> Jerry
> 
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    
> http://lists.mysql.com/mysql?unsub=1
Thread
Open_files drops fast. Why?Mike South2 Apr
  • Re: Open_files drops fast. Why?Paul DuBois3 Apr
  • Re: Open_files drops fast. Why?Dan Nelson3 Apr
Re: Open_files drops fast. Why?Mike South4 Apr
  • Pre parsingJerry4 Apr
    • RE: Pre parsingNick Arnett4 Apr
    • RE: Pre parsingMichael Shulman4 Apr
Re: Open_files drops fast. Why?Mike South4 Apr