Re: Want to use fast forward cursors (SQL_CO_FFO) and MARS

"ZIGLIO, Frediano, VF-IT" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
> 
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.