8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-01 06:43:03 +01:00
Commit Graph

950 Commits

Author SHA1 Message Date
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