~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.h

  • Committer: lbieber at stabletransit
  • Date: 2010-10-12 00:47:32 UTC
  • mfrom: (1835.1.3 staging)
  • Revision ID: lbieber@drizzle-build-n02.wc1.dfw1.stabletransit.com-20101012004732-icyo88ow1h7rz67p
Merge Brian - Makes the pointer used by the share cache a shared_ptr

Show diffs side-by-side

added added

removed removed

Lines of Context:
380
380
  inline uint32_t sizeBlobFields() { return _share->blob_fields; }
381
381
  inline uint32_t *getBlobField() { return &_share->blob_field[0]; }
382
382
 
 
383
public:
 
384
  virtual bool hasVariableWidth() const
 
385
  {
 
386
    return getShare()->hasVariableWidth(); // We should calculate this.
 
387
  }
 
388
 
 
389
  virtual void setVariableWidth(void);
 
390
 
383
391
  Field_blob *getBlobFieldAt(uint32_t arg) const
384
392
  {
385
393
    if (arg < getShare()->blob_fields)