~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to plugin/pbms/src/system_table_ms.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2011-03-15 10:41:18 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110315104118-eaf0hvlytjdl4zrf
Tags: 2011.03.13-0ubuntu1
* New upstream release.
* Added slave plugin.
* Removed archive, blackhole and blitzdb plugins.
* Moved location of libdrizzle headers.
* Removed drizzleadmin manpage patch.
* Add drizzle_safe_write_string to symbols.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        PRIMARY KEY (Table_name, Blob_id, Column_name, Condition)
65
65
*/
66
66
 
 
67
#pragma once
67
68
#ifndef __SYSTEMTABLE_MS_H__
68
69
#define __SYSTEMTABLE_MS_H__
69
70
 
179
180
        virtual void seqScanInit() { }
180
181
        virtual bool seqScanNext(char *buf) { UNUSED(buf); return false; }
181
182
        virtual int     getRefLen() { return 0; }
182
 
        virtual void seqScanPos(uint8_t *pos) { UNUSED(pos);}
183
 
        virtual void seqScanRead(uint8_t *pos , char *buf) {UNUSED(pos);UNUSED(buf); }
 
183
        virtual void seqScanPos(unsigned char *pos) { UNUSED(pos);}
 
184
        virtual void seqScanRead(unsigned char *pos , char *buf) {UNUSED(pos);UNUSED(buf); }
184
185
        virtual void insertRow(char *buf) {UNUSED(buf); }
185
186
        virtual void deleteRow(char *buf) {UNUSED(buf);  }
186
187
        virtual void updateRow(char *old_data, char *new_data) {UNUSED(old_data);UNUSED(new_data); }
224
225
        virtual void seqScanInit();
225
226
        virtual bool seqScanNext(char *buf);
226
227
        virtual int     getRefLen();
227
 
        virtual void seqScanPos(uint8_t *pos);
 
228
        virtual void seqScanPos(unsigned char *pos);
228
229
        virtual void seqScanRead(uint32_t repo, uint64_t offset, char *buf);
229
 
        virtual void seqScanRead(uint8_t *pos, char *buf);
 
230
        virtual void seqScanRead(unsigned char *pos, char *buf);
230
231
 
231
232
        friend class MSReferenceTable;
232
233
        friend class MSBlobDataTable;
277
278
        void unuse();
278
279
        void seqScanInit();
279
280
        int     getRefLen();
280
 
        void seqScanPos(uint8_t *pos);
 
281
        void seqScanPos(unsigned char *pos);
281
282
        virtual void seqScanRead(uint32_t repo, uint64_t offset, char *buf) { return MSRepositoryTable::seqScanRead(repo, offset, buf);}
282
 
        void seqScanRead(uint8_t *pos, char *buf);
 
283
        void seqScanRead(unsigned char *pos, char *buf);
283
284
        bool seqScanNext(char *buf);
284
285
 
285
286
private:
318
319
        void unuse();
319
320
        void seqScanInit();
320
321
        int     getRefLen();
321
 
        void seqScanPos(uint8_t *pos);
 
322
        void seqScanPos(unsigned char *pos);
322
323
        virtual void seqScanRead(uint32_t repo, uint64_t offset, char *buf) { return MSRepositoryTable::seqScanRead(repo, offset, buf);}
323
 
        void seqScanRead(uint8_t *pos, char *buf);
 
324
        void seqScanRead(unsigned char *pos, char *buf);
324
325
        bool seqScanNext(char *buf);
325
326
        void insertRow(char *buf);
326
327
        void deleteRow(char *buf);