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

313 Commits

Author SHA1 Message Date
asfernandes
1c88679f5e Remove an extra memcpy with lower/upper of strings 2009-11-17 13:06:14 +00:00
alexpeshkoff
9423b33815 Frontported fix for CORE-2730: Bus error when working with DB_KEY on RISC machines 2009-11-05 17:04:30 +00:00
asfernandes
79e9320875 Refactor aggregate handling into AggregateRsb class 2009-10-31 19:03:30 +00:00
dimitr
5ae7b7f340 Cleanup. 2009-10-31 11:08:11 +00:00
dimitr
e6909de7f7 Wipe out the SCROLLABLE_CURSORS code + minor cleanup.
Also, surfaced scrollability for PSQL cursors (without internal support yet).
2009-10-31 06:25:01 +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
dimitr
8e36474f76 More explicit (and shorter) life-time for sort blocks. Now they belong to either requests (user sorts) or transactions (index sorts).
This also resolves CORE-2477: mon$memory_usage: Sorting memory should be reported as owned by the statement.
2009-09-04 06:11:55 +00:00
dimitr
22f35d1fdd Comments. 2009-08-27 09:45:05 +00:00
robocop
ef30c29512 Fix CORE-2581 Infinity should not escape from the engine. UDF issues not touched yet. 2009-08-04 13:01:53 +00:00
asfernandes
0fa5b3fdc4 Do not return isc_no_cur as warning, as it's an error - thanks to Dmitry 2009-07-16 13:09:00 +00:00
asfernandes
284aa72ae9 Fix another similar problem of CORE-2552. Now successfull_completion has wrong in the fetch API, when that warning is posted.
Alex: please verify if ERR_warning could be removed. It's not used anymore.
2009-07-15 00:25:35 +00:00
asfernandes
adacf54d74 Misc 2009-07-14 01:18:17 +00:00
alexpeshkoff
fe4aec8a12 Fixed CORE-2550: Bus error when working with DB_KEY on bigendian machines. Introduced dtype_dbkey inside engine. 2009-07-09 14:04:42 +00:00
robocop
2e3ce0d23d Misc. 2009-06-07 09:49:58 +00:00
alexpeshkoff
46527f2084 MT safe floating point exceptions control. Raise error in case of FP overflow according to SQL standard requirements. 2009-05-27 07:57:06 +00:00
asfernandes
158a05c78d Misc 2009-05-10 15:23:31 +00:00
alexpeshkoff
4742f45669 Fixed CORE-2455: Server fails when doing DROP DATABASE right after error in statistical function 2009-05-07 16:48:48 +00:00
robocop
c23b36160b Misc. 2009-05-02 14:56:43 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
alexpeshkoff
8c983fec26 Fixed alignment issues with on-stack vary strings 2009-04-29 14:00:32 +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
a730fbf074 Get rid of more typedefs. 2009-04-03 10:07:55 +00:00
asfernandes
9514e5f757 Fixed CORE-2355 - Incorrect handling of LOWER/UPPER when result string shrinks in terms of byte length 2009-03-07 17:39:05 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33:59 +00:00
asfernandes
989d851fa3 Misc 2009-01-15 03:46:48 +00:00
robocop
77bd687168 Style. 2009-01-14 08:22:32 +00:00
robocop
21bb7f3d20 Style. 2009-01-03 09:14:29 +00:00
asfernandes
2e3ced29fc Fixed CORE-2258 - Internal error when select upper(<blob>) from union 2008-12-25 15:05:06 +00:00
asfernandes
5311dd5a5e Misc 2008-12-20 19:57:43 +00:00
robocop
95292d1731 Style. 2008-12-20 08:12:19 +00:00
robocop
0a94d6fee8 Style. 2008-12-18 10:57:12 +00:00
robocop
e4650d5027 Promote thread_data* as function argument. Only exception where both tdbb and dbb were left together as arguments is nbak.cpp's call to CCH_rollover_to_shadow to avoid any side effect in the changed code, but anyway, that function calls SDW_rollover_to_shadow that takes the dbb from the tdbb and not explicitly. 2008-12-14 09:28:25 +00:00
robocop
eb6ea18df4 Misc. 2008-12-01 09:21:31 +00:00
asfernandes
cf7ae27db5 Fixed CORE-1432 - Collation not propagated between record formats 2008-11-30 18:55:52 +00:00
asfernandes
3dcddd6ed5 Misc 2008-11-30 02:23:01 +00:00
asfernandes
f9e3032c93 Fixed CORE-1943 - GROUP BY RAND() returns infinite rows 2008-11-09 18:52:45 +00:00
asfernandes
d3e72ed046 Misc 2008-10-08 02:24:51 +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
f74ba61ba9 Misc - same header was repeated twice 2008-09-22 14:41:40 +00:00
robocop
26727ea6c8 Misc. 2008-09-09 09:05:49 +00:00
asfernandes
b550749a47 Fixed CORE-1246 - Incorrect column values with outer joins and derived tables 2008-09-07 19:44:48 +00:00
asfernandes
9150e6f4f2 This should fix regressions related to fixes of:
CORE-501 - Optimization problem with COALESCE
CORE-1343 - Bug with a simple case and a subquery
CORE-2041 - update or insert with gen_id() with wrong generator value

And should fix this one (snapshot build bug):
CORE-2051 - don't work subquery in COALESCE
2008-09-01 13:18:02 +00:00
asfernandes
848357d06b Do not store pointer to string already destructed 2008-08-30 03:07:35 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
asfernandes
b910161f82 Fixed CORE-501 - Optimization problem with COALESCE 2008-08-20 01:54:45 +00:00
dimitr
585d8a3eec Fixed CORE-2039: Domain-level CHECK constraints wrongly process NULL values. 2008-08-12 07:22:12 +00:00
asfernandes
607f55503d Misc 2008-07-11 02:37:23 +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
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