~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/haildb/haildb_engine.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-22 14:19:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2347.
  • Revision ID: olafvdspek@gmail.com-20110622141944-na0vb0uv30n6u55z
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
2298
2298
          (**blobroot).init();
2299
2299
        }
2300
2300
 
2301
 
        unsigned char *blob_ptr= (unsigned char*)(**blobroot).alloc_root(length);
 
2301
        unsigned char *blob_ptr= (unsigned char*)(*blobroot)->alloc(length);
2302
2302
        memcpy(blob_ptr, ib_col_get_value(tuple, colnr), length);
2303
2303
        (reinterpret_cast<Field_blob*>(*field))->set_ptr(length, blob_ptr);
2304
2304
      }