~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_init.c

  • Committer: Brian Aker
  • Date: 2008-07-13 18:27:33 UTC
  • Revision ID: brian@tangent.org-20080713182733-3u1et5nrmofi8a8n
my_bool cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include <m_ctype.h>
21
21
#include <signal.h>
22
22
 
23
 
my_bool my_init_done= 0;
 
23
bool my_init_done= 0;
24
24
uint    mysys_usage_id= 0;              /* Incremented for each my_init() */
25
25
ulong   my_thread_stack_size= 65536;
26
26
 
47
47
    1  Couldn't initialize environment
48
48
*/
49
49
 
50
 
my_bool my_init(void)
 
50
bool my_init(void)
51
51
{
52
52
  char * str;
53
53
  if (my_init_done)
99
99
    optimized until this compiler is not in use anymore
100
100
  */
101
101
  FILE *info_file= DBUG_FILE;
102
 
  my_bool print_info= (info_file != stderr);
 
102
  bool print_info= (info_file != stderr);
103
103
  /*
104
104
    We do not use DBUG_ENTER here, as after cleanup DBUG is no longer
105
105
    operational, so we cannot use DBUG_RETURN.