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

139 Commits

Author SHA1 Message Date
asfernandes
1db35d473b Frontport fix for CORE-2875 - String right truncation error when char column longer than 4096 bytes is compared with string constant 2010-02-19 10:19:22 +00:00
asfernandes
f0ca7a1d9f Misc 2009-12-06 19:22:01 +00:00
asfernandes
7d52a84520 Misc 2009-12-02 00:35:55 +00:00
robocop
4972c03874 Misc. 2009-12-01 10:28:35 +00:00
asfernandes
eb4a893487 Lookup internal charsets without database lookup. This is necessary to validate length of UTF-8 strings if we change the metadata charset. 2009-11-28 18:08:31 +00:00
robocop
579a456329 Style. 2009-11-25 08:38:52 +00:00
robocop
75df0fc37d Comments. 2009-11-25 03:58:43 +00:00
robocop
07dc116ed2 Misc. 2009-10-30 10:50:59 +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
asfernandes
5063bafc36 Misc 2009-07-15 03:13:16 +00:00
dimitr
468b31fddd 1) Let the collation existence locks respect the database shutdown. In particular, let's distinguish between "releasing" and "destroying" the lock.
2) Explicitly invalidate and release the cached system requests.
2009-07-13 19:45:08 +00:00
robocop
f7bf07d9be Style. 2009-07-03 11:02:17 +00:00
asfernandes
78f400fc5b Misc 2009-06-09 00:56:58 +00:00
robocop
e1f337e951 Minimizing casts. 2009-06-08 12:14:58 +00:00
robocop
b6636f6af5 Style. 2009-06-07 10:19:09 +00:00
robocop
2e3ce0d23d Misc. 2009-06-07 09:49:58 +00:00
asfernandes
38a2912669 Misc 2009-05-03 21:57:13 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
asfernandes
ed2536461d Misc 2009-03-14 19:17:34 +00:00
hvlad
d518301424 Fixed bug CORE-2372 : AV in CMP_release releasing already freed collation resource 2009-03-13 16:03:05 +00:00
dimitr
1b3927b026 1) Globally named per-database shmem regions.
2) Slightly reworked monitoring internals.
3) Encapsulated the event manager, many internal changes there.
4) Various cleanup, etc.
2009-01-28 12:27:18 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33:59 +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
asfernandes
5311dd5a5e Misc 2008-12-20 19:57:43 +00:00
robocop
95292d1731 Style. 2008-12-20 08:12:19 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +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
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
robocop
83d3ddd6cb Replace custom code by helper class ThreadStatusGuard. 2008-04-26 10:29:52 +00:00
robocop
2ce6a25c83 Style. 2008-04-24 07:16:12 +00:00
asfernandes
29fbfbb8ff Misc 2008-04-06 14:45:51 +00:00
dimitr
d0a6ff7fe7 More changes targeted to a better error diagnostics. 2008-04-04 10:13:44 +00:00
dimitr
f5659c0b70 1) Major cleanup of the old-style blk and allocator-based blk_type.
2) Added synchronization for the JRD locks.
2008-03-19 16:19:56 +00:00
dimitr
afb970dba1 1) Cleanup.
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
dimitr
43594ed53a Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 13:17:19 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
48e81dd58a The merge is being fixed. 2008-01-16 12:22:11 +00:00
dimitr
e08c5da397 The merge continued. 2008-01-16 09:07:24 +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
alexpeshkoff
2db1db2ed4 let it be called more than once 2007-07-25 13:18:52 +00:00
dimitr
b58acced12 Fixed possible AV caused by a NULL lock pointer. 2007-07-20 07:28:16 +00:00
asfernandes
2d26b3f5f8 Allow BLOBs in EXECUTE STATEMENT and possibly in others unkown cases 2007-02-27 02:36:20 +00:00
asfernandes
c9bdb5206d Fixed a problem in DROP COLLATION 2006-12-08 23:58:37 +00:00
alexpeshkoff
a6d49bc3d2 Slightly reorganized a code. Hope this should help posix compilation
on some gcc versions.
2006-12-04 17:55:25 +00:00
asfernandes
6da2d6c615 Fixed CORE-986 - Non-ASCII quoted identifiers are not converted to metadata (UNICODE_FSS) charset 2006-11-04 03:45:02 +00:00
asfernandes
f3e76c1c49 Misc 2006-10-11 03:31:13 +00:00
asfernandes
1d422a8330 1) Refactor intl_classes.h and intl.cpp
2) Make conversions from CharSet1->UTF16->CharSet2 job of CsConvert class
2006-10-10 19:40:33 +00:00
asfernandes
45346169c5 1) UNICODE_CI - UNICODE case-insensitive collation for UTF8
2) Locale specific attribute for UNICODE collations
3) Remove code duplication in implementation of UNICODE collations for fbintl
4) Remove ugly TEXTTYPE type
2006-09-17 20:06:36 +00:00