8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 20:43:03 +01:00
Commit Graph

68 Commits

Author SHA1 Message Date
robocop
2d7cb94844 Unused params
Some BLR checks
2009-04-28 13:08:04 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
robocop
bfda334928 Remove macro needed for VC6 only. 2009-04-07 12:48:16 +00:00
asfernandes
3915bcfbbd Fixed CORE-1346 - lpad and rpad with two columns not working 2009-04-05 13:06:59 +00:00
alexpeshkoff
cf6471d4be Put all local stuff in anonymous namespace instead of declaring static.
This helps avoid some conflicts (like presence of cot() in math.h on HPUX).
2009-03-12 15:16:57 +00:00
asfernandes
ddb2a9e0ba Remove not needed lines 2009-02-10 16:29:16 +00:00
asfernandes
79e89d573d Misc 2009-01-03 19:02:04 +00:00
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +00:00
robocop
762d7e1392 Style. 2008-12-25 06:09:37 +00:00
asfernandes
2991779182 Fixed CORE-2174 - DATEADD and DATEDIFF causes an assert in TimeStamp::decode() 2008-11-07 14:31:58 +00:00
robocop
97e9a515cd Fixed inconsistencies noticed by Adriano. 2008-10-16 10:15:02 +00:00
asfernandes
d3e72ed046 Misc 2008-10-08 02:24:51 +00:00
asfernandes
39737cf97c Misc 2008-10-06 01:19:36 +00:00
robocop
586c3a6cde CORE-1799: improve the almost useless "expression evaluation not supported" error message.
Did the JRD side except par.cpp because this part is covered by DSQL (only ESQL programs won't get the improved messages).
2008-10-03 05:41:16 +00:00
alexpeshkoff
7c8427bc35 Separated CVT functions to common and jrd parts.
This made possible to avoid ugly CVT_move export.

Cleanup of errors handling in CVT functions.
2008-07-10 15:57:33 +00:00
asfernandes
142f9897f8 Fixed CORE-1936 - The log(base, number) built-in function doesn't check parameters and delivers NAN values instead 2008-07-09 15:30:14 +00:00
alexpeshkoff
5ac5869661 CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come. 2008-07-03 12:02:54 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
asfernandes
b8a3abb888 Misc 2008-06-17 01:02:01 +00:00
robocop
97b9553ecd Constness and some unsigned values. 2008-06-14 10:47:02 +00:00
robocop
1cdd4e4126 Clean the sources from VC6 hacks. 2008-05-14 05:17:53 +00:00
robocop
6caa0172b7 Misc. 2008-05-08 08:51:53 +00:00
robocop
61662f5b5b Constness and style. 2008-04-19 09:42:01 +00:00
asfernandes
5a059b20c0 Misc 2008-04-16 02:09:14 +00:00
robocop
3d750c2bf1 Enable WEEK for dateAdd and dateDiff. 2008-04-14 13:21:05 +00:00
robocop
d54a9f7ef6 - Let BIN_AND, BIN_OR and BIN_XOR take two params as minimum.
- Implement BIN_NOT.
2008-04-14 11:09:16 +00:00
asfernandes
7394d60551 Fixed CORE-1828 - Error with ABS in dialect 1 2008-04-12 22:55:39 +00:00
robocop
62a2cddd9d I consider useful to be able to add weeks or get differences in weeks without going back and forth with *7 or /7, but if others want to follow the standard literally and leave week only as week number in a year... 2008-04-12 13:40:48 +00:00
robocop
7a5c224438 - Enable week for dateAdd and dates or timestamps, since it's simply adding 7 days.
- Enable hour, minute, second and millisecond for dateAdd and dates.
The quantity added or substracted should account at least for one day to produce effect (IE adding 23 hours to a date doesn't increment it).
- Enable week for dateDiff and dates or timestamps.
- Enable hour, minute, second and millisecond for dateDiff and dates.

To be checked by Adriano.
2008-04-12 12:27:05 +00:00
dimitr
d0a6ff7fe7 More changes targeted to a better error diagnostics. 2008-04-04 10:13:44 +00:00
alexpeshkoff
541ff6ff3f fixed declaration 2008-03-27 09:16:20 +00:00
dimitr
b87b5032ef Changes in the TimeStamp class by Dmitry Kovalenko. 2008-03-26 10:21:04 +00:00
dimitr
48e81dd58a The merge is being fixed. 2008-01-16 12:22:11 +00:00
dimitr
1fa56f4cd7 The merge is being fixed. 2008-01-16 12:10:43 +00:00
dimitr
7f81eaae30 The merge continued. 2008-01-16 11:18:58 +00:00
asfernandes
1c40b7d633 Fixed CORE-1677 - Floor & ceiling functions give wrong results with exact numeric arguments 2008-01-08 00:52:49 +00:00
asfernandes
460b06312d Use static and larger buffer for HASH(blob) - suggested by Claudio 2007-12-07 14:29:36 +00:00
alexpeshkoff
eea9070f48 Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster 2007-12-03 15:46:39 +00:00
asfernandes
d609db2acd Misc 2007-11-30 10:44:30 +00:00
asfernandes
57b8825a46 Improvement CORE-1623 - Improve memory consumption of HASH(blob) 2007-11-29 14:32:14 +00:00
asfernandes
7e86351e9a Fixed wrong assertion - thanks to Dmitry Kovalenko 2007-11-15 13:10:49 +00:00
asfernandes
4e47cd4846 Feature CORE-1511 - POSITION(string_exp1, string_exp2 [, start]) 2007-11-12 00:31:11 +00:00
asfernandes
ca7004e241 1) Fixing another case of CORE-1514 - Many new 2.1 built in functions have incorrect NULL semantics
2) Improvement CORE-1569 - ROUND function second parameter - make optional like TRUNC
2007-11-12 00:02:18 +00:00
asfernandes
7afdc78371 Fixed CORE-1582 - ABS() rounds NUMERIC values 2007-11-10 00:53:29 +00:00
asfernandes
76f3f85b80 Misc 2007-10-29 00:19:27 +00:00
asfernandes
9dd863d6d7 Create class to buffer random bytes generation as process of generate many small random bytes is slow - thanks to Nickolay 2007-10-28 14:54:16 +00:00
robocop
146d8c5e1f Use code that works across different compilers.
Modify common.h to fix some particular compiler's suffix for INT64 constants.
2007-10-28 08:18:45 +00:00
asfernandes
ae60859d92 CORE-1546 - Improve random number quality of builtin RAND 2007-10-27 17:16:45 +00:00
asfernandes
c7440554de Fixed CORE-1528 - Functions DATEDIFF, ABS(integer const) does not work in dialect 1 2007-10-25 14:31:17 +00:00
asfernandes
78e4d71ee1 Remove weekday support in DATEADD/DATEDIFF - CORE-1526 2007-10-23 14:14:23 +00:00