~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/events_ms.cc

  • Committer: Mark Atwood
  • Date: 2011-06-22 20:04:22 UTC
  • mfrom: (2318.6.39 rf)
  • Revision ID: me@mark.atwood.name-20110622200422-609npl456o0e5p32
mergeĀ lp:~olafvdspek/drizzle/refactor13

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
                
101
101
                if (length > org_length) {
102
102
                        // This can only happen if the BLOB URL is actually larger than the BLOB itself.
103
 
                        blob = (char *) session.getMemRoot()->allocate(length);
 
103
                        blob = (char *) session.mem.alloc(length);
104
104
                        memcpy(blob_rec+packlength, &blob, sizeof(char*));
105
105
                }                       
106
106
                memcpy(blob, blob_url_buffer.bu_data, length);