~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/csv/ha_tina.cc

  • Committer: Brian Aker
  • Date: 2010-04-19 17:51:52 UTC
  • Revision ID: brian@gaz-20100419175152-lar9fncw9vhhav0d
Updates to confine memroot

Show diffs side-by-side

added added

removed removed

Lines of Context:
803
803
        memcpy(&src, blob->ptr + packlength, sizeof(char*));
804
804
        if (src)
805
805
        {
806
 
          tgt= (unsigned char*) alloc_root(&blobroot, length);
 
806
          tgt= (unsigned char*) blobroot.alloc_root(length);
807
807
          memmove(tgt, src, length);
808
808
          memcpy(blob->ptr + packlength, &tgt, sizeof(char*));
809
809
        }