--- parser3/src/classes/table.C 2001/08/24 06:26:13 1.106 +++ parser3/src/classes/table.C 2001/08/31 09:26:12 1.108 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) */ -static const char *RCSId="$Id: table.C,v 1.106 2001/08/24 06:26:13 parser Exp $"; +static const char *RCSId="$Id: table.C,v 1.108 2001/08/31 09:26:12 parser Exp $"; #include "classes.h" #include "pa_config_includes.h" @@ -118,7 +118,9 @@ static void _load(Request& r, const Stri cell->APPEND_TAINTED(cell_chars, 0, file, line); *row+=cell; } +#ifndef NO_STRING_ORIGIN line++; +#endif table+=row; }; @@ -634,7 +636,7 @@ static void _sql(Request& r, const Strin Table_sql_event_handlers handlers(pool, method_name, statement_string, statement_cstr); bool need_rethrow=false; Exception rethrow_me; - PTRY { + PTRY { r.connection->query( statement_cstr, offset, limit, handlers);