8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-01 16:40:38 +01:00
Commit Graph

1041 Commits

Author SHA1 Message Date
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
robocop
1d87d749f0 Misc. 2010-01-26 08:20:27 +00:00
asfernandes
eb9eef9d77 Misc 2010-01-24 15:18:43 +00:00
alexpeshkoff
dc3f505ccb Cleanup, suggested by Claudio 2010-01-24 15:16:23 +00:00
alexpeshkoff
55e717f810 Moved authentication code from engine to remote listener.
Get ready for authentication plugins.
2010-01-22 14:55:11 +00:00
asfernandes
2faab16698 Misc 2010-01-21 02:51:32 +00:00
robocop
14b9cbab5a Totally misc. 2010-01-20 08:25:37 +00:00
hvlad
abfb67edbb Fixed bug when huge memory chunk (more than 2GB) is released 2010-01-19 12:50:43 +00:00
asfernandes
7de2c38703 Misc 2010-01-09 22:15:18 +00:00
asfernandes
72fab0e317 Update way to deliver parameterized exceptions so the client doesn't need special handling 2010-01-08 14:13:12 +00:00
asfernandes
be859980ea Feature CORE-832 - Parameterized exceptions 2010-01-07 00:16:50 +00:00
asfernandes
7e18d760ab Fix segmentation fault running tcs SVC_API_SWEEP_DB 2010-01-02 21:34:39 +00:00
robocop
dc978c61e9 Style. 2010-01-02 02:02:17 +00:00
asfernandes
e13a0e3865 Misc 2010-01-01 20:23:52 +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
alexpeshkoff
443f261abf Introduce isc_dpb_version2 - format is WideTagged. 2009-12-30 15:24:16 +00:00
alexpeshkoff
4f58f8ef67 removed wrong assertion 2009-12-30 15:16:32 +00:00
hvlad
a3ab95f8f6 All memory allocations should be ALLOC_ALLIGMENT aligned.
It fixed bug in Win64 DEBUG build.
2009-12-29 12:46:53 +00:00
alexpeshkoff
f2753b7e86 Frontported changes to make -Direct switch of nbackup accept on/off parameter 2009-12-18 14:06:28 +00:00
alexpeshkoff
c569345201 Some more changes suggested by Claudio 2009-12-16 13:40:26 +00:00
alexpeshkoff
3b95a6b5b4 Fixed an issue with gsec compatibility with previous versions 2009-12-16 11:25:50 +00:00
robocop
dae574f7f1 Misc, style and unused vars. 2009-12-13 10:41:53 +00:00
aafemt
83261600c1 Fix MinGW build 2009-12-13 09:43:02 +00:00
robocop
f7957e6910 Totally misc. 2009-11-16 09:03:49 +00:00
robocop
b9106f313b Warnings. 2009-11-14 09:20:54 +00:00
robocop
6f0d002188 Misc. 2009-11-14 09:19:45 +00:00
asfernandes
cefe295ad9 Misc 2009-11-14 01:20:33 +00:00
alexpeshkoff
4f54fd68e8 Frontported improvement CORE-2748: allow gsec to grant RDB$ADMIN role in the security database 2009-11-13 19:00:09 +00:00
alexpeshkoff
8bfa0a37a2 Feature CORE-1952: deprecate Implementation IDs, easing new ports; ODS change - BOOT build needed 2009-11-13 18:29:06 +00:00