~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/mf_wcomp.cc

  • Committer: Stewart Smith
  • Date: 2011-02-24 07:46:16 UTC
  • mto: (2200.1.2 drizzle-staging)
  • mto: This revision was merged to the branch mainline in revision 2201.
  • Revision ID: stewart@flamingspork.com-20110224074616-l2rmp406vf78x71q
add ER_NO_LOCK_HELD error code, and expect it in case of UNLOCK TABLES without any locks held.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/* Funktions for comparing with wild-cards */
17
17
 
18
 
#include "config.h"
 
18
#include <config.h>
19
19
 
20
 
#include "drizzled/internal/my_sys.h"
 
20
#include <drizzled/internal/my_sys.h>
21
21
 
22
22
namespace drizzled
23
23
{
31
31
char wild_one='_';
32
32
char wild_prefix= '\\';
33
33
 
34
 
int wild_compare(register const char *str, register const char *wildstr,
35
 
                 bool str_is_pattern)
 
34
int wild_compare(const char *str, const char *wildstr, bool str_is_pattern)
36
35
{
37
36
  char cmp;
38
37