Skip to Content.
Sympa Menu

freetds - Re: [freetds] freetds 0.6.4 breaks compatibility

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: entropy AT freetds.org
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] freetds 0.6.4 breaks compatibility
  • Date: Tue, 15 Aug 2006 19:22:36 -0400

Norbert Sendetzky wrote:

After upgrading from freetds 0.6.3 to 0.6.4 applications using libsybdb and compiled against 0.6.3 stopped working. The problem is that this release have broken binary compatibility by replacing the dbopen() function by a macro and therefore dbopen isn't available any more in the library.

I consider this a serious issue and would like to suggest using one line functions calling the real function instead of using #defines.

You're mistaken, nothing changed in 0.64 (not 0.6.4) that would affect this. The "missing" dbopen is intentional, to avoid a collision with the function of the same name in Berkeley DB.

Apparently your FreeTDS 0.63 (not 0.6.3) was configured using the --enable-sybase-compat flag. If you want 0.64 to have the dbopen symbol, then you just need to configure it the same way.

--
Cheers,
entropy




Archive powered by MHonArc 2.6.24.

Top of Page