--- parser3/src/classes/table.C 2008/05/27 19:01:46 1.243 +++ parser3/src/classes/table.C 2008/07/03 09:17:57 1.245 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_TABLE_C="$Date: 2008/05/27 19:01:46 $"; +static const char * const IDENT_TABLE_C="$Date: 2008/07/03 09:17:57 $"; #ifndef NO_STRINGSTREAM #include @@ -1117,7 +1117,7 @@ static void _sql(Request& r, MethodParam Value& statement=params.as_junction(0, "statement must be code"); HashStringValue* bind=0; - ulong limit=0; + ulong limit=SQL_NO_LIMIT; ulong offset=0; if(params.count()>1) { Value& voptions=params.as_no_junction(1, "options must be hash, not code");