8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 06:43:04 +01:00
This commit is contained in:
dimitr 2006-05-31 09:10:13 +00:00
parent 524d703e0d
commit 31fbdb4daa
2 changed files with 0 additions and 27 deletions

View File

@ -34,10 +34,7 @@
#include "../jrd/cvt_proto.h"
#include "../jrd/cvt2_proto.h"
#include "../jrd/err_proto.h"
#include "../jrd/gds_proto.h"
#include "../jrd/mov_proto.h"
#include "gen/iberror.h"
#include "../common/classes/timestamp.h"
int MOV_compare(const dsc* arg1, const dsc* arg2)
@ -566,25 +563,3 @@ void MOV_move(const dsc* from, dsc* to)
CVT_move(from, to, ERR_post);
}
void MOV_time_stamp(GDS_TIMESTAMP* datetime)
{
/**************************************
*
* M O V _ t i m e _ s t a m p
*
**************************************
*
* Functional description
* Get the current timestamp in gds format.
*
**************************************/
*datetime = Firebird::TimeStamp().value();
// CVC: This function is used only by PAG_add_file (for raw devices support)
// and PAG_format_header. In late FB v2, timestamp started returning
// milliseconds, so if some unexpected incompatbility arises, uncomment
// the following line that will get rid of the milliseconds.
//Firebird::TimeStamp::round_time(datetime->timestamp_time, 0);
}

View File

@ -52,7 +52,5 @@ GDS_TIMESTAMP MOV_get_timestamp(const dsc*);
int MOV_make_string(const dsc*, USHORT, const char**, vary*, USHORT);
int MOV_make_string2(const dsc*, USHORT, UCHAR**, Jrd::MoveBuffer&);
void MOV_move(const dsc*, dsc*);
void MOV_time_stamp(GDS_TIMESTAMP*);
#endif // JRD_MOV_PROTO_H