robocop
e60f718dfb
The original message about FP overflow was not very useful for built-in functions (unlike other msgs, it didn't identify the cause). Made a special message for it. Also, one alice (gfix) help item was put erroneously by IB engineers in system_errors.sql; delete it.
2009-07-17 17:13:28 +00:00
robocop
f10e1b72eb
Style.
2009-06-27 06:23:36 +00:00
asfernandes
928d2616fd
Misc
2009-06-19 02:29:08 +00:00
robocop
4cd4c52d42
Fix CORE-2505: beware of built-in functions returning NaN and Inf. Some functions were added, but they are called from the debugger only because they aren't exposed through DSQL.
2009-06-17 12:25:32 +00:00
robocop
d962a392d3
Fix CORE-2501: bin_shl and bin_shr shouldn't accept negative shifts.
2009-06-09 13:02:40 +00:00
asfernandes
b8c3b0dda6
Misc
2009-05-27 01:36:00 +00:00
alexpeshkoff
3272ca3731
Make it build with aCC and avoid #ifdefs
2009-05-25 12:27:29 +00:00
alexpeshkoff
a37d818726
AIX port - native compiler support
2009-05-07 14:49:40 +00:00
alexpeshkoff
cef41b3286
1. Solaric/Sparc SunProCC port.
...
2. Cleanup SOLARIS_MT threading model.
2009-05-05 08:06:37 +00:00
robocop
e5b226f7a7
More unused params; style.
2009-05-02 13:00:09 +00:00
alexpeshkoff
8c983fec26
Fixed alignment issues with on-stack vary strings
2009-04-29 14:00:32 +00:00
asfernandes
1c20adb8fc
Misc
2009-04-29 01:52:49 +00:00
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