Diff for /parser3/src/classes/table.C between versions 1.270 and 1.271

version 1.270, 2009/11/11 02:26:04 version 1.271, 2010/05/16 22:12:50
Line 685  static void table_row_to_hash(Table::ele Line 685  static void table_row_to_hash(Table::ele
         bool exist=false;          bool exist=false;
         switch(info->value_type) {          switch(info->value_type) {
                 case C_STRING: {                  case C_STRING: {
                         exist=info->hash->put_dont_replace(*key, new VString(*row->get(info->value_fields->get(0))));                          size_t index=info->value_fields->get(0);
                           exist=info->hash->put_dont_replace(*key, (index < row->count()) ? new VString(*row->get(index)) : new VString());
                         break;                          break;
                 }                  }
                 case C_HASH: {                  case C_HASH: {

Removed from v.1.270  
changed lines
  Added in v.1.271


E-mail: