Diff for /parser3/src/classes/table.C between versions 1.300 and 1.302

version 1.300, 2013/10/17 22:07:23 version 1.302, 2015/04/06 22:27:25
Line 185  static void _create(Request& r, MethodPa Line 185  static void _create(Request& r, MethodPa
         // data          // data
         Temp_lang temp_lang(r, String::L_PASS_APPENDED);          Temp_lang temp_lang(r, String::L_PASS_APPENDED);
         const String&  data=          const String&  data=
                 r.process_to_string(params.as_junction(data_param_index, "body must be code"));                  r.process_to_string(params.as_junction(data_param_index, "body must be table or code"));
   
         // parse columns          // parse columns
         size_t raw_pos_after=0;          size_t raw_pos_after=0;
Line 1264  static void marshal_bind( Line 1264  static void marshal_bind(
 // not static, used elsewhere  // not static, used elsewhere
 int marshal_binds(HashStringValue& hash, SQL_Driver::Placeholder*& placeholders) {  int marshal_binds(HashStringValue& hash, SQL_Driver::Placeholder*& placeholders) {
         int hash_count=hash.count();          int hash_count=hash.count();
         placeholders=new(UseGC) SQL_Driver::Placeholder[hash_count];          placeholders=new SQL_Driver::Placeholder[hash_count];
         SQL_Driver::Placeholder* ptr=placeholders;          SQL_Driver::Placeholder* ptr=placeholders;
         hash.for_each<SQL_Driver::Placeholder**>(marshal_bind, &ptr);          hash.for_each<SQL_Driver::Placeholder**>(marshal_bind, &ptr);
         return hash_count;          return hash_count;

Removed from v.1.300  
changed lines
  Added in v.1.302


E-mail: