Adriano dos Santos Fernandes
3c6115a08c
Make TimeZoneUtil::getCurrentGmtTimeStamp() does not depend on the local time.
2018-12-28 15:52:39 -02:00
Adriano dos Santos Fernandes
4f446d506e
Message codes for time zone errors.
2018-12-28 15:52:39 -02:00
Adriano dos Santos Fernandes
572c0675d6
Refactor.
2018-12-28 15:52:39 -02:00
firebirds
d4586a4c9b
increment build number
2018-12-27 00:03:25 +00:00
AlexPeshkoff
4d035997fc
Fixed CORE-5973: Handling FP overflow in double precision value when converting from decfloat
2018-12-26 20:04:54 +03:00
Adriano dos Santos Fernandes
f8c803ab32
Fix Windows build.
2018-12-26 12:00:36 -02:00
Adriano dos Santos Fernandes
21ca22f216
Improvement CORE-3808 - Provide ability to return all columns using RETURNING (eg RETURNING *).
2018-12-26 10:45:47 -02:00
firebirds
314c09c703
increment build number
2018-12-25 00:03:23 +00:00
AlexPeshkoff
24d0409459
Renamed rules according to Adriano's advice
2018-12-24 15:17:22 +03:00
firebirds
fd664f54da
increment build number
2018-12-20 00:03:14 +00:00
Adriano dos Santos Fernandes
8258e51dc4
Fixed CORE-5974 - Wrong result of select distinct with decfload/timezone/collated column.
...
Related to e3b0247336
.
2018-12-19 16:12:01 -02:00
hvlad
5ab4b98f7d
Correct usage of different time units in IdleTimer
2018-12-19 11:42:03 +02:00
firebirds
ac2f012434
increment build number
2018-12-17 00:03:20 +00:00
Adriano dos Santos Fernandes
723c45904b
Fix assertion for query with unused named window and no other window expression.
2018-12-16 17:51:44 -02:00
hvlad
0ea61c13f8
Rename setting: TpcBlockSize -> TipCacheBlockSize
2018-12-16 15:27:40 +02:00
firebirds
90eca16cb7
increment build number
2018-12-16 00:03:15 +00:00
Adriano dos Santos Fernandes
9604d1c89a
Misc.
2018-12-15 18:44:59 -02:00
firebirds
124dbca8e9
increment build number
2018-12-11 00:03:22 +00:00
AlexPeshkoff
bfa58e6f72
Cleanup - bad attempt to make events API better
2018-12-10 14:10:51 +03:00
firebirds
9a4a42bde5
increment build number
2018-12-08 00:03:42 +00:00
AlexPeshkoff
aacdeb274c
Added 8 new builtin functions supporting various encryption algorithms
2018-12-07 11:17:06 +03:00
firebirds
647216a633
increment build number
2018-12-06 00:03:33 +00:00
firebirds
d7cfa9e3f6
increment build number
2018-11-29 00:03:24 +00:00
Dmitry Yemanov
8bb1ea9522
This workaround should fix MSVC12 build issues (ambiguous call to overloaded function for std::function and SomeNode* overloads)
2018-11-28 13:52:18 +03:00
Adriano dos Santos Fernandes
e4226a60cf
Rename fields and functions.
2018-11-27 23:49:02 -02:00
Adriano dos Santos Fernandes
050cea380e
- Change MON$ TIMESTAMP fields to TIMESTAMP WITH TIME ZONE.
...
- Added fb_info_creation_timestamp_tz.
- Make timeouts work when server time zone is changed.
2018-11-27 23:27:52 -02:00
firebirds
1505778037
increment build number
2018-11-28 00:03:26 +00:00
Adriano dos Santos Fernandes
781df06ee3
Fix merge conflict.
2018-11-27 11:11:16 -02:00
firebirds
9d31a686d9
increment build number
2018-11-27 00:03:26 +00:00
Dmitry Yemanov
64eea103f2
Merge pull request #165 from FirebirdSQL/work/time-zone-support
...
CORE-694 - Support for time zones
2018-11-26 13:07:51 +03:00
firebirds
d8618f417b
increment build number
2018-11-26 00:03:25 +00:00
Adriano dos Santos Fernandes
4ce50c0503
Fix CORE-5395 - Invalid data type for negation (minus operator).
2018-11-25 10:45:52 -02:00
firebirds
14184bf208
increment build number
2018-11-21 00:03:22 +00:00
Dmitry Yemanov
3103f72d7d
Attempt to fix CORE-5070, CORE-5795, CORE-5845, CORE-5965 with a single shot
2018-11-20 19:44:17 +03:00
firebirds
c0d6c5faae
increment build number
2018-11-16 00:03:22 +00:00
Dmitry Starodubov
8739c8b5a7
Don't skip next plugin if previous one has not sent data ( #178 )
2018-11-15 18:18:37 +03:00
Adriano dos Santos Fernandes
2c8faab6aa
Fix Windows build (as possible, with outdated ICU).
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
de2ff27255
Work in progress to fix the Windows build.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
760288f17b
Fix CURRENT_TIME to return in the session time zone.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
94f377b8fb
Add SET TIME ZONE BIND statement.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
873cd8090f
Make isc_dpb_session_time_zone also define the original time zone, and make RESET reset the session time zone to the original one.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
abf39e549a
Make system routines use IDs as generated for user routines.
...
User routines already are auto-generated and random while restoring backup.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
db664e6fbf
Add prefix for decfloat rules and nodes.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
5c0218cc8e
Fix AT operator precedence.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
61ef9f497f
Add security classes to system packages.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
5ad0cece75
Added UNIX_DATE constant and moved ONE_DAY to the implementation file.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
3c4c8e781d
Support for system packages and RDB$TIME_ZONE_UTIL system package implementation.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
4ea34933f0
Added isc_dpb_session_time_zone.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
fc96ea7b59
Misc.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
447ff4db4d
Misc.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
e149a51e49
Added class ThrowStatusExceptionWrapper, better than ThrowStatusWrapper for Firebird's code.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
3492f5eb2f
Avoid buffer overflow possibility.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
a1e711cf49
Fix date/time support in messages, when Firebird namespace is not in scope.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
6f93e09a3f
Support for time zones in message macros.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
bdd496a015
GPRE does not support packages.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
942d7f49f5
Added RDB$TIME_ZONES virtual table.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
d3df86068a
Allow to use, for example, time zones Etc/GMT+1 and Etc/GMT-1.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
46e954f863
Change UTC->GMT as appropriate and reorder the identifiers so GMT becomes number 65535.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
a65f8ffb5e
Allow literal and conversion from timestamp with date and time zone but without time.
...
For example: timestamp '2018-01-02 America/Sao_Paulo'
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
53be87c228
Reject invalid conversion: cast('01-today' as date) - another CORE-5750 case.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
fb7a6b48a8
Implement DDL conversions.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
08a68af79f
There seems to be no reason for this code duplication.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
150f62d599
Embed the utc_timestamp as ISC_TIMESTAMP struct inside ISC_TIMESTAMP_TZ.
...
Some struct field names adjustments accordingly.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
ba76d14785
Bug fixes.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
46613ba1b3
Increase maximum time zone length.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
9a56fe9a9b
Add list of all time zones.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
e0450a79d9
Add encode/decode functions to IUtil and remove partially added legacy API functions.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
c15a38ca78
Fix multi-field sort.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
b04907d431
Correction.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
b11daa52cc
Fixed Windows build.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
3b5aa40b43
Fixed DATEDIFF.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
141f62611b
Changing descriptors to store in memory date/time tz in UTC and usage of ICU for time zone regions.
...
This version is fixedly configured only with America/Sao_Paulo and America/Los_Angeles.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
8792dff315
Internal support for time zone regions in addition to offsets.
...
Simulate regions with fixed BRT and BRST regions.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
4812ce8ee8
Fixed CORE-5750 - Date-time parsing is very weak.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
5becd96357
Fixed SQLDA_DISPLAY's type name.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
2b6ca80b87
Support for AT { TIME ZONE <zone> | LOCAL } clause.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
d268f7344f
Change time zone displacement field by a opaque zone field.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
60f1ed07a0
Fix the last commit.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
d68f886c77
Added optional WITHOUT TIME ZONE to TIME/TIMESTAMP datatypes.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
89d4b20d07
Fix ISQL's SET TIME command.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
e84f443e8d
Fixed CORE-5717 - Reject non-constant date/time/timestamp literals.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
0b24bb8353
Fix conversion from strings TODAY, NOW, TOMORROW and YESTERDAY to TIME/TIMESTAMP WITH TIME ZONE.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
ac57e4c36f
Add a space before the time zone when converting to string.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
e3b0247336
Improve sort space and CPU processing for INTL_DATA, decfloat and date/time with time zone.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
7100879498
Initial implementation of time zone support - CORE-694.
...
TODO:
- Support regions.
- Reevaluate decision of store date/time components in memory in its own time zone instead of normalized to UTC.
- Fix ISQL's SET TIME command.
- Allow usage of "WITHOUT TIME ZONE" with TIME/TIMESTAMP data types.
- Think about compatibility of CURRENT_TIME/CURRENT_TIMEZONE.
- Support AT { LOCAL | TIME ZONE <zone> } expression.
- Support as needed and fix assertions when altering field types.
- Change conversion to string to put a space before the time zone.
- Big endian version of SKD_time_tz and SKD_timestamp_tz.
2018-11-12 13:18:00 -02:00
firebirds
1824698b96
increment build number
2018-11-12 00:03:21 +00:00
hvlad
31b641112a
Fixed old typo
2018-11-12 00:17:17 +02:00
firebirds
a072745b08
increment build number
2018-11-10 00:03:24 +00:00
hvlad
01d26b8941
This should fix bug CORE-5959 : Firebird returns wrong time after changes of time zone
2018-11-09 13:03:31 +02:00
firebirds
010abc4bb0
increment build number
2018-10-31 00:03:22 +00:00
Roman Simakov
4d223744a6
Fixed CORE-5955: Unable to init binreloc with ld >= 2.31
2018-10-30 13:38:16 +03:00
Dmitry Yemanov
643c6d35ec
Fixed the regression I introduced some time ago
2018-10-30 13:26:37 +03:00
firebirds
98f4d499a1
increment build number
2018-10-30 00:03:20 +00:00
Dmitry Yemanov
59dd58ce73
Fixed possible corruption of the monitoring shared data
2018-10-29 12:16:39 +03:00
firebirds
80529ab68e
increment build number
2018-10-27 00:03:31 +00:00
Dmitry Yemanov
2cb9e64831
More flexible solution for CORE-5612
2018-10-26 19:57:43 +03:00
Dmitry Yemanov
96b9886171
Fixed CORE-5943: Server crashes preparing a query with both DISTINCT/ORDER BY and non-field expression in the select list
2018-10-26 10:27:20 +03:00
firebirds
e09430b6e6
increment build number
2018-10-26 00:03:25 +00:00
Dmitry Yemanov
bf5bfcc14a
Misc
2018-10-25 15:32:37 +03:00
firebirds
6928ad48bf
increment build number
2018-10-25 00:03:25 +00:00