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
asfernandes
d45c16929d
Fixed CORE-1514 - Many new 2.1 built in functions have incorrect NULL semantics
2007-10-17 15:15:02 +00:00
asfernandes
e443c2b9ed
Fixed CORE-1522 - Inconsistent DATEDIFF behaviour
2007-10-17 14:17:02 +00:00
asfernandes
944108171e
Use const in SysFunction as suggested by Dmitry Kovalenko
2007-10-12 20:25:04 +00:00
asfernandes
fa4d185a33
Fixed CORE-1489 - DATEADD wrong work with NULL arguments
2007-10-01 15:49:42 +00:00
asfernandes
6e945e5be7
Avoid integer overflow in date arithmetic - thanks to Claudio
2007-07-31 15:22:19 +00:00
asfernandes
b5a23c12d1
Improvements:
...
1) CORE-1387 - Add MILLISECONDS handling to EXTRACT, DATEADD and DATEDIFF functions
2) CORE-663 - EXTRACT(WEEK FROM DATE)
2007-07-31 01:22:59 +00:00
asfernandes
e25dcbc17c
Improvement CORE-1340 - Add a scale parameter to TRUNC function
2007-07-03 00:09:39 +00:00
asfernandes
46fbcea63e
More work on CORE-1315
2007-06-09 20:49:16 +00:00
asfernandes
1ac058489a
1) More work on CORE-1315
...
2) Fixed crash in LPAD/RPAD caused by SLONG->ULONG replacement
2007-06-09 19:55:34 +00:00
asfernandes
f4be0d2421
Fixed CORE-1315 - Data type unknown, for most functions ported from Yaffil
2007-06-09 19:18:21 +00:00
asfernandes
f676883248
Misc
2007-04-21 03:27:36 +00:00
alexpeshkoff
8b5dd60a66
fixed posix build after latest changes
2007-04-19 09:19:11 +00:00
asfernandes
79731908d7
Change GEN_UUID to return CHAR(16) CHARACTER SET OCTETS
2007-04-17 15:27:32 +00:00
asfernandes
a798e403ee
Misc
2007-04-17 02:24:33 +00:00
asfernandes
76e281e792
Fix ABS - thanks to Claudio
2007-04-16 15:42:36 +00:00
asfernandes
f7b7f2b96f
Some changes as per Claudio comments
2007-04-16 15:31:28 +00:00
robocop
628a66c360
Casting a spell over the code to allow VC6 compilation.
2007-04-15 11:27:15 +00:00
asfernandes
8c7076b67f
Port of Yaffil builtin functions
2007-04-12 15:56:34 +00:00