~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-08-01 07:57:39 UTC
  • mfrom: (1672.3.7 rollup)
  • Revision ID: brian@gaz-20100801075739-q42e9czjvni5uhu7
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
#if MYSQL_VERSION_ID < 50114
167
167
                curr_field->ptr = (byte *) buf + curr_field->offset();
168
168
#else
169
 
                curr_field->ptr = (byte *) buf + curr_field->offset(curr_field->getTable()->record[0]);
 
169
                curr_field->ptr = (byte *) buf + curr_field->offset(curr_field->getTable()->getInsertRecord());
170
170
#endif
171
171
                switch (curr_field->field_name[0]) {
172
172
                        case 'D':
426
426
        field = (Field_blob *)GET_FIELD(table, 0);
427
427
        
428
428
    /* Get the blob record: */
429
 
    blob_rec= buf + field->offset(table->record[0]);
 
429
    blob_rec= buf + field->offset(table->getInsertRecord());
430
430
    packlength= field->pack_length() - table->s->blob_ptr_size;
431
431
 
432
432
    memcpy(&blob_ptr, blob_rec +packlength, sizeof(char*));