|
@@ -140,16 +140,16 @@ const
|
|
|
'1991-03-01',
|
|
|
'2040-10-16',
|
|
|
'1977-09-29',
|
|
|
+ '1899-12-29',
|
|
|
+ '1899-12-30',
|
|
|
+ '1899-12-31',
|
|
|
+ '1900-01-01',
|
|
|
'1800-03-30',
|
|
|
- '1650-05-10',
|
|
|
'1754-06-04',
|
|
|
+ '1650-05-10',
|
|
|
'0904-04-12',
|
|
|
'0199-07-09',
|
|
|
- '0001-01-01',
|
|
|
- '1899-12-29',
|
|
|
- '1899-12-30',
|
|
|
- '1899-12-31',
|
|
|
- '1900-01-01'
|
|
|
+ '0001-01-01'
|
|
|
);
|
|
|
|
|
|
testBytesValuesCount = 5;
|
|
@@ -608,16 +608,7 @@ const
|
|
|
'2000-01-01 10:00:00',
|
|
|
'2000-01-01 23:59:59',
|
|
|
'1994-03-06 11:54:30',
|
|
|
- '2040-10-16', // MySQL 4.0 doesn't support datetimes before 1970 or after 2038
|
|
|
- '1400-02-03 12:21:53',
|
|
|
- '0354-11-20 21:25:15',
|
|
|
- '1333-02-03 21:44:21',
|
|
|
- '1800-03-30',
|
|
|
- '1650-05-10',
|
|
|
- '1754-06-04',
|
|
|
- '0904-04-12',
|
|
|
- '0199-07-09',
|
|
|
- '0001-01-01',
|
|
|
+ '1754-06-04', // MySQL 4.0 doesn't support datetimes before 1970 or after 2038
|
|
|
'1899-12-29',
|
|
|
'1899-12-30',
|
|
|
'1899-12-31',
|
|
@@ -628,7 +619,16 @@ const
|
|
|
'1899-12-29 18:00:51',
|
|
|
'1903-04-02 01:04:02',
|
|
|
'1815-09-24 03:47:22',
|
|
|
- '2100-01-01 01:01:01'
|
|
|
+ '2040-10-16',
|
|
|
+ '2100-01-01 01:01:01',
|
|
|
+ '1400-02-03 12:21:53', // MS SQL 2005 doesn't support datetimes before 1753
|
|
|
+ '0354-11-20 21:25:15',
|
|
|
+ '1333-02-03 21:44:21',
|
|
|
+ '1800-03-30',
|
|
|
+ '1650-05-10',
|
|
|
+ '0904-04-12',
|
|
|
+ '0199-07-09',
|
|
|
+ '0001-01-01'
|
|
|
);
|
|
|
|
|
|
var
|
|
@@ -853,7 +853,6 @@ begin
|
|
|
|
|
|
with TSQLDBConnector(DBConnector).Query do
|
|
|
begin
|
|
|
- PacketRecords := -1;
|
|
|
sql.clear;
|
|
|
sql.append('insert into FPDEV2 (ID,FIELD1) values (:id,:field1)');
|
|
|
|