[freetds] Want to use fast forward cursors (SQL_CO_FFO) and MARS

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Wed May 7 04:54:51 EDT 2008


> 
> ZIGLIO, Frediano, VF-IT wrote:
> > Where to define these constants? Should we create
> > a tdsodbcss.h header?? Or should we install it as odbcss.h?? 
> 
> Hi Freddy, 
> 
> Oh, goodie!  A chance to offer an opinion!  
> 
> I don't like tdsodbcss.h because 
> 
> 	#include "odbcss.h" 
> 
> doesn't work.  
> 
> We should call it odbcss.h.  It should use identical names 
> and values.  
> 
> > should we install this header or not?? 
> 
> Yes.  Anyone installing FreeTDS alongside Microsoft's 
> libraries already
> deals with duplicate header and library names.  
> 
> The version of odbcss.h on my machine defines 360 symbolic 
> constants.  Our
> file should define only those symbols implemented by the FreeTDS ODBC
> driver.  
> 

As usual I like to reply with code :)

http://freetds.cvs.sourceforge.net/freetds/freetds/ChangeLog?r1=1.2514&r
2=1.2515
http://freetds.cvs.sourceforge.net/freetds/freetds/include/odbcss.h?revi
sion=1.1&view=markup
http://freetds.cvs.sourceforge.net/freetds/freetds/include/Makefile.am?r
1=1.33&r2=1.34
http://freetds.cvs.sourceforge.net/freetds/freetds/src/odbc/error.c?r1=1
.51&r2=1.52

freddy77



More information about the FreeTDS mailing list