Diff for /parser3/src/classes/void.C between versions 1.14 and 1.17

version 1.14, 2002/01/16 10:28:34 version 1.17, 2002/03/27 15:30:34
Line 1 Line 1
 /** @file  /** @file
         Parser: @b VOID parser class.          Parser: @b VOID parser class.
   
         Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com)
         Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
   
         $Id$          $Id$
 */  */
Line 52  public: Line 52  public:
         void add_column(void *ptr, size_t size) { /* ignore */ }          void add_column(void *ptr, size_t size) { /* ignore */ }
         void before_rows() {          void before_rows() {
                 // there are some result rows, which is wrong                  // there are some result rows, which is wrong
                 throw Exception(0, 0,                  throw Exception("parser.runtime",
                         &statement_string,                          &statement_string,
                         "must return nothing");                          "must return nothing");
         }          }
Line 80  static void _sql(Request& r, const Strin Line 80  static void _sql(Request& r, const Strin
                         handlers);                          handlers);
         } catch(const Exception& e) {          } catch(const Exception& e) {
                 // more specific source [were url]                  // more specific source [were url]
                 throw Exception(e.type(), e.code(),                  throw Exception("sql.execute", 
                         &statement_string,                           &statement_string, 
                         "%s", e.comment());                          "%s", e.comment());
         }          }

Removed from v.1.14  
changed lines
  Added in v.1.17


E-mail: