--- parser3/src/classes/table.C 2005/08/26 12:00:04 1.208.6.3 +++ parser3/src/classes/table.C 2005/08/26 11:12:45 1.211 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_TABLE_C="$Date: 2005/08/26 12:00:04 $"; +static const char * const IDENT_TABLE_C="$Date: 2005/08/26 11:12:45 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -21,7 +21,7 @@ static const char * const IDENT_TABLE_C= class MTable: public Methoded { public: // VStateless_class - Value* create_new_value(Pool&) { return new VTable(); } + Value* create_new_value(Pool&, HashStringValue&) { return new VTable(); } public: MTable(); @@ -73,7 +73,6 @@ static Table::Action_options get_action_ ] but there is ^table.locate[name;value] - ...if(voptions.is_defined() && !voptions.is_string())) if(maybe_options.is_string()) { // allow empty options result.defined=true; return result; @@ -940,7 +939,7 @@ static void _sql(Request& r, MethodParam ulong offset=0; if(params.count()>1) { Value& voptions=params.as_no_junction(1, "options must be hash, not code"); - if(voptions.is_defined() && !voptions.is_string()) + if(!voptions.is_string()) if(HashStringValue* options=voptions.get_hash()) { int valid_options=0; if(Value* vbind=options->get(sql_bind_name)) {