mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
This commit is contained in:
commit
012d5ab442
1 changed files with 5 additions and 0 deletions
|
|
@ -71,6 +71,11 @@ public:
|
|||
const char *func_name() const { return "month"; }
|
||||
enum Item_result result_type () const { return INT_RESULT; }
|
||||
void fix_length_and_dec() { decimals=0; max_length=2; maybe_null=1; }
|
||||
Field *tmp_table_field(TABLE *t_arg)
|
||||
{
|
||||
if (!t_arg) return result_field;
|
||||
return (Field *) new Field_string(max_length,maybe_null, name,t_arg, binary);
|
||||
}
|
||||
};
|
||||
|
||||
class Item_func_monthname :public Item_func_month
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue