~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/find_in_set.cc

  • Committer: pcrews
  • Date: 2011-05-24 17:36:24 UTC
  • mfrom: (1099.4.232 drizzle)
  • Revision ID: pcrews@lucid32-20110524173624-mwr1bvq6fa1r01ao
Updated translations + 2011.05.18 tarball tag

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include "config.h"
 
20
#include <config.h>
21
21
 
22
 
#include <drizzled/charset_info.h>
 
22
#include <drizzled/charset.h>
23
23
#include <drizzled/function/find_in_set.h>
24
24
 
25
25
/* Search after a string in a string of strings separated by ',' */
65
65
  if ((diff=buffer->length() - find->length()) >= 0)
66
66
  {
67
67
    my_wc_t wc;
68
 
    const CHARSET_INFO * const cs= cmp_collation.collation;
 
68
    const charset_info_st * const cs= cmp_collation.collation;
69
69
    const char *str_begin= buffer->ptr();
70
70
    const char *str_end= buffer->ptr();
71
71
    const char *real_end= str_end+buffer->length();