Diff for /parser3/src/classes/table.C between versions 1.95 and 1.96

version 1.95, 2001/07/25 10:43:14 version 1.96, 2001/07/25 11:22:46
Line 648  static void _sql(Request& r, const Strin Line 648  static void _sql(Request& r, const Strin
                 PTHROW(rethrow_me.type(), rethrow_me.code(),                   PTHROW(rethrow_me.type(), rethrow_me.code(), 
                         &statement_string, // setting more specific source [were url]                          &statement_string, // setting more specific source [were url]
                         rethrow_me.comment());                          rethrow_me.comment());
           
         if(!handlers.table)          Table *result=
                 PTHROW(0, 0,                   handlers.table?handlers.table: // query resulted in table? return it
                         &statement_string,                   new(pool) Table(pool, &method_name, 0); // query returned no table, fake it
                         "no table result");  
   
         // replace any previous table value          // replace any previous table value
         static_cast<VTable *>(r.self)->set_table(*handlers.table);          static_cast<VTable *>(r.self)->set_table(*result);
 }  }
   
 static void _dir(Request& r, const String& method_name, MethodParams *params) {  static void _dir(Request& r, const String& method_name, MethodParams *params) {

Removed from v.1.95  
changed lines
  Added in v.1.96


E-mail: