~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/handler/ha_innodb.cc

  • Committer: Brian Aker
  • Date: 2008-09-04 18:16:51 UTC
  • Revision ID: brian@tangent.org-20080904181651-kydoxckk145z99b8
strend remove

Show diffs side-by-side

added added

removed removed

Lines of Context:
2182
2182
 
2183
2183
        /* Scan name from the end */
2184
2184
 
2185
 
        ptr = strend(name)-1;
 
2185
        ptr = strchr(name, '\0')-1;
2186
2186
 
2187
2187
        while (ptr >= name && *ptr != '\\' && *ptr != '/') {
2188
2188
                ptr--;
5158
5158
 
5159
5159
        trx_search_latch_release_if_reserved(parent_trx);
5160
5160
 
5161
 
        ptr = strend(path) - 2;
 
5161
        ptr = strchr(path, '\0') - 2;
5162
5162
 
5163
5163
        while (ptr >= path && *ptr != '\\' && *ptr != '/') {
5164
5164
                ptr--;