~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/field.cc

  • Committer: Brian Aker
  • Date: 2008-07-26 18:39:33 UTC
  • mfrom: (212.1.3 codestyle)
  • Revision ID: brian@tangent.org-20080726183933-hueup0fcy2zs1hug
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1183
1183
}
1184
1184
 
1185
1185
 
1186
 
my_decimal *Field::val_decimal(my_decimal *decimal __attribute__((__unused__)))
 
1186
my_decimal *Field::val_decimal(my_decimal *decimal __attribute__((unused)))
1187
1187
{
1188
1188
  /* This never have to be called */
1189
1189
  assert(0);
1430
1430
*/
1431
1431
 
1432
1432
int Field::store_time(MYSQL_TIME *ltime,
1433
 
                      timestamp_type type_arg __attribute__((__unused__)))
 
1433
                      timestamp_type type_arg __attribute__((unused)))
1434
1434
{
1435
1435
  char buff[MAX_DATE_STRING_REP_LENGTH];
1436
1436
  uint length= (uint) my_TIME_to_str(ltime, buff);
1969
1969
 
1970
1970
 
1971
1971
int Field_enum::store(int64_t nr,
1972
 
                      bool unsigned_val __attribute__((__unused__)))
 
1972
                      bool unsigned_val __attribute__((unused)))
1973
1973
{
1974
1974
  int error= 0;
1975
1975
  if ((uint64_t) nr > typelib->count || nr == 0)
2280
2280
                        Item *fld_on_update_value, LEX_STRING *fld_comment,
2281
2281
                        char *fld_change, List<String> *fld_interval_list,
2282
2282
                        CHARSET_INFO *fld_charset,
2283
 
                        uint fld_geom_type __attribute__((__unused__)),
 
2283
                        uint fld_geom_type __attribute__((unused)),
2284
2284
                        enum column_format_type column_format)
2285
2285
{
2286
2286
  uint sign_len, allowed_type_modifier= 0;
2553
2553
}
2554
2554
 
2555
2555
 
2556
 
enum_field_types get_blob_type_from_length(ulong length __attribute__((__unused__)))
 
2556
enum_field_types get_blob_type_from_length(ulong length __attribute__((unused)))
2557
2557
{
2558
2558
  enum_field_types type;
2559
2559