|
|
| version 1.161, 2002/09/17 08:44:45 | version 1.162, 2002/09/17 09:30:06 |
|---|---|
| Line 317 static void table_row_to_hash(Array::Ite | Line 317 static void table_row_to_hash(Array::Ite |
| new(pool) VString(*row.get_string(value_field))); | new(pool) VString(*row.get_string(value_field))); |
| } | } |
| ri.hash->put(*row.get_string(ri.key_field), &result); | const String& key=*row.get_string(ri.key_field); |
| if(ri.hash->put_dont_replace(key, &result)) // put. existed? | |
| throw Exception("parser.runtime", | |
| &key, | |
| "duplicate key"); | |
| } | } |
| } | } |
| static void _hash(Request& r, const String& method_name, MethodParams *params) { | static void _hash(Request& r, const String& method_name, MethodParams *params) { |