--- parser3/src/classes/hash.C 2003/02/04 14:12:41 1.54.2.4 +++ parser3/src/classes/hash.C 2003/02/04 15:15:01 1.54.2.5 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_HASH_C="$Date: 2003/02/04 14:12:41 $"; +static const char* IDENT_HASH_C="$Date: 2003/02/04 15:15:01 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -65,7 +65,7 @@ public: bool before_rows(SQL_Error& error) { if(columns.size()<=1) { error=SQL_Error("parser.runtime", - &method_name, + method_name, "column count must be more than 1 to create a hash"); return true; } @@ -242,11 +242,11 @@ static void _sql(Request& r, StringPtr m } if(valid_options!=options->size()) throw Exception("parser.runtime", - &method_name, + method_name, "called with invalid option"); } else throw Exception("parser.runtime", - &method_name, + method_name, "options must be hash"); } @@ -280,7 +280,7 @@ static void _keys(Request& r, StringPtr Array& columns=*new(pool) Array(pool); columns+=new(pool) String(pool, "key"); - Table& table=*new(pool) Table(pool, &method_name, &columns); + Table& table=*new(pool) Table(pool, method_name, &columns); static_cast(r.get_self())->hash(&method_name).for_each(keys_collector, &table);