src/cats/sql.c
static int max_length(int max_length) 
{ 
   int max_len = max_length; 
   /* Sanity check */ 
   if (max_len < 0) { 
      max_len = 2; 
   } else if (max_len > 100) { 
      max_len = 100; 
   } 
   return max_len; 
}
/* 
 * Set maximum field length to something reasonable 
 */
Set maximum field length to something reasonable
Set maximum field length to something reasonable
static int max_length(int max_length) 
{ 
   int max_len = max_length; 
   if (max_len < 0) { 
      max_len = 2; 
   } else if (max_len > 100) { 
      max_len = 100; 
   } 
   return max_len; 
}
static int max_length ( int max_length ) { int max_len = max_length ; if ( max_len < 0 ) { max_len = 2 ; } else if ( max_len > 100 ) { max_len = 100 ; } return max_len ; }
Set maximum field length to something reasonable
Set maximum field length to something reasonable
/* Sanity check */