~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

  • Committer: Brian Aker
  • Date: 2010-02-13 01:51:43 UTC
  • mto: (1273.16.5 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: brian@gaz-20100213015143-v5fp4ajw93w145pt
Fixes a memory leak. sql_string() sucks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
int wild_case_compare(const CHARSET_INFO * const cs, const char *str, const char *wildstr)
77
77
{
78
78
  register int flag;
 
79
 
79
80
  while (*wildstr)
80
81
  {
81
82
    while (*wildstr && *wildstr != internal::wild_many && *wildstr != internal::wild_one)
116
117
      return (1);
117
118
    }
118
119
  }
 
120
 
119
121
  return (*str != '\0');
120
122
}
121
123