Re: help debugging segfault

"Mark A. Hershberger" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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
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.