Re: rlm_sql: Bug in stripping output of dynamic strings {sql:...}

2007-04-16 Thread Milan Holub
Hi Alan, On Sat, Apr 14, 2007 at 03:26:11AM +0200, Alan DeKok wrote: Milan Holub wrote: Unfortunately I'm getting the output stripped by last character(byte): instead of getting 37 for session_count I get 3, instead of getting 1563 for noresetcounterflat I get 156, instead of getting S3H

rlm_sql: Bug in stripping output of dynamic strings {sql:...}

2007-04-13 Thread Milan Holub
Hi all, - latest CVS head - mysql Ver 14.7 Distrib 4.1.8, for pc-linux-gnu (i386) - FreeRADIUS Version 2.0.0-pre0, for host i386-pc-linux-gnu, built on Apr 13 2007 at 10:11:51 I'm using dynamic variables like {sql:sql statement} throughout my configuration to fetch data from the DB. For

Re: rlm_sql: Bug in stripping output of dynamic strings {sql:...}

2007-04-13 Thread Alan DeKok
Milan Holub wrote: Unfortunately I'm getting the output stripped by last character(byte): instead of getting 37 for session_count I get 3, instead of getting 1563 for noresetcounterflat I get 156, instead of getting S3H for product_code I get S3. When the query returns 1 character I get empty