~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_fn_ext.c

  • Committer: Jay Pipes
  • Date: 2008-07-17 17:44:14 UTC
  • mfrom: (177 drizzle)
  • mto: This revision was merged to the branch mainline in revision 182.
  • Revision ID: jay@mysql.com-20080717174414-sm1e9agb2fjw2ncz
Merged in from trunk.

Made following changes:

libdrizzle/
  client.c
  * Removed DBUG symbols entirely
  * Removed mysql_debug() calls and command line options
  libdrizzle.c
  * Removed DBUG symbols
include/my_sys.h
  * Removed MY_DONT_FREE_DBUG symbol (used in my_end())
mysys/my_init.h
  * Removed MY_DONT_FREE_DBUG symbol (used in my_end())

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
char *fn_ext(const char *name)
37
37
{
38
38
  register const char *pos, *gpos;
 
39
  DBUG_ENTER("fn_ext");
 
40
  DBUG_PRINT("mfunkt",("name: '%s'",name));
39
41
 
40
42
#if defined(FN_DEVCHAR) || defined(FN_C_AFTER_DIR) || defined(BASKSLASH_MBTAIL)
41
43
  {
48
50
    gpos= name;
49
51
#endif
50
52
  pos=strchr(gpos,FN_EXTCHAR);
51
 
  return((char*) (pos ? pos : strend(gpos)));
 
53
  DBUG_RETURN((char*) (pos ? pos : strend(gpos)));
52
54
} /* fn_ext */