~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump.c

Merged in Jay's tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
static char **defaults_argv= 0;
113
113
static char compatible_mode_normal_str[255];
114
114
/* Server supports character_set_results session variable? */
115
 
static bool server_supports_switching_charsets= TRUE;
 
115
static bool server_supports_switching_charsets= true;
116
116
static ulong opt_compatible_mode= 0;
117
117
#define MYSQL_OPT_MASTER_DATA_EFFECTIVE_SQL 1
118
118
#define MYSQL_OPT_MASTER_DATA_COMMENTED_SQL 2
1024
1024
 
1025
1025
  /* Server lacks facility.  This is not an error, by arbitrary decision . */
1026
1026
  if (!server_supports_switching_charsets)
1027
 
    return FALSE;
 
1027
    return false;
1028
1028
 
1029
1029
  query_length= snprintf(query_buffer,
1030
1030
                         sizeof (query_buffer),
1115
1115
    opt_set_charset= 0;
1116
1116
 
1117
1117
    /* Don't switch charsets for 4.1 and earlier.  (bug#34192). */
1118
 
    server_supports_switching_charsets= FALSE;
 
1118
    server_supports_switching_charsets= false;
1119
1119
  } 
1120
1120
  /*
1121
1121
    set time_zone to UTC to allow dumping date types between servers with
3212
3212
 
3213
3213
  Check if we the table is one of the table types that should be ignored:
3214
3214
  MRG_ISAM, MRG_MYISAM, if opt_delayed, if that table supports delayed inserts.
3215
 
  If the table should be altogether ignored, it returns a TRUE, FALSE if it
 
3215
  If the table should be altogether ignored, it returns a true, false if it
3216
3216
  should not be ignored. If the user has selected to use INSERT DELAYED, it
3217
3217
  sets the value of the bool pointer supports_delayed_inserts to 0 if not
3218
3218
  supported, 1 if it is supported.