|
|
| version 1.166, 2002/10/23 09:32:17 | version 1.167, 2002/10/23 10:04:54 |
|---|---|
| Line 311 struct Row_info { | Line 311 struct Row_info { |
| Array *value_fields; | Array *value_fields; |
| Hash *hash; | Hash *hash; |
| bool distinct; | bool distinct; |
| int index; | int row; |
| }; | }; |
| #endif | #endif |
| static void table_row_to_hash(Array::Item *value, void *info) { | static void table_row_to_hash(Array::Item *value, void *info) { |
| Line 321 static void table_row_to_hash(Array::Ite | Line 321 static void table_row_to_hash(Array::Ite |
| const String *key; | const String *key; |
| if(ri.key_code) { | if(ri.key_code) { |
| ri.table->set_current(ri.index++); // change context row | ri.table->set_current(ri.row++); // change context row |
| StringOrValue sv_processed=ri.r->process(*ri.key_code); | StringOrValue sv_processed=ri.r->process(*ri.key_code); |
| key=&sv_processed.as_string(); | key=&sv_processed.as_string(); |
| } else | } else |