~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_timefunc.h

  • Committer: Monty Taylor
  • Date: 2008-10-13 10:14:09 UTC
  • mfrom: (383.7.6 drizzle-virtual-columns)
  • mto: This revision was merged to the branch mainline in revision 511.
  • Revision ID: monty@inaugust.com-20081013101409-aszm0nonww0f07zd
Merged in Virtual Column work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
  }
70
70
  enum_monotonicity_info get_monotonicity_info() const;
71
71
  int64_t val_int_endpoint(bool left_endp, bool *incl_endp);
 
72
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
73
  { return false; }
72
74
};
73
75
 
74
76
 
84
86
    max_length=2*MY_CHARSET_BIN_MB_MAXLEN;
85
87
    maybe_null=1; 
86
88
  }
 
89
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
90
  { return false; }
87
91
};
88
92
 
89
93
 
108
112
    max_length=2*MY_CHARSET_BIN_MB_MAXLEN;
109
113
    maybe_null=1; 
110
114
  }
 
115
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
116
  { return false; }
111
117
};
112
118
 
113
119
 
307
313
    decimals=0;
308
314
    max_length=10*MY_CHARSET_BIN_MB_MAXLEN;
309
315
  }
 
316
  bool check_vcol_func_processor(unsigned char *int_arg  __attribute__((unused)))
 
317
  { return true; }
310
318
};
311
319
 
312
320
 
442
450
  */
443
451
  virtual void store_now_in_TIME(DRIZZLE_TIME *now_time)=0;
444
452
  bool result_as_int64_t() { return true; }
 
453
  bool check_vcol_func_processor(unsigned char *int_arg  __attribute__((unused)))
 
454
  { return true; }
445
455
};
446
456
 
447
457
 
478
488
  void fix_length_and_dec();
479
489
  bool get_date(DRIZZLE_TIME *res, uint32_t fuzzy_date);
480
490
  virtual void store_now_in_TIME(DRIZZLE_TIME *now_time)=0;
 
491
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
492
  { return true; }
481
493
};
482
494
 
483
495
 
518
530
  void fix_length_and_dec();
519
531
  bool get_date(DRIZZLE_TIME *res, uint32_t fuzzy_date);
520
532
  virtual void store_now_in_TIME(DRIZZLE_TIME *now_time)=0;
 
533
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
534
  { return true; }
521
535
};
522
536
 
523
537
 
574
588
  Item_func_from_days(Item *a) :Item_date(a) {}
575
589
  const char *func_name() const { return "from_days"; }
576
590
  bool get_date(DRIZZLE_TIME *res, uint32_t fuzzy_date);
 
591
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
592
  { return false; }
577
593
};
578
594
 
579
595