mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:43:04 +01:00
Cleanup.
This commit is contained in:
parent
524d703e0d
commit
31fbdb4daa
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user