--- parser3/src/classes/table.C 2004/07/29 18:02:38 1.206 +++ parser3/src/classes/table.C 2005/06/06 08:45:11 1.208 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_TABLE_C="$Date: 2004/07/29 18:02:38 $"; +static const char * const IDENT_TABLE_C="$Date: 2005/06/06 08:45:11 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -658,6 +658,8 @@ static void _hash(Request& r, MethodPara int saved_current=self_table.current(); self_table.for_each(table_row_to_hash, &info); self_table.set_current(saved_current); + + result.extract_default(); } } r.write_no_lang(result); @@ -979,7 +981,7 @@ static void _sql(Request& r, MethodParam #endif r.connection()->query( statement_cstr, - 0, 0, + placeholders_count, placeholders, offset, limit, handlers, statement_string);