~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_wcomp.cc

Reworked getTableNames() interface. Way simpler, less mallocs....

Added a straight vector<> for use with storage engines.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
/* Funktions for comparing with wild-cards */
17
17
 
18
 
#include "config.h"
19
 
 
20
 
#include "drizzled/internal/my_sys.h"
21
 
 
22
 
namespace drizzled
23
 
{
24
 
namespace internal
25
 
{
 
18
#include "mysys/mysys_priv.h"
26
19
 
27
20
        /* Test if a string is "comparable" to a wild-card string */
28
21
        /* returns 0 if the strings are "comparable" */
93
86
  }
94
87
  return (*str != 0);
95
88
} /* wild_compare */
96
 
 
97
 
} /* namespace internal */
98
 
} /* namespace drizzled */