Ignore:
Timestamp:
2008-05-22T16:07:46+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) Moved the exists() function into dbclass because it can be shared between gdbmclass and sqlitedbclass.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/lib/gdbmclass.cpp

    r15651 r15652  
    112112  // free up the key memory
    113113  delete []key_data.dptr;
    114 }
    115 
    116 
    117 // returns true if exists
    118 bool gdbmclass::exists (const text_t& key)
    119 {
    120   text_t data;
    121   return getkeydata (key, data);
    122114}
    123115
Note: See TracChangeset for help on using the changeset viewer.