Diff for /parser3/src/classes/void.C between versions 1.44 and 1.46

version 1.44, 2009/07/06 12:13:30 version 1.46, 2010/07/05 05:54:46
Line 108  static void _sql(Request& r, MethodParam Line 108  static void _sql(Request& r, MethodParam
                                         bind=vbind->get_hash();                                          bind=vbind->get_hash();
                                 }                                  }
                                 if(valid_options!=options->count())                                  if(valid_options!=options->count())
                                         throw Exception(PARSER_RUNTIME,                                          throw Exception(PARSER_RUNTIME, 0, CALLED_WITH_INVALID_OPTION);
                                                 0,  
                                                 "called with invalid option");  
                         } else                          } else
                                 throw Exception(PARSER_RUNTIME,                                  throw Exception(PARSER_RUNTIME, 0, OPTIONS_MUST_BE_HASH);
                                         0,  
                                         "options must be hash");  
         }          }
   
         SQL_Driver::Placeholder* placeholders=0;          SQL_Driver::Placeholder* placeholders=0;
Line 124  static void _sql(Request& r, MethodParam Line 120  static void _sql(Request& r, MethodParam
   
         Temp_lang temp_lang(r, String::L_SQL);          Temp_lang temp_lang(r, String::L_SQL);
         const String& statement_string=r.process_to_string(statement);          const String& statement_string=r.process_to_string(statement);
         const char* statement_cstr=statement_string.untaint_cstr(String::L_AS_IS, r.connection());          const char* statement_cstr=statement_string.untaint_cstr(r.flang, r.connection());
   
         Void_sql_event_handlers handlers(statement_string);          Void_sql_event_handlers handlers(statement_string);
         r.connection()->query(          r.connection()->query(

Removed from v.1.44  
changed lines
  Added in v.1.46


E-mail: