mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 17:25:31 +02:00
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/kostja/mysql/mysql-4.1-4030 sql/field.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/tztime.cc: Auto merged
This commit is contained in:
commit
8d0f268777
25 changed files with 387 additions and 771 deletions
|
|
@ -582,7 +582,7 @@ sec_to_TIME(TIME * tmp, my_time_t t, long offset)
|
|||
|
||||
/* filling MySQL specific TIME members */
|
||||
tmp->neg= 0; tmp->second_part= 0;
|
||||
tmp->time_type= TIMESTAMP_DATETIME;
|
||||
tmp->time_type= MYSQL_TIMESTAMP_DATETIME;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1009,7 +1009,7 @@ Time_zone_system::gmt_sec_to_TIME(TIME *tmp, my_time_t t) const
|
|||
|
||||
localtime_r(&tmp_t, &tmp_tm);
|
||||
localtime_to_TIME(tmp, &tmp_tm);
|
||||
tmp->time_type= TIMESTAMP_DATETIME;
|
||||
tmp->time_type= MYSQL_TIMESTAMP_DATETIME;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1092,7 +1092,7 @@ Time_zone_utc::gmt_sec_to_TIME(TIME *tmp, my_time_t t) const
|
|||
time_t tmp_t= (time_t)t;
|
||||
gmtime_r(&tmp_t, &tmp_tm);
|
||||
localtime_to_TIME(tmp, &tmp_tm);
|
||||
tmp->time_type= TIMESTAMP_DATETIME;
|
||||
tmp->time_type= MYSQL_TIMESTAMP_DATETIME;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue