--- parser3/src/classes/void.C 2011/05/19 06:58:40 1.49 +++ parser3/src/classes/void.C 2015/10/26 01:21:55 1.52 @@ -1,12 +1,10 @@ /** @file Parser: @b VOID parser class. - Copyright (c) 2001-2009 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_VOID_C="$Date: 2011/05/19 06:58:40 $"; - #include "classes.h" #include "pa_vmethod_frame.h" @@ -14,6 +12,8 @@ static const char * const IDENT_VOID_C=" #include "pa_vvoid.h" #include "pa_sql_connection.h" +volatile const char * IDENT_VOID_C="$Id: void.C,v 1.52 2015/10/26 01:21:55 moko Exp $"; + // externs extern String sql_bind_name; @@ -56,7 +56,7 @@ static void _sql(Request& r, MethodParam HashStringValue* bind=0; if(params.count()>1) - if(HashStringValue* options=params.as_hash(1)) { + if(HashStringValue* options=params.as_hash(1, "sql options")) { int valid_options=0; if(Value* vbind=options->get(sql_bind_name)) { valid_options++;