Skip to Content.
Sympa Menu

freetds - Re: set textsize 1048576 fails

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: set textsize 1048576 fails
  • Date: Tue, 30 Oct 2001 07:52:12 -0500 (EST)


Did you get the ct_res_info portion of the patch installed? It should look
a little something like this:

case CS_NUMDATA:
if (!resinfo) {
int_val = 0;
} else {
int_val = resinfo->num_cols;
}
memcpy(buffer, &int_val, sizeof(CS_INT));
break;
Brian

On Tue, 30 Oct 2001, James Cameron wrote:

> Brian Bruns wrote:
> > I'm going to chew on this for a day or two before I check it in.
>
> Wise move. I'm getting a segfault. ;-)
> Processing the result set from a 'set rowcount 10'
>
> (gdb) bt
> #0 0x422727f0 in ct_res_info () from /usr/lib/libct.so.0
> #1 0x400195a0 in php_if_sybase_select_db ()
> from /usr/lib/php4/extensions/no-debug-non-zts-20001222/sybase_ct.so
> #2 0x40019e69 in php_if_sybase_query ()
> from /usr/lib/php4/extensions/no-debug-non-zts-20001222/sybase_ct.so
> #3 0x80e6aff in execute ()
> #4 0x80e6cfd in execute ()
> #5 0x80ce1fb in zend_execute_scripts ()
> #6 0x8060144 in php_execute_script ()
> #7 0x805e82c in main ()
> #8 0x401526ef in __libc_start_main () from /lib/libc.so.6
>
> Odd that it says it is in sybase_select_db().
>
> 2001-10-30 16:05:59 inside ct_command()
> 2001-10-30 16:05:59 inside ct_send()
> Sending packet @ 2001-10-30 16:05:59
> 0000 01 01 00 17 00 00 00 00 73 65 74 20 72 6f 77 63 |........set
> rowc|
> 0010 6f 75 6e 74 20 31 30 |ount 10|
>
>
> 2001-10-30 16:05:59 inside ct_results()
> Received packet @ 2001-10-30 16:06:00
> 0000 fd 00 00 bd 00 00 00 00 00 |.........|
>
>
> 2001-10-30 16:06:00 processing result tokens. marker is fd
> 2001-10-30 16:06:00 inside ct_res_info()
> [stops]
>
>





Archive powered by MHonArc 2.6.24.

Top of Page