Diff for /parser3/src/classes/table.C between versions 1.339 and 1.340

version 1.339, 2016/12/26 20:04:05 version 1.340, 2016/12/26 20:37:53
Line 986  static void _hash(Request& r, MethodPara Line 986  static void _hash(Request& r, MethodPara
                                         throw Exception(PARSER_RUNTIME, 0, "value field(s) must be string or table or code");                                          throw Exception(PARSER_RUNTIME, 0, "value field(s) must be string or table or code");
                         }                          }
   
                         if(value_type==C_STRING && value_fields.count()!=1)                          if(value_type==C_STRING && value_fields.count()>1)
                                 throw Exception(PARSER_RUNTIME, 0, "you can specify only one value field with option $.type[string]");                                  throw Exception(PARSER_RUNTIME, 0, "you can't specify more then one value field with option $.type[string]");
   
                         {                          {
                                 Value* key_param=&params[0];                                  Value* key_param=&params[0];

Removed from v.1.339  
changed lines
  Added in v.1.340


E-mail: