Microsoft ODBC bug
Dom Latter
freeradius-users at latter.org
Tue Jun 25 15:13:47 CEST 2019
On 21/06/2019 15:29, Herwin Weststrate wrote:
>
> Out of curiosity, does -999 work, and does -1000 fail?
Yes:
(9) Executing select query: SELECT -999
(9) EXPAND %{sql:SELECT -999 }
(9) --> -999
(9) My-Int := 4294966297
(9) Executing select query: SELECT -1000
rlm_sql_unixodbc: 22003 [Microsoft][ODBC Driver 17 for SQL
Server]Numeric value out of range
(9) ERROR: Error fetching row
(9) ERROR: Unknown error
(9) ERROR: SQL query failed: <INVALID>
(9) EXPAND %{sql:SELECT -1000 }
(9) -->
(9) My-Int := 0
More information about the Freeradius-Users
mailing list