Skip to Content.
Sympa Menu

freetds - Re: [freetds] help debugging segfault

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Mark A. Hershberger" <mah AT everybody.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] help debugging segfault
  • Date: Mon, 04 Mar 2013 10:53:24 -0500

On 03/04/2013 03:10 AM, Frediano Ziglio wrote:
> /* allow double quoted indentifiers */
> DBSETOPT(H->link, DBQUOTEDIDENT, 1);
>
> PHP pass a number as a pointer to string!

Thank you! This fixed it.

Now, the error messages returned from by PHP are useless. I'll look for
a way to fix this, but right now I get the following:

Error: [HY000] General SQL Server error: Check messages from the SQL
Server [102] (severity 15) [sql here here with a MySQL create table]

The relevant line in the debug log is:

(dbutil.c:86):msgno 102: "Incorrect syntax near 'AUTO_INCREMENT'."

I'll try to get this fixed, but if you have any suggestions, I'm open!

Thanks again!

--
http://hexmode.com/

Many that live deserve death. And some that die deserve life. Can you
give it to them? Then do not be too eager to deal out death in
judgment. For even the very wise cannot see all ends.
-- J.R.R. Tolkien, The Fellowship of the Ring




Archive powered by MHonArc 2.6.24.

Top of Page