[PHP-DEV] odbc_columns()

2001-01-22 Thread szii
Yo ho hoodbc_columns() on DB2! Now, it returns a resource ID, as expected but you cannot call odbc_fetch_row() on it or it'll segfault. Hmm.. I filled out a report on this, since I cracked open the php_odbc.c file and verified that all the data's coming back from DB2, and that the bindcols(

[PHP-DEV] odbc_columns() and DB2

2001-01-18 Thread szii
Okay, here's the problemo. I make a connection to the DB2 database, and run an odbc_tables() call on it. No problem. I run an odbc_columns() on it just fine. Now I call a SECOND odbc_columns() (on a different table) and get a SIGSEGV and a core dump. *blink* I cracked open php_odbc.c and p