Run time variable in sql

Alexey Dotsenko lex at rwx.su
Mon Mar 26 17:07:06 CEST 2018


On 26.03.2018 17:27, Alan DeKok wrote:

>> But the result string is back-tick quoted too, could it be the 
>> problem?
> 
>   No, that's just an artifact of the debugging.

That's artifact of source code (rlm_sql module - sql.c, string 131 in 
3.0.16 version):

...

		case T_BACK_QUOTED_STRING:
			do_xlat = 1;

			/* FALL-THROUGH */

		/*
		 *	Keep the original string.
		 */
		default:
			value = row[3];
			break;
		}
...

There really "Keep the original" - back-quoted string.

Best regards,
Alex Dotsenko.


More information about the Freeradius-Users mailing list