~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Olaf van der Spek
  • Date: 2011-02-21 21:45:55 UTC
  • mto: (2190.1.2 drizzle-build)
  • mto: This revision was merged to the branch mainline in revision 2191.
  • Revision ID: olafvdspek@gmail.com-20110221214555-ryzxlqrw5tm1ypp1
Remove register keyword

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;