Increase default query length to 2048.
authorAlan T. DeKok <aland@freeradius.org>
Thu, 24 Sep 2015 14:34:58 +0000 (10:34 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 24 Sep 2015 14:34:58 +0000 (10:34 -0400)
In 3.1, this restriction should be removed entirely

src/modules/rlm_sqlcounter/rlm_sqlcounter.c

index 5e9d9a0..063bbed 100644 (file)
@@ -30,7 +30,7 @@ RCSID("$Id$")
 
 #include <ctype.h>
 
-#define MAX_QUERY_LEN 1024
+#define MAX_QUERY_LEN 2048
 
 /*
  *     Note: When your counter spans more than 1 period (ie 3 months