~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/str/replace.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
  uint32_t from_length,to_length;
44
44
  bool alloced=0;
45
45
  const char *ptr,*end,*strend,*search,*search_end;
46
 
  register uint32_t l;
 
46
  uint32_t l;
47
47
  bool binary_cmp;
48
48
 
49
49
  null_value=0;
80
80
    {
81
81
        if (*ptr == *search)
82
82
        {
83
 
          register char *i,*j;
 
83
          char *i,*j;
84
84
          i=(char*) ptr+1; j=(char*) search+1;
85
85
          while (j != search_end)
86
86
            if (*i++ != *j++) goto skip;