dimitr
7869eb9bbd
Fixed the server crash in Stack::assign().
2012-08-13 16:50:57 +00:00
robocop
f601bbdb8b
Misc.
2012-08-08 02:20:30 +00:00
alexpeshkoff
b91c68bb30
Cross-build support + android port: work in progress, currently can build fbclient for android
2012-06-22 11:39:24 +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
robocop
844b15bd13
Misc and style.
2012-05-20 10:00:52 +00:00
asfernandes
a2b389f1db
Getting rid of dsql_nod.
2012-04-25 01:42:47 +00:00
alexpeshkoff
be7c05022c
Fixed 32-bit posix build
2012-04-21 05:16:16 +00:00
asfernandes
fa861b6e95
Misc.
2012-04-05 18:28:44 +00:00
hvlad
cd63621702
Small refactoring
2012-03-30 14:15:08 +00:00
hvlad
453e9d9ae1
Correct reference counting for log writer in trace plugin.
...
Also fixed few AVs.
2012-03-30 13:52:11 +00:00
alexpeshkoff
645c412ac4
Fixed CORE-3770: fbtracemgr loads CPU up to ~55% when no activity is present
2012-03-27 13:16:44 +00:00
dimitr
a76dd8d3e7
Fixed CORE-3791: Performance degrades when actively working with databases bigger than the available RAM amount.
2012-03-27 07:24:55 +00:00
alexpeshkoff
1ceb4847e1
Make plugins use passed instance of master interface, not one got from fb_get_master_interface(). This helps in case when >1 fbclient libraries is loaded by process.
2012-03-26 11:34:52 +00:00
paulbeach
95d274f249
Allow compile on Darwin
2012-03-22 13:09:04 +00:00
alexpeshkoff
ced1e89661
Mac port
2012-03-10 14:01:38 +00:00
robocop
174e958f46
Style.
2012-03-05 22:20:54 +00:00
hvlad
7124c3bc15
Fixed Win32 build
2012-03-02 12:12:15 +00:00
alexpeshkoff
4e795f4047
Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports.
2012-03-01 08:55:43 +00:00
alexpeshkoff
c881c9bc6c
Always define appropriate macro before including pthread.h
2012-02-29 07:08:01 +00:00
alexpeshkoff
462822f4cd
cleanup
2012-02-27 13:50:09 +00:00
alexpeshkoff
2a5e7e7f32
Implemented CORE-672: "Over the wire" connection encryption
2012-02-24 12:39:27 +00:00
asfernandes
e51ddc7a38
Misc.
2012-01-29 02:53:44 +00:00
robocop
32712c2c40
Misc and cleanup
2012-01-27 09:10:12 +00:00
alexpeshkoff
6b88a478c3
Avoid presence of a lot of unneeded stuff like exceptions and pools in fbudf. This also fixes segfault when library is unloaded.
2012-01-25 13:49:08 +00:00
alexpeshkoff
d694457a91
Simplify .h-file dependencies
2012-01-25 09:19:10 +00:00
robocop
21cd78a0fd
Cleanup: unused functions, parameters & variables.
2012-01-24 03:37:43 +00:00
asfernandes
ed3d7ed720
Misc.
2012-01-20 01:42:03 +00:00
robocop
0cf9a89faa
Some paranoid checks for extreme cases.
2012-01-19 08:07:59 +00:00
robocop
0738b570ec
Helper method.
2012-01-17 12:33:10 +00:00
asfernandes
359f74e73a
Misc.
2011-12-24 18:08:13 +00:00
alexpeshkoff
7fb8ebd3a9
Fixed CORE-1898: Increase the password length from 8 characters, CORE-3372: Simplify process of non-default security database creation
2011-12-23 12:43:58 +00:00
asfernandes
b956356922
DDL refactor: ALTER EXTERNAL FUNCTION, ALTER INDEX, SET STATISTICS, CREATE SHADOW, ALTER ROLE, CREATE/ALTER DATABASE.
2011-11-22 16:33:25 +00:00
alexpeshkoff
3513087d98
Fixed services to make them work with trusted auth emulator and old client
2011-10-20 12:20:33 +00:00
asfernandes
eb5689ef0e
Misc.
2011-10-07 02:33:02 +00:00
alexpeshkoff
70ddf7a875
Make services work correctly with multiple security databases
2011-10-04 12:51:57 +00:00
asfernandes
5ae632cf0b
Feature CORE-1288 - Sub Procedures.
...
They're very simple for now. No access to parent variables nor to call neighbour procedures.
Tests at http://firebird.cvs.sourceforge.net/viewvc/firebird/fbtcs/GTCS/tests/FB_SQL_SUBPROC_1.output .
2011-10-02 22:11:41 +00:00
asfernandes
e1c4f46df2
Misc.
2011-08-13 17:07:01 +00:00
alexpeshkoff
b76a2d8c47
Getting ready for support of multiple security databases in services
2011-08-09 12:11:17 +00:00
robocop
59b3dc1c2b
Misc.
2011-07-30 07:14:00 +00:00
asfernandes
93aa34bddb
Fixed the INSERT INTO ... SELECT bug reported by Ivan Prenosil in fb-devel.
2011-07-25 01:40:29 +00:00
asfernandes
47489fa71b
Misc.
2011-06-26 18:48:00 +00:00
robocop
5ad96271e6
Misc.
2011-06-24 06:34:16 +00:00
asfernandes
9c84e1a03f
Misc.
2011-06-15 00:47:19 +00:00
alexpeshkoff
18ef64b242
Fixed UnloadDetector in a case when it gets linked in non-plugin module
2011-06-14 11:34:26 +00:00
hvlad
ab4e88d49e
Missed FB_CARG
2011-06-13 11:08:26 +00:00
robocop
2fcbc4f430
Misc.
2011-06-11 06:09:39 +00:00
alexpeshkoff
40348295e1
Used upgradeInterface() in a number of places.
...
Fixed memory leak when unloading module, related with upgraded interfaces.
Fixed timer on posix to be high resolution.
Better diagnostic in services.
2011-06-10 12:53:51 +00:00
alexpeshkoff
320f7c86b6
Fixed segfault in DEV_BUILD
2011-06-08 09:27:04 +00:00
asfernandes
5ffa6c77c8
Move v3 public include files to src/include/firebird.
2011-06-02 15:57:08 +00:00
asfernandes
2c9dd7e1ff
Misc.
2011-05-28 02:05:45 +00:00
alexpeshkoff
2f85b664d7
Avoid deadlocks in timers. Fixes use of timers to delay plugin modules unload.
2011-05-27 11:31:29 +00:00
asfernandes
62846d2e68
Make synchronization primitives work in the POSIX build.
2011-05-23 15:33:19 +00:00
asfernandes
717ef9c486
Misc.
2011-05-21 19:11:03 +00:00
asfernandes
19cbed237b
Misc.
2011-05-21 18:56:02 +00:00
alexpeshkoff
e01eb34b0e
Atomic operations: use gcc builtin functions instead asm, fix atomic_ops library use
2011-05-20 16:45:31 +00:00
alexpeshkoff
4641d2de68
Better interfaces hierarchy: all of them are derived from IVersioned
2011-05-19 16:24:46 +00:00
alexpeshkoff
85b3b5cf95
Interface for 2PC (distributed transactions coordinator)
2011-05-19 11:38:38 +00:00
asfernandes
fb6c81f0dc
Fix warning.
2011-05-14 21:44:07 +00:00
asfernandes
e4d1311b63
Correction.
2011-05-13 01:23:53 +00:00
asfernandes
d0c2265105
Misc.
2011-05-10 01:12:14 +00:00
hvlad
fef1f49c94
Shared page cache implementation
2011-05-09 10:15:19 +00:00
asfernandes
7915153e51
Misc.
2011-05-07 19:33:46 +00:00
hvlad
f40d569f3f
Don't use placement new[] as its behavior is inconsistent between compilers
2011-05-03 12:03:16 +00:00
hvlad
8b635ddf38
Some refactoring and cleanup.
2011-04-30 11:38:00 +00:00
asfernandes
0b2ffeae81
Misc.
2011-04-30 02:28:31 +00:00
hvlad
eecde7801c
Windows version of PlatformAtomicPointer
2011-04-29 19:11:43 +00:00
alexpeshkoff
c076b1d8c1
Added delay before unloading plugin module after last reference to that module outside plugin manager is gone
2011-04-29 16:24:27 +00:00
alexpeshkoff
b77154b2b5
Cleanup: make fb_atomic be the single file working with atomic operations and membars
2011-04-29 15:50:04 +00:00
hvlad
b0b1db9fc1
Typo and missed cast
2011-04-29 12:03:52 +00:00
hvlad
ff490e8f6a
Cleanup and some comments
2011-04-29 11:34:35 +00:00
hvlad
59c4f7bb9f
Let PlatformAtomicCounter::setValue() returns old value on Windows too
2011-04-29 11:12:29 +00:00
alexpeshkoff
09ecefd320
Fixed posix build
2011-04-29 09:25:06 +00:00
dimitr
dafd8c894e
Misc.
2011-04-28 16:59:29 +00:00
hvlad
388ed56602
correction
2011-04-28 14:39:19 +00:00
hvlad
c65bbf74ca
Preparing for the shared page cache : new sync objects ported from Vulcan
2011-04-28 14:35:58 +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
robocop
ac7cb9019f
Misc.
2011-04-17 05:02:26 +00:00
asfernandes
73543914c7
Misc.
2011-04-15 02:51:29 +00:00
asfernandes
b4056a0463
Misc
2011-04-13 15:09:18 +00:00
alexpeshkoff
437d841cfa
Rolled back my commit using IBlrMessage interface. Replaced with single plain structure FbMessage.
2011-04-13 12:41:40 +00:00
alexpeshkoff
bbf146f918
Renamed a number of functions to match Dmitry's requirement
2011-04-11 11:12:21 +00:00
alexpeshkoff
9a4689d3e9
Use interface IBlrMessage instead passing C++ class pointer to API interface's functions
2011-04-08 16:43:05 +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
asfernandes
03ce334e2b
Misc
2011-04-04 13:37:47 +00:00
robocop
8838103d0e
Explicit and others.
2011-04-02 04:16:48 +00:00
robocop
02cca7f6cb
Fix legacy code.
2011-04-02 04:13:03 +00:00
asfernandes
b688dc04a8
Misc
2011-04-01 02:05:19 +00:00
alexpeshkoff
9ef53b65e0
Remove reference counting where not appropriate
2011-03-31 13:44:22 +00:00
asfernandes
e4658d76c3
Misc
2011-03-20 16:24:46 +00:00
hvlad
72a9eb2fc8
Missed initialization
2011-03-18 13:11:32 +00:00
hvlad
d018caf680
Missed code
2011-03-18 12:28:58 +00:00
alexpeshkoff
f6914b8db0
Added timer-related interfaces. Added helper method to wait for plugin to be released on shutdown. Misc stability changes in PluginManager.
2011-03-16 11:04:04 +00:00
alexpeshkoff
7c8bacb692
Detect forced unload of plugin by OS when process is exited
2011-03-04 15:49:37 +00:00
alexpeshkoff
0a7c3fc69d
Fixed CORE-3369: first step to make it possible to specify non-default security database for specific database
2011-03-02 13:42:56 +00:00
dimitr
1c1e858227
Sorry, but I've got tired of these endless warnings.
2011-02-06 16:19:55 +00:00
alexpeshkoff
172cc477d3
Fixed order of function calls, thanks to Dmitry Kovalenko
2011-01-31 14:05:12 +00:00
alexpeshkoff
a6f11f4add
Avoid use of negative block size for small blocks
2011-01-21 17:18:40 +00:00
alexpeshkoff
e5b62e9789
Misc
2011-01-19 07:15:00 +00:00
alexpeshkoff
ddaddccb97
Fixed bug, found by Adriano - destructor of statically allocated factory should better never be called
2011-01-17 12:17:24 +00:00
alexpeshkoff
8cab237153
cleanup
2011-01-16 17:45:25 +00:00
asfernandes
233093cee4
Misc
2011-01-16 02:16:15 +00:00
alexpeshkoff
d6fcde387b
New plugin manager. Use it for all types of plugins.
2011-01-14 17:31:40 +00:00
alexpeshkoff
db866e3a45
Make fb_string's length limit type-dependent
2010-11-04 16:22:42 +00:00
alexpeshkoff
3c4a864677
Clean up usage of inline keyword in my old code
2010-11-04 15:28:08 +00:00
alexpeshkoff
0ab6c4abf7
Avoid throwing C++ exceptions from authentication plugins
2010-10-28 08:02:42 +00:00
alexpeshkoff
ae516016bf
Fixed performance issues when creating and destroying pools
2010-10-27 09:49:16 +00:00
asfernandes
b5cfdbf513
Misc
2010-10-27 00:32:58 +00:00
alexpeshkoff
3fc570d729
Patches from Damyan Ivanov
2010-10-25 15:48:35 +00:00
alexpeshkoff
605e08944c
Fixed issues, found by clang
2010-10-15 15:53:38 +00:00
alexpeshkoff
8a9a09b0c5
CORE-3184: Committed Damyan's patch - support HW IDs from 2.5
2010-10-15 09:08:25 +00:00
alexpeshkoff
6d962037cb
Fixed issue, detected by clang++ compiler
2010-10-14 06:11:15 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
asfernandes
91384eb587
Misc
2010-10-12 17:40:27 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
asfernandes
18a6a6b4f9
More consts
2010-08-13 15:22:00 +00:00
asfernandes
38a4fb7be2
Misc
2010-08-11 15:33:06 +00:00
asfernandes
dadc0f560c
Const correction for EVL, EXE and they subsystems. Adjustments to CMP and OPT.
2010-08-09 15:48:51 +00:00
alexpeshkoff
14962fb831
Damian's patch for additional CPUs under linux
2010-08-09 13:56:20 +00:00
robocop
4677d74e9b
Misc.
2010-08-09 11:50:12 +00:00
hvlad
087a7f7cda
Fixed bug CORE-3100 : Wait mode and lock timeout of external transaction of EXECUTE STATEMENT not matched to corresponding parameters of local transaction
2010-08-07 21:18:23 +00:00
asfernandes
3197757f00
Rename misleading TriStateType class name to Nullable
2010-07-29 00:20:53 +00:00
asfernandes
0b7c21172a
Refactor CREATE/ALTER/DROP/RECREATE TABLE and DROP VIEW commands
2010-07-26 02:37:57 +00:00
hvlad
2c6529c303
Correction.
2010-07-24 11:22:57 +00:00
asfernandes
2cbc4e3675
Misc
2010-07-24 02:43:28 +00:00
alexpeshkoff
d24cd9cbd7
Implemented self-registering plugins format (same plugin can be easily linked statically
...
or as dynamic library, depending upon platform requirements). Self-registering plugins
need not export any functions, instead they call fb_register_plugin() on startup.
Reworked all user management to use self-registering plugins.
Removed system table RDB$USERS. PLG$USERS is not created automatically by plugin, but
will be later (work in progress).
2010-07-23 12:04:18 +00:00
dimitr
5c1c5ee7a9
Fixed the old bug which was left unnoticed until RC3 where Pair<MetaName, MetaName> was used as a key for a b-tree.
...
At the first glance, it promises only wrong ordering of items, but in fact it trashes the b-tree internals and crashes the server :-(
It's unregistered and undocumented, but being a very recent RC3 only regression, let's leave it this way.
I suppose the intended code should be !(v.first < this->first), but we have the operator == defined, so I used a simpler form.
2010-07-08 10:44:35 +00:00
asfernandes
20b0bbaf82
Refactor CREATE/ALTER/DROP DOMAIN
2010-07-06 00:49:33 +00:00
asfernandes
ab834d2ec1
Fixed CORE-3038 - The insert failed because a column definition includes validation
2010-06-12 16:28:11 +00:00
alexpeshkoff
c985b0a87d
Mac port - use dispatch semaphores
2010-06-08 13:35:46 +00:00
asfernandes
e37d097240
Misc
2010-05-22 02:00:45 +00:00
alexpeshkoff
74a4aaacb6
Moved not auth-specific part of interface declaration to separate file
2010-05-20 15:02:31 +00:00
dimitr
8c00b7c251
Fixed CORE-2966: Wrong results or unexpected errors while sorting a large data set.
2010-04-13 07:01:02 +00:00
dimitr
e0179c672d
Cleanup. Let's finally use a single (and standard) behavior of the allocator.
2010-04-08 09:35:39 +00:00
asfernandes
fe9bf02848
Refactor user and system functions nodes
2010-04-05 18:43:11 +00:00
alexpeshkoff
f5970e2fca
Cleanup SUPERCLIENT - always use same method to get automatic pool
2010-03-24 12:11:59 +00:00
robocop
d0a9add6d0
Totally misc.
2010-03-24 07:02:30 +00:00
alexpeshkoff
26f9b12d04
Cleanup - SUPERCLIENT, never needed here to avoid throwing something in fbudf library now. To be explicit marked used methods (which really never throw something) as "throw()"
2010-03-22 18:27:17 +00:00
robocop
28eb2aba81
Style.
2010-03-15 06:39:09 +00:00
asfernandes
d3ad05b7eb
Misc
2010-03-14 15:33:06 +00:00
alexpeshkoff
c933ba6af6
Make config files case-insensitive
2010-03-11 14:46:19 +00:00
robocop
be3660d221
Misc.
2010-03-07 04:30:35 +00:00
alexpeshkoff
e5017f1a12
Extend format of firebird configuration file with a set of additional parameters for any parameter.
...
Use traditional firebird configuration files format in all places (intl, trace, etc.).
Add per-database configuration facility to aliases.conf (currently 15 parameters from firebird.conf).
2010-02-28 18:00:51 +00:00
asfernandes
5cb37fda71
Misc
2010-02-11 01:08:20 +00:00
robocop
7ffc4d001f
Misc.
2010-02-08 07:57:33 +00:00
alexpeshkoff
08a8ee9f42
Make InitInstance release objects, created by it
2010-02-07 15:13:28 +00:00
asfernandes
a454b705d0
Misc
2010-01-28 15:01:57 +00:00
robocop
2b13bcfa2a
Style.
2010-01-27 04:33:36 +00:00
robocop
446097fe8e
Be explicit, change "qualifier" to "package" in QualifiedName (needed anyway if/when schemas are added).
2010-01-27 04:32:27 +00:00
alexpeshkoff
da12b517a5
Make ctor/assign with explicitly given bytes count more generic
2010-01-26 15:14:47 +00:00