~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_timefunc.h

Merged vcol stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
  }
74
74
  enum_monotonicity_info get_monotonicity_info() const;
75
75
  int64_t val_int_endpoint(bool left_endp, bool *incl_endp);
 
76
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
77
  { return false; }
76
78
};
77
79
 
78
80
 
88
90
    max_length=2*MY_CHARSET_BIN_MB_MAXLEN;
89
91
    maybe_null=1; 
90
92
  }
 
93
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
94
  { return false; }
91
95
};
92
96
 
93
97
 
112
116
    max_length=2*MY_CHARSET_BIN_MB_MAXLEN;
113
117
    maybe_null=1; 
114
118
  }
 
119
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
120
  { return false; }
115
121
};
116
122
 
117
123
 
311
317
    decimals=0;
312
318
    max_length=10*MY_CHARSET_BIN_MB_MAXLEN;
313
319
  }
 
320
  bool check_vcol_func_processor(unsigned char *int_arg  __attribute__((unused)))
 
321
  { return true; }
314
322
};
315
323
 
316
324
 
446
454
  */
447
455
  virtual void store_now_in_TIME(DRIZZLE_TIME *now_time)=0;
448
456
  bool result_as_int64_t() { return true; }
 
457
  bool check_vcol_func_processor(unsigned char *int_arg  __attribute__((unused)))
 
458
  { return true; }
449
459
};
450
460
 
451
461
 
482
492
  void fix_length_and_dec();
483
493
  bool get_date(DRIZZLE_TIME *res, uint32_t fuzzy_date);
484
494
  virtual void store_now_in_TIME(DRIZZLE_TIME *now_time)=0;
 
495
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
496
  { return true; }
485
497
};
486
498
 
487
499
 
522
534
  void fix_length_and_dec();
523
535
  bool get_date(DRIZZLE_TIME *res, uint32_t fuzzy_date);
524
536
  virtual void store_now_in_TIME(DRIZZLE_TIME *now_time)=0;
 
537
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
538
  { return true; }
525
539
};
526
540
 
527
541
 
578
592
  Item_func_from_days(Item *a) :Item_date(a) {}
579
593
  const char *func_name() const { return "from_days"; }
580
594
  bool get_date(DRIZZLE_TIME *res, uint32_t fuzzy_date);
 
595
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
596
  { return false; }
581
597
};
582
598
 
583
599