1ba1af29f0
Hopefully better name in #ifdef
2016-10-18 10:55:21 +03:00
Dmitry Starodubov
70acd97746
Added check for access rights to BLOBs ( #53 )
...
This security fix helps to avoid a case when user guessing blob ID in one or other way gets access to the blob which should not be accessible for him.
2016-10-18 10:39:04 +03:00
Dmitry Yemanov
4759ea8aa3
Bugfix for CORE-5307: Random 'invalid transaction handle' errors are returned from the engine.
2016-07-13 18:48:12 +03:00
dimitr
03682a1a8b
Misc.
2015-02-15 13:25:54 +00:00
hvlad
43f67462e2
Improvement CORE-4671 : Release internal temporary blobs early to free some memory\disk space
2015-01-26 14:15:54 +00:00
alexpeshkoff
153de0f271
Language independent API
2014-09-29 11:03:47 +00:00
asfernandes
86487fda92
Misc.
2014-07-20 02:19:06 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00
alexpeshkoff
2a01e4bcf9
Implemented CORE-3861: Make it possible to encrypt database
...
Also some cleanups, the most important are:
- meaningful ctor on Jrd::Lock, helping to avoid code dup
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
asfernandes
4ffb392c89
Warnings.
2012-02-16 01:11:27 +00:00
robocop
0b5ee78cb7
Make more members of blb private.
2012-02-15 07:13:41 +00:00
robocop
eed418a89e
Make blb resemble more a class: private data members, convert some functions into methods, add methods with code that was in other files, etc.
2012-02-15 03:34:21 +00:00
asfernandes
8963f176e7
Misc.
2012-02-11 14:34:13 +00:00
robocop
186c817caa
Playing with fire: converting some static functions into member functions. I tried to check every change I did.
2012-02-07 03:17:52 +00:00
asfernandes
5ffa6c77c8
Move v3 public include files to src/include/firebird.
2011-06-02 15:57:08 +00:00
asfernandes
9754526943
Misc; reinterpret to static casts; correction in YRequest version.
2011-04-26 01:00:33 +00:00
alexpeshkoff
256cb1e853
1. Use reference counted stable in global pool objects instead PublicHandle's validation.
...
2. Avoid massive segfaults when closing heavily loaded server.
3. Restored logic in YValve required for correct shutdown.
4. Do not change externally visible request body when preparing it.
2011-04-25 17:47:56 +00:00
asfernandes
b781d62d4a
Make the new BLOB API use void* buffers, so applications can read/write char* strings or any other type without casts.
2011-04-15 18:54:02 +00:00
alexpeshkoff
4c3f87d6bd
Continued renaming interfaces. Added comments
2011-04-08 15:18:50 +00:00
alexpeshkoff
5c88e478f6
Use better names for a number of objects according to Vlad's suggestion
2011-04-07 17:16:00 +00:00
hvlad
dca44e309d
Make it compiles on Windows after Alex's changes. MSVC10 build will follow later.
2011-01-24 12:51:32 +00:00
alexpeshkoff
d6fcde387b
New plugin manager. Use it for all types of plugins.
2011-01-14 17:31:40 +00:00
alexpeshkoff
0ab6c4abf7
Avoid throwing C++ exceptions from authentication plugins
2010-10-28 08:02:42 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
robocop
d524952611
Comments, cleanup and eliminating gaps in flags.
2009-11-28 07:36:45 +00:00
asfernandes
3f5aded4e3
Misc
2009-11-28 01:44:42 +00:00
robocop
d8a012014b
Comments.
2009-11-27 08:34:34 +00:00
robocop
0bf3d11247
Misc.
2009-04-10 14:28:35 +00:00
alexpeshkoff
437dea645b
Fixed xlC warnings
2009-04-08 10:21:29 +00:00
robocop
89cf9c449c
Comment unused fields.
2008-05-08 14:22:09 +00:00
alexpeshkoff
c0a472d65e
1. Replaced JString (and some plain char[] buffers) with Firebird::string.
...
2. Make memory allocations look (and wrok) in current firebird style.
3. Fixed vararg usage problem on amd64/linux in AdminException.
2008-04-24 15:49:43 +00:00
robocop
f8dee95b8c
Misc.
2008-04-21 11:39:35 +00:00
asfernandes
0b6ecafe1b
1) Remove REPLAY_OSRI_API_CALLS_SUBSYSTEM code
...
2) Remove internal y-valve function INTERNAL_COMPILE_REQUEST
3) Go direct to engine internals from DSQL, without need to exit/enter the attachment lock and check exceptions in status vector
2008-03-07 15:23:21 +00:00
dimitr
d4d587d155
The merge continued.
2008-01-16 08:16:36 +00:00
asfernandes
c67afcb4ee
Improvement CORE-1277 - Automatic transliteration of text blobs
2007-05-22 02:14:20 +00:00
alexpeshkoff
9068d7787f
Frontported alignment and endianess fixes from 2.0
2007-03-25 16:09:00 +00:00
dimitr
937333b619
An alternative attempt to fix the alignment issue. We don't need to track the entire blob_id, the record number part is enough. Hence there's no need to read the whole blob_id as int64.
...
Discussed with Vlad and Alex, tested on SPARC.
2007-03-23 11:25:41 +00:00
hvlad
58d381edd7
1. Remove blr_src_info code as it is prevents database downgrade from ODS 11.1
...
2. Put debug information (mapping between blr offset and source line\column and names of local variables) into new blob field RDB$DEBUG_INFO
This is first step to implement native SQL debugger i believe
2006-10-30 20:58:06 +00:00
hvlad
701f2cbda4
Global temporary tables implementation
2006-05-21 22:07:35 +00:00
hvlad
25fb29b127
Fixed SF #1446987
2006-03-17 09:28:35 +00:00
skidder
3e6b170862
Roll back implementation of Claudio suggestion for consturctor of BID structure. It forced addition of constructors for message structures generated by GPRE which is not correct
2004-10-03 20:18:13 +00:00
skidder
36c4d7b832
Implement BID constructor as Claudio suggested
2004-10-01 21:12:46 +00:00
skidder
abe8670cbe
Use slightly more hairy BID structure to work correctly on Sparc, PPC and other RISC platforms
2004-09-30 17:45:09 +00:00
skidder
02a0915156
Teach engine to work with larger record numbers - 64-bit internally, 40-bit externally
2004-09-28 06:28:38 +00:00
skidder
f4e7ebdd3b
Implement rudimentary framework to track lifetimes of active BLOBs.
...
This solves the following issues:
1) Outrageous memory consumption when blobs are converted from strings during request processing
2) Materialization doesn't cause invalidation of BLOB IDs too early.
Original behaviour caused errors with updatable views or procedures receiving BLOB arguments.
2004-06-22 20:13:10 +00:00
brodsom
2f4865a195
Replace defines for constants
2004-04-29 14:51:02 +00:00
alexpeshkoff
603ca46b04
reverted class bid back to struct - thanks to Claudio
2004-03-31 17:17:04 +00:00
alexpeshkoff
7007d6f2a4
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
958f9e31aa
Cleanup
...
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +00:00
robocop
f58c769c37
Cleanup. In geeky words:
...
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00