asfernandes
f9154aca75
Misc
2010-04-07 02:04:22 +00:00
robocop
ac551e2b71
Cleanup.
2010-04-04 08:52:10 +00:00
asfernandes
e1ba33a2ae
Fix problem of the system transaction storing pointer to random or already deallocated attachment. Full build (or kind of) required.
2010-04-02 21:48:15 +00:00
asfernandes
aba41ed8cb
Misc
2010-02-27 02:41:00 +00:00
dimitr
4b5e5aad28
Fixed the accidentally broken security on system tables.
2010-02-25 10:20:19 +00:00
hvlad
672cdb5704
Fixed bug CORE-2824 : Small memory and handles leak at every connect\disconnect
2010-01-23 16:28:40 +00:00
asfernandes
7ff112a901
Some syntactic sugar
2010-01-03 00:19:14 +00:00
asfernandes
5c407c739c
Convert an uncached GDML query to equivalent SQL with PreparedStatement
2010-01-02 23:29:32 +00:00
asfernandes
674c7293e3
Tweaks to PreparedStatement::Builder and support for output parameters (without "demo" code yet)
2010-01-02 21:46:11 +00:00
asfernandes
65867dbaec
Simplification
2010-01-01 03:00:25 +00:00
asfernandes
fc370c986e
A new way to use PreparedStatement. That one preserves code readability and is very like the preprocessed code.
2009-12-31 17:08:07 +00:00
asfernandes
acbd61f20f
Support for named parameters for PreparedStatement using C++ variables
2009-12-28 22:18:40 +00:00
asfernandes
a9d2966f3e
Misc
2009-12-28 10:21:51 +00:00
asfernandes
631ed08aea
Misc
2009-12-27 16:49:46 +00:00
asfernandes
b2fe37a833
Transform two GDML STORE statements that run on database creation time to DSQL statements and preload DSQL cache objects to make that possible
2009-12-26 22:06:24 +00:00
dimitr
afd310b8b7
Sorry, this was a bad idea. Backup/restore cycle doesn't preserve IDs.
...
To be reconsidered some other day.
2009-12-24 14:29:19 +00:00
dimitr
60f81819c3
Cleanup. These system triggers are not required anymore, IDs are assigned by the engine itself.
2009-12-24 14:24:04 +00:00
asfernandes
78bf2fc824
Cleanup
2009-12-17 23:25:11 +00:00
robocop
5cfc9dc78b
CORE-2787: Make rdb$system_flag not null.
...
Please do a full rebuild.
2009-12-03 12:52:10 +00:00
asfernandes
9ec1c36a55
Cleanup
2009-11-28 19:39:23 +00:00
asfernandes
d38d8dccbd
Some changes aiming a future replacement of the metadata character set
2009-11-28 16:39:54 +00:00
asfernandes
3f5aded4e3
Misc
2009-11-28 01:44:42 +00:00
robocop
9dc71e817d
Cleanup.
2009-11-27 06:59:21 +00:00
robocop
6b58626584
Cleanup.
2009-11-27 06:57:17 +00:00
robocop
f955568fc9
The architect created ODS12 and saw it was good, then he said "thy shall be the only one among your race", dropped the older ones and sent the developers to the four corners of the cyberspace to convert the masses to ODS12.
2009-11-27 02:33:40 +00:00
robocop
804ad6048a
Restrict us to ODS11 and ODS12 until the dust settles down.
2009-11-24 11:42:56 +00:00
robocop
9ce4040042
Replace the now obsolete dbb_minor_original by dbb_minor_version.
2009-11-18 12:02:00 +00:00
robocop
ee3c1043cb
Style.
2009-11-08 09:13:35 +00:00
dimitr
b6ece14c55
Cleanup the unsused logic related to in-place ODS upgrades.
...
Simplified the version-specific column handling.
2009-10-22 14:50:23 +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
robocop
81e2c10f0d
Moved DEFAULT_CLASS to constants.h;
...
a Buil | Clean Solution + F7 may be needed in VC (otherwise linker errors appear).
2009-06-26 11:18:45 +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
dimitr
5e41ad36c8
Fixed CORE-2231: Bugcheck 179 when attempting to read from the table RDB$TRIGGER_MESSAGES in ODS10.
...
Thanks to Vlad for the test case and the proposed fix.
2008-12-09 08:09:38 +00:00
alexpeshkoff
f242d71025
AIX port
2008-11-13 09:42:13 +00:00
dimitr
609f466ad3
1) Fixed the layering, as dbb_lock shouldn't belong to PIO.
...
2) Passed tdbb to some engine routines that were dealing with TLS.
3) Got rid of fil_length and some minor cleanup.
2008-07-09 08:40:31 +00:00
dimitr
f735ff4502
Fixed CORE-1963: Possible server crash on commit when granting/revoking privileges from multiple connections simultaneously.
2008-06-27 08:44:40 +00:00
robocop
5777ff76fa
More VC6 cleanup.
2008-05-14 13:11:41 +00:00
dimitr
2c7acdef79
Cleanup of the disabled/unused code.
2008-05-07 10:39:24 +00:00
robocop
c376d70cd9
Make sure rdb$system_flag is written (it's still nullable field).
2008-05-06 09:03:33 +00:00
hvlad
6ee4242552
Fixed bug CORE-1841 : If some VIEW used derived tables and long table names\aliases, It is possible to overflow RDB$VIEW_RELATIONS.RDB$CONTEXT_NAME.
...
Attention : ODS changed !
2008-04-29 16:39:17 +00:00
robocop
f5db14b277
Pass some tdbb's as arguments.
2008-03-18 13:04:05 +00:00
robocop
4cbc8d6a2f
Misc.
2008-02-21 13:11:32 +00:00
dimitr
b745ca1f93
Correction for my prior commit.
2008-02-20 15:11:35 +00:00
dimitr
9fa724a658
Let's create varchar columns with the length defined in fields.h. No more weird 253 and 78 bytes.
...
This change requires everybody to boot-build and recreate already existing ODS 11.2 databases.
2008-02-20 13:17:54 +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
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