|
|
| version 1.373, 2024/11/16 23:13:22 | version 1.375, 2024/12/06 22:03:58 |
|---|---|
| Line 638 static void _save(Request& r, MethodPara | Line 638 static void _save(Request& r, MethodPara |
| else | else |
| --param_index; | --param_index; |
| const String& file_name=params.as_string(param_index++, FILE_NAME_MUST_NOT_BE_CODE); | const String& file_name=params.as_string(param_index++, FILE_NAME_MUST_BE_STRING); |
| String file_spec=r.full_disk_path(file_name); | String file_spec=r.full_disk_path(file_name); |
| if(do_append && file_exist(file_spec)) | if(do_append && file_exist(file_spec)) |
| Line 1001 static void _hash(Request& r, MethodPara | Line 1001 static void _hash(Request& r, MethodPara |
| }; | }; |
| info.key_field=(info.key_code ? -1 : self_table.column_name2index(key_param->as_string(), true)); | info.key_field=(info.key_code ? -1 : self_table.column_name2index(key_param->as_string(), true)); |
| self_table.for_each(table_row_to_hash, &info); | Temp_current tc(self_table); |
| for(Table::RobustIterator i(self_table); i; i.next()) { | |
| table_row_to_hash(i.value(), &info); | |
| } | |
| result.extract_default(); | result.extract_default(); |
| Line 1032 static void _array(Request& r, MethodPar | Line 1035 static void _array(Request& r, MethodPar |
| } | } |
| } | } |
| for(Table::Iterator i(table); i; i.next()) { | Temp_current tc(table); |
| for(Table::RobustIterator i(table); i; i.next()) { | |
| switch(value_type) { | switch(value_type) { |
| case C_STRING: { | case C_STRING: { |
| size_t index=value_fields.get(0); | size_t index=value_fields.get(0); |