[freetds] tsql patch

Maarten Boekhold boekhold at emirates.net.ae
Thu Sep 20 10:50:59 EDT 2007


Hi,

ZIGLIO, Frediano, VF-IT wrote:
> I don't know if this patch should be applied.
> This patch permit empty lines in batch. Allowing empty lines keep
> consistency in error results.
> Consider this batch
> 
> 1> select 1
> 2> 
> 3> raiserror('hello',16,1)
> 
> Without the patch error is detected at line 2 while is at line 3.

Which is how Sybase isql behaves (eg. throw an error in this situation) 
if I am not mistaken... That's probably why tsql currently treats this 
as an error as well.

Maarten



More information about the FreeTDS mailing list