~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_log.c

  • Committer: Monty Taylor
  • Date: 2008-07-16 19:10:24 UTC
  • mfrom: (51.1.127 remove-dbug)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: monty@inaugust.com-20080716191024-prjgoh7fbri7rx26
MergedĀ fromĀ remove-dbug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
{
33
33
  int error=0;
34
34
  char buff[FN_REFLEN];
35
 
  DBUG_ENTER("mi_log");
36
35
 
37
36
  log_type=activate_log;
38
37
  if (activate_log)
45
44
                                                "",".log",4),
46
45
                                      0,(O_RDWR | O_BINARY | O_APPEND),MYF(0)))
47
46
          < 0)
48
 
        DBUG_RETURN(my_errno);
 
47
        return(my_errno);
49
48
    }
50
49
  }
51
50
  else if (myisam_log_file >= 0)
53
52
    error=my_close(myisam_log_file,MYF(0)) ? my_errno : 0 ;
54
53
    myisam_log_file= -1;
55
54
  }
56
 
  DBUG_RETURN(error);
 
55
  return(error);
57
56
}
58
57
 
59
58