[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: Re: [EXT] Re: Microsoft ODBC bug
From: Brian Julin <BJulin () clarku ! edu>
Date: 2019-06-21 14:31:02
Message-ID: BN7PR03MB3762A0011C22C966E4F4CE89B4E70 () BN7PR03MB3762 ! namprd03 ! prod ! outlook ! com
[Download RAW message or body]
Dom Latter <freeradius-users@latter.org> wrote:
> On 21/06/2019 15:00, Alan DeKok wrote:
> > On Jun 21, 2019, at 8:30 AM, Dom Latter <freeradius-users@latter.org>
wrote:
> >> I think I will now try iodbc instead - anybody here used it?
> >
> > Occasionally, but not recently.
> >
> >> Executing select query: SELECT 10000
> >> rlm_sql_unixodbc: 22003 [Microsoft][ODBC Driver 17 for SQL
Server]Numeric value out of range
> >
> > That's ridiculous.
> >
> > Maybe if it was 256, or 2^16 or 2^31. But a 5-digit number? WTF.
> Indeed. But four digits = four 8 byte characters = 32 bits.
> And five makes 40 bits. Hence by some amazingly flawed logic,
> 9999 is fine, and 10000 is "too big to go in an int".
> And that is the only plausible explanation I can think of.
And here I was thinking 9999 errors were these days the sole province
of fictional computers in the Fallout video game series.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic