Skip to Content.
Sympa Menu

freetds - RE: [freetds] FreeTDS/ODBC still crashing StarOffice-5.2/OpenOffi ce-1.0.1

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'freetds AT lists.ibiblio.org'" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] FreeTDS/ODBC still crashing StarOffice-5.2/OpenOffi ce-1.0.1
  • Date: Wed, 27 Nov 2002 11:04:13 -0500

> From: Martin Spott [mailto:mas AT plesnik.de]
> Sent: November 27, 2002 6:53 AM
>
> has anyone (un)successfully tried FreeTDS/ODBC with
> Star-/OpenOffice ? I
> still get crashing applications. I attached the two FreeTDS/unixODBC
> logfiles

Martin,

The last line in your log is:

odbc:SQLGetInfo: info option 84 not supported

InfoOption 84 is SQL_FILE_USAGE.

I committed a patch, attached, to support this option; it now returns
SQL_FILE_NOT_SUPPORTED, which I believe is correct.

I don't have an odbc driver installed and cannot compile the driver without
the appropriate header files. Please tell us if it works for you.

ODBC hackers: Our SQLGetInfo doesn't respond according to spec when an
unsupported option is requested. The MDAC SDK documentation for it
describes very particular behavior. That might be why OpenOffice crashes.

Details:

SQLGetInfo supports the SQL_FILE_USAGE information type. The returned value
is a 16-bit integer that indicates how the driver directly treats files in a
data source:

* SQL_FILE_NOT_SUPPORTED -- The driver is not a single-tier driver.
* SQL_FILE_TABLE -- A single-tier driver treats files in a data source as
tables.
* SQL_FILE_QUALIFIER -- A single-tier driver treats files in a data source
as a qualifier.

Regards,

--jkl


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.




Attachment: odbc.diff
Description: Binary data



  • RE: [freetds] FreeTDS/ODBC still crashing StarOffice-5.2/OpenOffi ce-1.0.1, Lowden, James K, 11/27/2002

Archive powered by MHonArc 2.6.24.

Top of Page