1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Internal commit

This commit is contained in:
gluh@gluh.mysql.r18.ru
2003-06-23 12:56:44 +05:00
parent 7342852dd9
commit 66af4b5c9a
12 changed files with 1067 additions and 34 deletions

View File

@ -3150,11 +3150,13 @@ bool Field_time::get_time(TIME *ltime)
ltime->neg= 1;
tmp=-tmp;
}
ltime->day= 0;
ltime->hour= (int) (tmp/10000);
tmp-=ltime->hour*10000;
ltime->minute= (int) tmp/100;
ltime->second= (int) tmp % 100;
ltime->second_part=0;
ltime->time_type= TIMESTAMP_TIME;
return 0;
}