~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/table.cc

  • Committer: Brian Aker
  • Date: 2008-07-09 01:20:21 UTC
  • Revision ID: brian@tangent.org-20080709012021-xov711r1a8016x8g
Tablespace removal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
765
765
        uint format_section_len= uint2korr(next_chunk+0);
766
766
        uint flags=              uint4korr(next_chunk+2);
767
767
 
768
 
        const char *tablespace= (const char*)next_chunk + format_section_header_size;
769
 
        uint tablespace_len= strlen(tablespace);
770
 
        if (tablespace_len != 0) 
771
 
        {
772
 
          share->tablespace= (char *) alloc_root(&share->mem_root,
773
 
                                                 tablespace_len+1);
774
 
          strxmov(share->tablespace, tablespace, NullS);
775
 
        }
776
 
        else
777
 
          share->tablespace= NULL;
 
768
        share->tablespace= NULL;
778
769
 
779
 
        field_extra_info= next_chunk + format_section_header_size + tablespace_len + 1;
 
770
        field_extra_info= next_chunk + format_section_header_size + 1;
780
771
        next_chunk+= format_section_len;
781
772
      }
782
773
    }