8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 19:23:03 +01:00
Commit Graph

89 Commits

Author SHA1 Message Date
asfernandes
acab5167fe Misc 2010-04-05 19:54:52 +00:00
asfernandes
6aaede8bd3 Fixed CORE-2898 - CHAR_TO_UUID and UUID_TO_CHAR works different in big/little endian architectures 2010-03-05 01:18:55 +00:00
alexpeshkoff
fa6607bd24 Fixed unregistered bug - invalid datetime2string conversion, reported by Claudio 2010-01-23 14:14:16 +00:00
asfernandes
876167f147 Misc 2010-01-04 00:48:40 +00:00
robocop
8141afe475 Put more strings into the msg db. 2010-01-03 10:46:42 +00:00
robocop
84eb992bfa Misc. 2009-12-07 08:53:02 +00:00
asfernandes
4a3d198ade Misc 2009-10-31 01:46:06 +00:00
robocop
6b997b901f Misc. 2009-10-30 10:59:52 +00:00
asfernandes
ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
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