--- parser3/src/classes/table.C 2003/11/25 15:41:57 1.194 +++ parser3/src/classes/table.C 2004/02/11 15:33:13 1.196 @@ -1,11 +1,11 @@ /** @file Parser: @b table parser class. - Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_TABLE_C="$Date: 2003/11/25 15:41:57 $"; +static const char * const IDENT_TABLE_C="$Date: 2004/02/11 15:33:13 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -644,13 +644,14 @@ static void _hash(Request& r, MethodPara &r, &self_table, /*key_code=*/key_param->get_junction()?key_param:0, - /*key_field=*/(info.key_code?-1 - :self_table.column_name2index(key_param->as_string(), true)), + /*key_field=*/0, &value_fields, &result.hash(), distinct, /*row=*/0 }; + info.key_field=(info.key_code?-1 + :self_table.column_name2index(key_param->as_string(), true)); int saved_current=self_table.current(); self_table.for_each(table_row_to_hash, &info);