~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Replaced the use of __attribute__((unused)) with my own macro.

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
        virtual void unuse() { }
170
170
        virtual void backupSeqScanInit() { }
171
171
        virtual void seqScanInit() { }
172
 
        virtual bool seqScanNext(char *buf __attribute__((unused))) { return false; }
 
172
        virtual bool seqScanNext(char *buf) { UNUSED(buf); return false; }
173
173
        virtual int     getRefLen() { return 0; }
174
 
        virtual void seqScanPos(uint8_t *pos __attribute__((unused))) { }
175
 
        virtual void seqScanRead(uint8_t *pos __attribute__((unused)), char *buf __attribute__((unused))) { }
176
 
        virtual void insertRow(char *buf __attribute__((unused))) { }
177
 
        virtual void deleteRow(char *buf __attribute__((unused))) {  }
178
 
        virtual void updateRow(char *old_data __attribute__((unused)), char *new_data __attribute__((unused))) { }
 
174
        virtual void seqScanPos(uint8_t *pos) { UNUSED(pos);}
 
175
        virtual void seqScanRead(uint8_t *pos , char *buf) {UNUSED(pos);UNUSED(buf); }
 
176
        virtual void insertRow(char *buf) {UNUSED(buf); }
 
177
        virtual void deleteRow(char *buf) {UNUSED(buf);  }
 
178
        virtual void updateRow(char *old_data, char *new_data) {UNUSED(old_data);UNUSED(new_data); }
179
179
/*      
180
180
        virtual void index_init(uint8_t idx) { }
181
181
        virtual void index_end() { }