On Friday 08 November 2002 16:34, Brian Kolaci wrote:
>   > > Well...here's a patch for mysql.  I guess the default op value should
>   > > be chosen wisely, but I think that the != will hopefully force people
>   > > to set the op field instead of ignoring it.
>   > >
>   > > Kevin Bonner
>   >
>   > d'oh!  sorry for posting a patch to the users list....
>   >
>   > Kevin
>
> I don't think you should put a default.  Just set the
> column to NOT NULL, and force them to enter a value.  Let the
> SQL INSERT fail if they don't provide one.
>
> Brian

I believe mysql defaults to an empty string of no default is set.  Try running 
this on your sql server:

show create table radcheck;

That will show defaults, even though you didn't set defaults.

Kevin

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to