8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 11:23:02 +01:00
Commit Graph

1611 Commits

Author SHA1 Message Date
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
alexpeshkoff
ea1b1843d8 Cleaned up macro BOOT_BUILD, boot ObjModuleType in posix build and a lot of related steps in posix build 2010-05-18 13:32:30 +00:00
alexpeshkoff
b2da448e8c Fixed problems, noticed by Claudio and Adriano 2010-05-17 10:01:34 +00:00
asfernandes
d6e4b53865 Misc 2010-05-08 02:25:58 +00:00
alexpeshkoff
965b851b77 Fixed CORE-2984: gbak -v srv:db stdout creates a broken backup 2010-05-06 13:42:20 +00:00
skidder
f540236674 Re-introduce access to DSQL debugging facility accidentally made inaccessible by Dmitry Y. during Firebird 2.5 development cycle. Also document it firebird.conf and enable it in PROD_BUILD. It is rather hard to debug DSQL compiler issues without intermediate trace output. 2010-05-01 13:47:39 +00:00
robocop
b682a6c39c Misc. 2010-04-21 10:41:22 +00:00
asfernandes
c0165e8c91 Dmitry changed that default value recently. So it seems the old one got wrong while syncing the code. 2010-04-16 01:44:10 +00:00
alexpeshkoff
88b8a40a04 1. Cleaned up most of SUPERSERVER usage.
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())

2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).

3. Small posix build cleanup.
2010-04-15 14:40:27 +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
dimitr
63babe1492 Changed the default page cache size for Classic, as discussed in fb-devel. 2010-04-08 04:15:08 +00:00
asfernandes
fe9bf02848 Refactor user and system functions nodes 2010-04-05 18:43:11 +00:00
dimitr
c8863d86b1 Fixed fbclient/fbembed being loaded from non-FB-instance location. 2010-03-29 10:54:18 +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
dimitr
d3b0f4db34 A (temporary?) solution to prevent dependencies from SUPERCLIENT/EMBEDDED in the root directory determination.
To be reconsidered later, if necessary.
2010-03-21 09:50:39 +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
asfernandes
9463ffe238 Misc 2010-03-08 01:21:24 +00:00
robocop
be3660d221 Misc. 2010-03-07 04:30:35 +00:00
alexpeshkoff
34cf00e326 Removed RootDirectory parameter from firebird.conf and enabled use of vulcan-style macro in it 2010-03-05 17:21:18 +00:00
alexpeshkoff
e344287aa0 Make all configuration files case-sensitive 2010-03-04 12:52:01 +00:00
asfernandes
06e6e0531b Misc 2010-03-04 02:16:55 +00:00
alexpeshkoff
d6fcd8eb63 It was bad idea to make two TempSpace related parameters per-database - rolled back some changes 2010-03-03 15:02:01 +00:00
alexpeshkoff
fdbf8dd2bc Make this variable volatile - thanks to Adriano 2010-03-02 15:13:55 +00:00
alexpeshkoff
c8071aee27 comments 2010-03-02 14:52:55 +00:00
alexpeshkoff
e3d3d8e3fb Moved template function to .h file 2010-03-02 14:48:37 +00:00
alexpeshkoff
aee38abecd Clear value here - thanks to Claudio 2010-03-02 14:25:54 +00:00
hvlad
692878348e Lets be independent from internal representation of time_t type 2010-03-02 10:23:37 +00:00
hvlad
05f3d82854 Lets report missing file name ;) 2010-03-01 09:03:00 +00:00
hvlad
7e437dd384 Fixed Windows build after recent changes 2010-03-01 08:19:47 +00:00
asfernandes
77a2706b73 Misc 2010-03-01 02:14:36 +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
alexpeshkoff
8f86a54bbd const correctness 2010-02-08 13:39:37 +00:00
robocop
7ffc4d001f Misc. 2010-02-08 07:57:33 +00:00
robocop
be4ecc52c6 Leave this clause in two lines for easier debugging, please. 2010-02-08 07:57:08 +00:00
alexpeshkoff
08a8ee9f42 Make InitInstance release objects, created by it 2010-02-07 15:13:28 +00:00
alexpeshkoff
239e9708bb Always convert arg_cstring to arg_string when saving strings in circular buffer 2010-02-07 13:17:41 +00:00
alexpeshkoff
50f1294ec3 Fixed copy of cstring in status vector 2010-02-07 10:16:04 +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
robocop
94b6451014 Allow QualifiedName to interact with StatusArg. 2010-01-26 07:32:12 +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
fa6607bd24 Fixed unregistered bug - invalid datetime2string conversion, reported by Claudio 2010-01-23 14:14:16 +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
dimitr
00bc7b9025 Cleanup the deprecated configuration stuff. 2009-12-28 13:27:10 +00:00
asfernandes
dd6331f002 Some fixes; Misc. 2009-12-22 00:08:49 +00:00
robocop
13a8d5488f Get rid of the obsolete option CompleteBooleanEvaluation in the config file. We always do short-circuit boolean logic. 2009-12-21 07:01:24 +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
4f249d5269 Frontported - fixed delivery of status vector from service thread 2009-12-18 12:42:26 +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
asfernandes
a035a92ce2 Misc 2009-12-06 02:40:03 +00:00
asfernandes
e99a07bffd Remove usage of tdbb (and tdbb->tdbb_status_vector) in the lock manager 2009-12-06 01:34:57 +00:00
asfernandes
7a78601ef2 1) Use metadata character set in DSQL cache
2) Make exceptions in metadata charset and convert them to the client charset - this should fix CORE-2431
3) Support for "internal" (engine) DSQL statements and use in COMMENT ON
2009-12-05 14:21:52 +00:00
robocop
44c469b51a Misc. 2009-12-01 05:35:54 +00:00
alexpeshkoff
34d79c9c3f Fixed CORE-2728: Access Violation when trying to add an user that already exists 2009-11-30 12:10:47 +00:00
asfernandes
9ec1c36a55 Cleanup 2009-11-28 19:39:23 +00:00
robocop
9af5ae7f8d Style. 2009-11-23 05:24:29 +00:00
robocop
f7957e6910 Totally misc. 2009-11-16 09:03:49 +00:00
asfernandes
1e794dc51d Fix typo 2009-11-15 18:38:34 +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
asfernandes
0b2a994c27 Misc 2009-11-13 01:36:09 +00:00
verbguy
6fe23f8f33 commit missing Solaris inline assembly routines - SPARC and AMD64 2009-11-10 15:53:38 +00:00
verbguy
09b03c3196 fix Sun Studio build - int64_t type name is unknown 2009-11-10 15:16:30 +00:00
alexpeshkoff
ae14324dbe Added license 2009-11-06 18:09:00 +00:00
asfernandes
87e274b76a Misc 2009-11-06 01:21:14 +00:00
alexpeshkoff
1742eca1f3 Use correct type in class instead adding static_cast<> here and there 2009-11-05 11:56:26 +00:00
robocop
08a33d50cc Unfortunately several of these are intertwined:
CORE-462 	 New option in addition to -V switch to specify a custom verbose interval
CORE-2540 	 Utilities need a more coherent way to show help and version
CORE-2541 	 Too many hardcoded messages in nbackup
CORE-2542 	 qli and nbackup accept arbitrary input after the first letter of an option
CORE-2543 	 nbackup may hide the real cause of failure
CORE-2545	 Lack of several validations in gbak
CORE-2547 	 Utilities need to honor their minimum number of characters to recognize an option
CORE-2565 	 Many hardcoded messages in Trace Manager
Moving functions that don't depend on preprocessing to iutils.cpp in isql is the only alien change here.
2009-11-05 09:03:41 +00:00
robocop
55d60892ca Warnings. 2009-11-05 08:29:33 +00:00
robocop
01237d509d Misc. 2009-11-05 08:27:03 +00:00
hvlad
996ce01cb5 Fix Win32 build 2009-11-04 15:48:17 +00:00
hvlad
cd4502a7bb Make WIN32 build work. To be reviewed by Alex. 2009-11-04 15:18:38 +00:00
robocop
f9a571343f Misc. 2009-11-04 13:05:30 +00:00
alexpeshkoff
bc99c22556 Some hanges suggested by Claudio, also fixed compile errors 2009-11-04 11:37:10 +00:00
robocop
1990db7c9c Misc (hope the change is for better). 2009-11-04 10:51:27 +00:00
alexpeshkoff
c40737ca56 cleanup unused NDEBUG macro 2009-11-04 10:04:33 +00:00
alexpeshkoff
d91792c9e2 Added initialization - thanks to Adriano 2009-11-04 09:50:37 +00:00
alexpeshkoff
27ca1a00dd Added forgotten new file - thanks to Adriano 2009-11-04 09:39:25 +00:00
asfernandes
bcee7417c4 1) Misc; 2) Fix bad indenting 2009-11-04 00:20:56 +00:00
verbguy
5148da5cd8 fix Sun Studio error, "a union member cannot have a user-defined assignment operator," per Adriano's suggestion 2009-11-03 15:02:11 +00:00
alexpeshkoff
00affefdb0 Small fixes after changing memory manager 2009-11-03 13:33:53 +00:00
alexpeshkoff
4dc99001af Vulcan improvement - keep reason of locking to be viewed by debugger 2009-11-03 13:31:24 +00:00
alexpeshkoff
2d0701f96e Merged vulcan memory pools 2009-11-03 13:30:37 +00:00
robocop
a8b74e0a3b CORE-1712: Another B.O. bites the dust. 2009-11-03 10:00:57 +00:00
verbguy
5e904927f7 front port recent 2.5 HPUX changes 2009-11-02 21:08:58 +00:00
asfernandes
4a3d198ade Misc 2009-10-31 01:46:06 +00:00
robocop
b304b96224 Misc. 2009-10-30 10:43:42 +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
asfernandes
5f852e3bd1 Misc 2009-10-08 00:21:27 +00:00
alexpeshkoff
7d08867e27 Fixed CORE-2669: Enhance diagnostics in case of status vector overflow 2009-10-07 08:22:01 +00:00
alexpeshkoff
749675cf6d Cleanup 2009-10-06 12:51:34 +00:00
alexpeshkoff
fbda7f245e Fixed CORE-2439: Add FIX_FSS_DATA and FIX_FSS_METADATA into the server 2009-10-05 10:26:59 +00:00
alexpeshkoff
d0f2c3a623 Assertion added 2009-09-30 08:51:04 +00:00
asfernandes
90dfb9a411 Misc 2009-09-30 01:10:11 +00:00
verbguy
56f291e05f HP-UX changes - 64-bit atomic counters, support for HP-UX 11 v2, and small tweak of build options 2009-09-29 19:13:51 +00:00
alexpeshkoff
b19dacee16 Ported fix for CORE-2634: Performance regression when restoring database with big metadata 2009-09-29 10:35:16 +00:00
verbguy
45bbbe0613 Improvement CORE-2619: make Solaris 10 atomic counters 64-bit 2009-09-28 17:14:24 +00:00
robocop
19323b3801 Misc. 2009-09-22 09:44:03 +00:00
alexpeshkoff
0396da5147 Improvement CORE-2619: make atomic counters 64-bit for 64-bit builds on AIX, linux and with libatomic 2009-09-22 09:08:57 +00:00
asfernandes
2c4ff818df Misc 2009-09-17 15:55:18 +00:00
verbguy
d80913a37e Fixed CORE-2315: Better definition of FLOAT_MAX. Tested on AIX. 2009-09-15 15:47:22 +00:00
alexpeshkoff
dda4cd784b Take into an account case sesitivity - thanks to Claudio 2009-09-14 07:48:54 +00:00
asfernandes
c34a508256 Misc 2009-09-12 01:34:26 +00:00
alexpeshkoff
60a115efc2 Fixed CORE-2601: fine tuning of the installation directories does not work in configure 2009-09-11 10:49:46 +00:00
robocop
38b621fd1b Misc. 2009-09-10 06:04:54 +00:00
hvlad
46a72fcc51 Improvement CORE-2619 : Make memory and other statistics to work with 64-bit values.
Part (a) for Win64 - allow Win64 builds of engine to account memory stats using 64-bit values
2009-09-09 10:23:54 +00:00
asfernandes
9902dfc555 Fix problem verified by Claudio 2009-09-06 15:42:15 +00:00
robocop
dfd4b2114c Misc. 2009-09-06 06:24:07 +00:00
asfernandes
11ecb659e4 Misc 2009-09-05 18:18:44 +00:00
asfernandes
c8a6620661 Fixed CORE-2615 - Silent truncation when using utf8 parameters and utf8 client character set encoding 2009-09-04 15:20:48 +00:00
asfernandes
d8f739f53c Misc 2009-09-03 01:28:54 +00:00
robocop
0f671fc249 Misc. 2009-09-02 09:04:10 +00:00
hvlad
1fff28ee80 Fixed VC8 build 2009-09-02 08:02:47 +00:00
robocop
43962281d4 Misc and isolate the win9x code even more. 2009-09-02 04:23:02 +00:00
alexpeshkoff
404f2b7c0b Avoid suspicious ctor according to Claudio's request 2009-09-01 10:36:30 +00:00
hvlad
a6cb268489 Optimize a bit 2009-09-01 09:44:19 +00:00
alexpeshkoff
9629eafccd Use per-thread circular strings buffers instead common and per-attachment combination 2009-09-01 09:20:24 +00:00
skidder
aca5a83a46 Fixed CORE-2609: Update support for Windows 98/ME and NT4.0 2009-08-30 19:00:46 +00:00
dimitr
cc46e2cdac Grammar. 2009-08-30 10:08:19 +00:00
skidder
2b9fa8cf4e Support for filesystem cache size management needed to work with large databases on modern Windows hosts (64-bit - starting with XP, 32-bit - starting with Vista) 2009-08-29 19:55:23 +00:00
robocop
09033f5e82 Warnings from Bill Oliver. 2009-08-27 09:51:55 +00:00
alexpeshkoff
10de4096a5 misc 2009-08-27 08:07:06 +00:00
asfernandes
8c0b380fac Misc 2009-08-27 02:19:36 +00:00
robocop
cb7fee92da Misc. 2009-08-26 14:50:54 +00:00
alexpeshkoff
9a325bd8b5 Avoid need in StringsBuffer when processing serious system errors 2009-08-26 13:08:54 +00:00
asfernandes
50102f6f4c Misc 2009-08-23 01:27:46 +00:00
dimitr
7ad1ec32a5 The same logic just expressed differently. 2009-08-21 11:59:57 +00:00
dimitr
f917a445e9 Misc. 2009-08-21 08:30:10 +00:00
dimitr
21971f03a0 Fixed CORE-2422: Server doesn't switch between multiple entries configured in TempDirectories when some of them is out of free space.
Moved the common code to File.h.
2009-08-21 08:28:08 +00:00
robocop
285c473866 Style. 2009-08-19 13:01:42 +00:00
robocop
3dd3b09005 Misc and style. 2009-08-19 12:58:17 +00:00
robocop
bf0f18d323 Style (irrelevant). 2009-08-18 12:43:21 +00:00
robocop
cde9f689d8 Comment unused enum member. 2009-08-18 12:41:39 +00:00
robocop
082008c683 Delete obsolete comment. 2009-08-18 12:40:41 +00:00
robocop
8ce0cf3e79 Style. 2009-08-16 05:25:30 +00:00
verbguy
9dd0930e8c change symbolic label to numeric label to fix repeated symbol error during optimized build 2009-08-13 01:11:42 +00:00
asfernandes
09b6e1b26b Misc 2009-08-09 22:21:31 +00:00
hvlad
e393abbbed Fixed bug CORE-2586 : Make all kernel object names in the same namespace 2009-08-08 12:39:32 +00:00
robocop
aaa1b979d2 Little improvement. 2009-08-07 12:13:56 +00:00
asfernandes
fea56bf058 Misc 2009-08-06 01:06:05 +00:00
robocop
d19fd95de3 Style. 2009-08-05 06:35:01 +00:00
robocop
569baefa3e Debug checks. 2009-08-05 06:27:57 +00:00
asfernandes
8c265e5a45 Misc 2009-08-01 18:41:46 +00:00
asfernandes
ae21e3de1d Fix typo 2009-08-01 18:29:46 +00:00
robocop
46a39ddd42 Totally misc. 2009-07-31 09:29:52 +00:00
alexpeshkoff
5b6738dcb4 Patch from Bill Oliver and some more consts 2009-07-31 09:17:30 +00:00
alexpeshkoff
e9d3b31cc2 HPUX port - support crazy C-runtime on Itanium 2009-07-30 13:27:38 +00:00
alexpeshkoff
3bdb9d5f06 Fixed use of size_t variables in printf() - thanks to Claudio 2009-07-30 12:16:36 +00:00
alexpeshkoff
d533492e3a comment 2009-07-28 12:03:58 +00:00
alexpeshkoff
ae4855b4b3 Implementation of atomic counter using libatomic_ops. Useful at least for s390/linux. 2009-07-28 11:16:31 +00:00
asfernandes
8852f52d67 Misc 2009-07-25 00:48:46 +00:00
asfernandes
28a7e4c037 Misc 2009-07-24 02:15:07 +00:00
alexpeshkoff
440fad4858 HPUX port by Bill Oliver and Jerry Adair 2009-07-23 08:58:26 +00:00
asfernandes
6377356940 Misc 2009-07-23 00:56:28 +00:00
paulbeach
78b5563d92 And the long march to making Firebird build and run on MacOSX continues 2009-07-21 14:18:34 +00:00
paulbeach
00af06a82f And the long march to making Firebird build and run on MacOSX continues 2009-07-21 13:59:45 +00:00
alexpeshkoff
a202c46dc0 Use more standard macro 2009-07-21 11:51:27 +00:00
robocop
8cb338c96d Misc. 2009-07-21 09:46:11 +00:00
alexpeshkoff
4506ae61bc Solaris 9 patch from SAS 2009-07-21 08:58:28 +00:00
asfernandes
57248e5a2c Warning 2009-07-16 15:08:38 +00:00
asfernandes
b6090862a0 1) Fix abort when converting dbkeys to strings with not capable lengths
2) Fix storage of malformed bytes when converting from dbkeys to non-octets strings
2009-07-15 20:18:03 +00:00
hvlad
509a8558ab Fixed bug in my prevoius commit. 2009-07-15 15:28:04 +00:00
alexpeshkoff
73f5eb6fc3 Fixed conversion from dbkey to string - thanks to Adriano 2009-07-14 08:58:08 +00:00
asfernandes
adacf54d74 Misc 2009-07-14 01:18:17 +00:00
robocop
de4be11750 Misc. 2009-07-13 10:00:43 +00:00
hvlad
0bb6d05d8f Disable "parent redirect" feature and allocate memory for child pool from parent pool instead. It will improve speed of "deallocate by pool" mechanism for child pools (primary DSQL and CMP pools).
Regression (slowdown) was reported by Gabor Boros in fb-devel.
2009-07-12 17:37:55 +00:00
asfernandes
181345f235 Increase the "probe stack" test to 128K, as there may be > 64K local variables (like DatabaseSnapshot::DumpRecord). 2009-07-10 15:14:07 +00:00
alexpeshkoff
fe4aec8a12 Fixed CORE-2550: Bus error when working with DB_KEY on bigendian machines. Introduced dtype_dbkey inside engine. 2009-07-09 14:04:42 +00:00
asfernandes
bdf1bf85e6 1) Move some StringBase methods to AbstractString, so AbstractString could be used to mean PathNames or strings
2) Change ISC_escape / ISC_unescape accordingly
3) Fix bug in ISC_systemToUtf8 and ISC_utf8ToSystem when str is empty
2009-07-06 15:29:14 +00:00
robocop
67c4d03965 Style. 2009-06-28 11:59:30 +00:00
robocop
f10e1b72eb Style. 2009-06-27 06:23:36 +00:00
asfernandes
2e2e50d96a Warning 2009-06-25 15:13:48 +00:00
asfernandes
928d2616fd Misc 2009-06-19 02:29:08 +00:00
asfernandes
cb40c9f8ba Apply Alex/Bill/Jerry/me patch re. portability in redefinition of operator new 2009-06-13 16:36:10 +00:00
robocop
11272e5c79 Sign extension test. 2009-06-12 13:18:53 +00:00
robocop
d614aa9c65 Update logic for ininf() in POSIX and use macro isnan instead of _isnan in Windows. 2009-06-12 08:24:59 +00:00
hvlad
c63ae53d19 Patch by DS and VKh to speed up SQZ in some cases 2009-06-10 12:41:13 +00:00
alexpeshkoff
e5e97ae021 Avoid sign extension problems in CVT 2009-06-10 12:30:31 +00:00
alexpeshkoff
366f547d01 Cleanup - thanks to Claudio 2009-06-10 08:06:57 +00:00
alexpeshkoff
302e0d2cd9 Reworked class Semaphore:
1. Mach semaphores on Darwin.
2. No more local SysV semaphores.
3. Fixed bugs in conditional var based semaphore.
4. Moved big methods from .h to .cpp file.
2009-06-09 13:58:06 +00:00
alexpeshkoff
f21a2bf4be Make initialization distributed - each subsystem does what it needs when needs, removed gds.cpp:init() 2009-06-09 10:08:12 +00:00
dimitr
ae1de3f245 CORE-2263: RemoteAuxPort for SuperClassic and regular Classic.
This change also fixes the possible races in SuperServer (possible after getting rid of the global mutex in the remote subsystem).
2009-06-08 12:21:31 +00:00
asfernandes
486962d8c1 Put TempFile in Firebird namespace 2009-06-06 18:39:29 +00:00
robocop
c6106603df Misc. 2009-06-05 10:24:39 +00:00
alexpeshkoff
5ac9a5e003 HPUX port 2009-06-05 10:04:45 +00:00
alexpeshkoff
0c9bc92dad Fixed Sun compiler warnings 2009-06-04 09:32:08 +00:00
alexpeshkoff
4f0eb26a9b Fixed Sun compiler warnings 2009-06-03 13:13:08 +00:00
robocop
51d3c9b756 Let's use more typical #ifdef to test macros instead o #if. 2009-05-29 11:27:41 +00:00
hvlad
6511cace58 Ability to create temporary files in specified folder 2009-05-28 09:48:13 +00:00
robocop
52355d8256 Style. 2009-05-28 05:47:07 +00:00
asfernandes
6e55b48e24 Misc 2009-05-28 01:53:38 +00:00
alexpeshkoff
46527f2084 MT safe floating point exceptions control. Raise error in case of FP overflow according to SQL standard requirements. 2009-05-27 07:57:06 +00:00
asfernandes
b8c3b0dda6 Misc 2009-05-27 01:36:00 +00:00
alexpeshkoff
e2e6b8bd10 Solaris port, related cleanup 2009-05-25 15:47:20 +00:00
robocop
c7b74a3144 Style. 2009-05-24 05:24:59 +00:00
asfernandes
8c0777d090 Do not overload placement new operator. That is not valid accordingly to C++ standard. 2009-05-23 02:27:05 +00:00
asfernandes
fd7245cf05 Misc 2009-05-23 01:33:36 +00:00
alexpeshkoff
25de6e92e7 Fixed alignment errors in 32-bit SPARC-64 port 2009-05-20 13:13:03 +00:00
alexpeshkoff
046782b787 cleanup 2009-05-20 08:16:25 +00:00
alexpeshkoff
86f3176307 Fixed CORE-2467: security risk in 2.5 beta1 2009-05-19 14:33:36 +00:00
alexpeshkoff
a37d818726 AIX port - native compiler support 2009-05-07 14:49:40 +00:00
asfernandes
10328dff3b Misc 2009-05-06 02:02:37 +00:00
alexpeshkoff
cef41b3286 1. Solaric/Sparc SunProCC port.
2. Cleanup SOLARIS_MT threading model.
2009-05-05 08:06:37 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
asfernandes
9178fc4100 Misc 2009-05-01 02:46:18 +00:00
alexpeshkoff
8c983fec26 Fixed alignment issues with on-stack vary strings 2009-04-29 14:00:32 +00:00
asfernandes
1c20adb8fc Misc 2009-04-29 01:52:49 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
asfernandes
877064a028 Fix warnings 2009-04-25 15:10:07 +00:00
robocop
0c0c00386e Misc. 2009-04-24 15:25:14 +00:00
alexpeshkoff
b0a3fcc95a Removed 2 unneeded and unused parameters from template BePlusTree.
One of them caused compilation errors with IBM's xlC compiler.
This is compiler bug, but as long as we can avoid it - why not?
2009-04-22 15:58:26 +00:00
asfernandes
c986de33a2 Misc 2009-04-22 01:58:40 +00:00
robocop
c815d1f012 Misc. 2009-04-17 14:10:56 +00:00
robocop
6780b8c31e Comments. 2009-04-17 14:10:11 +00:00
alexpeshkoff
ab4ef3b7e5 Fixed solaris atomic operations 2009-04-16 08:59:21 +00:00
robocop
dea57e9099 Get rid of SCO. 2009-04-15 06:29:00 +00:00
alexpeshkoff
58bdb6c241 Cleanup - unsupported port HP10 2009-04-10 15:36:58 +00:00
robocop
0bf3d11247 Misc. 2009-04-10 14:28:35 +00:00
alexpeshkoff
06b5a69eec Make class FileClose generally available 2009-04-09 16:44:45 +00:00
alexpeshkoff
437dea645b Fixed xlC warnings 2009-04-08 10:21:29 +00:00
alexpeshkoff
197126e02d Use same access rights for CS and SS when opening shared memory file 2009-04-06 16:09:13 +00:00
alexpeshkoff
71bc64f6e1 Fixed solaris implementation - thanks to Claudio 2009-04-06 15:44:29 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
alexpeshkoff
26d31f5e2e Native Solaris AtomicCounter - required for non-intel build 2009-04-03 13:09:58 +00:00
alexpeshkoff
597f370678 Avoid too long lines, ensure constness 2009-04-03 12:14:07 +00:00
alexpeshkoff
77498cac9b Fixed some warnings 2009-04-03 10:49:07 +00:00
robocop
4480c7c405 Misc. 2009-04-01 10:49:54 +00:00
asfernandes
8bb635514e Misc 2009-04-01 02:29:17 +00:00
asfernandes
c8c61879f7 Fixed CORE-2359 - Logical multibyte maximum string length is not respected when assigning numbers 2009-03-30 15:23:16 +00:00
roman-simakov
257368d31c Counter and mutex were replaced by AtomicCounter. 2009-03-19 19:08:17 +00:00
asfernandes
a6d88154ee Misc 2009-03-18 02:43:15 +00:00
roman-simakov
1a4949891b Refactored NBackup subsystem.
1) Fixed CORE-1696 - "Deadlock in LM by using nbackup utility" with priority rating of lock requesting for LCK_backup_database and LCK_bdb.
2) A lot of stability fixes were made.
3) The key thing is using new GlobalRWLock for removing LCK_set_owner_handle function and speed up performance.
4) The code is still ready for using both in shared cache architecture and in claster architecture.
2009-03-17 07:39:55 +00:00
alexpeshkoff
71c82c456f Fixed CORE-2376: Change default for authentication method parameter 2009-03-16 16:51:41 +00:00
asfernandes
af33aefd19 Misc 2009-03-12 01:39:52 +00:00
alexpeshkoff
0d4fcd15d0 Fixed alignment - thanks to Adriano 2009-03-05 10:25:45 +00:00
robocop
c96ffd070f Misc. 2009-03-05 06:05:50 +00:00
robocop
4d8dd1c953 Make it compile on Windows. 2009-03-05 06:05:19 +00:00
asfernandes
9d086d289c Misc 2009-03-05 00:52:25 +00:00
robocop
f2f8c3d704 Do not use reinterpret_cast to convert from void* to a typed pointer. 2009-03-04 12:14:51 +00:00
alexpeshkoff
2a8603af7d Formally this fixes gcc warning - no virtual dtor in class with virtual functions.
But this required serious reworking of InstanceControl and GlobalPtr<> classes.
GlobalPtr<> should not be directly derived from class with virtual functions -
virtual table for it's instances may become invalid in the moment,
when cleanup is needed. Therefore indirect link via InstanceList and
InstanceLink is established instead. This required also a little changes in
a way how InstanceControl is used. GlobalPtr<> usage is not changed.
2009-03-04 10:26:16 +00:00
dimitr
9f1cc5473a Prefer explicit #includes to tricky forward declarations for template classes. 2009-03-03 15:19:50 +00:00
robocop
850274ee83 Adjust to our naming conventions. 2009-03-03 12:24:07 +00:00
skidder
0f64fd44e4 Repairing the VS2003 build (and maybe others). ferror is a tricky macro, not a function 2009-03-02 03:39:46 +00:00
robocop
83a6a0c60b Fix the Windows build. 2009-02-28 11:33:56 +00:00
alexpeshkoff
e712f973ab fixed declaration error - failed only on 32 bit 2009-02-27 14:57:03 +00:00
alexpeshkoff
2f639f1de9 Fixed use of mutexes 2009-02-24 11:11:06 +00:00
asfernandes
b204a1e54f Misc 2009-02-21 17:43:07 +00:00
alexpeshkoff
0346cf6a83 Fixed a number of problems with file ownership and access rights on unix 2009-02-20 16:18:12 +00:00
aafemt
793402d4be Windows only 2009-02-20 08:41:22 +00:00
hvlad
58204e6875 Restore broken Windows build 2009-02-20 07:43:13 +00:00
asfernandes
ccb477aa9a Fixed the POSIX build 2009-02-19 22:32:09 +00:00
alexpeshkoff
21268aeb1e Fixed my silly error in THD_sleep() 2009-02-19 15:49:31 +00:00
asfernandes
517f426392 Misc 2009-02-15 18:05:38 +00:00
asfernandes
71068a2d53 Declare the function inside its namespace 2009-02-15 17:46:08 +00:00
asfernandes
d369e26979 1) Fix posix build
2) Remove some warnings
2009-02-15 14:45:37 +00:00
robocop
5e5c5741fa Commit this aux routine in case it's needed. 2009-02-15 13:23:38 +00:00
alexpeshkoff
0d99a0d6c4 Implemented CORE-2322: added gsec and services support to control SYSDBA-like access of windows domain administrators to security database 2009-02-13 13:05:50 +00:00
robocop
66057e976c More changes for the improvement requested as CORE-2140 (it was never designed to work with printf escape sequences). 2009-02-12 12:58:12 +00:00
asfernandes
7ba3e7d0e5 Misc 2009-02-11 01:32:09 +00:00
alexpeshkoff
bd0d9bfe99 Add new class PointerArray and use it in RuntimeStatistics.
Now RuntimeStatistics has 3 #ifdef choices: SortedArray, PointersArray or Tree.
2009-02-09 14:11:16 +00:00
asfernandes
0038863661 Misc 2009-02-08 17:23:00 +00:00
hvlad
fbeb005108 Move DLL instance variable into separate file. It would be much better to make it member of Config class but currently it is not desirable due to big amount of related changes of build process. 2009-02-08 15:40:05 +00:00
robocop
38f1fafbb9 Constness. 2009-02-08 12:57:49 +00:00
robocop
477faf805a Misc. 2009-02-08 12:53:48 +00:00
robocop
096d8e78e6 Trying to be more consistent in the detection of headers (HAVE_* macros). 2009-02-08 11:38:00 +00:00
robocop
a18dc0519f Misc, style, fixing dangerous warnings, constness, etc. 2009-02-08 11:23:46 +00:00
asfernandes
75c0d0f353 Misc 2009-02-05 01:08:13 +00:00
alexpeshkoff
d899da951d Use when possible much better way to delay thread execution 2009-02-04 11:36:53 +00:00
hvlad
4c65e428bb Const 2009-02-03 18:14:41 +00:00
robocop
7bc5e3cc83 Style. 2009-02-03 11:02:00 +00:00
alexpeshkoff
6835b7f6ba fixed gcc compile 2009-02-02 11:51:25 +00:00
hvlad
91dedb36ab Don't use "None" as empty configuration file name for audit. Per Adriano request. 2009-02-02 09:12:38 +00:00
hvlad
115602ff06 Trace services support 2009-02-01 22:10:12 +00:00
hvlad
bd260b0023 ConstAccessor for BePlusTree 2009-02-01 22:03:59 +00:00
hvlad
6decebcc99 Reference-counted string 2009-02-01 22:03:10 +00:00
hvlad
ea19deac75 Correction 2009-02-01 21:55:26 +00:00
dimitr
3de6ba9d83 Mirror the POSIX way of making the TLS globals thread-safe.
Otherwise we may crash or lock-up during the process exit.
2009-01-29 18:07:07 +00:00
asfernandes
f532f6975e Misc 2009-01-21 15:42:45 +00:00
dimitr
f3099d4c1e Totally misc. 2009-01-20 14:58:45 +00:00
dimitr
9414de1380 Fixed random errors while converting the string '0' into a numeric. 2009-01-20 14:56:05 +00:00
asfernandes
025c67e5e9 Do not check for errors when writing to the console in Windows. It can be problematic. 2009-01-19 21:39:41 +00:00
alexpeshkoff
322322b103 Fixed order of TLS keys destruction in POSIX build. 2009-01-19 16:16:19 +00:00
alexpeshkoff
1156d574e0 Optimized services performance when transfering big amounts of data to user 2009-01-16 15:42:33 +00:00
robocop
94b0541550 Style. 2009-01-15 11:04:40 +00:00
alexpeshkoff
97aca3d2b3 AIX port 2009-01-15 07:41:11 +00:00
asfernandes
989d851fa3 Misc 2009-01-15 03:46:48 +00:00
alexpeshkoff
2625a5a713 AIX port 2009-01-14 14:27:11 +00:00
alexpeshkoff
15e7df3ac7 AIX port 2009-01-14 13:58:41 +00:00
robocop
2c2fee86da Style. 2009-01-14 11:10:48 +00:00
asfernandes
eed6013f7c Misc 2009-01-11 00:40:46 +00:00
alexpeshkoff
c4fa4b094f Removed generic (mutex-based) atomic counter. It violates fb 2.5 global variables
construction rules, therefore does not work at all - and even if fixed is highly
not-efficient if attempted in production build. Actually it never worked reliably
(causing random faults in places like MemoryPool), therefore it looks like it's
better not to have such buggy implementation at all.

Added AIX implememntation - using AIX atomic functions.
2009-01-09 14:44:53 +00:00
alexpeshkoff
3af8b76e69 Finished x86 solaris port 2009-01-08 17:08:04 +00:00
asfernandes
91a4550d23 Misc 2009-01-06 17:46:08 +00:00
robocop
8f1bfc71b4 Initial code to fix CORE-2140: escape sequences \n and \t aren't interpreted by the MsgPrint facility. To be tested by Vlad. 2009-01-06 09:47:24 +00:00
robocop
fda9c3bc75 Style. 2009-01-05 08:22:58 +00:00
asfernandes
79e89d573d Misc 2009-01-03 19:02:04 +00:00
robocop
21bb7f3d20 Style. 2009-01-03 09:14:29 +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
a177d28d60 Misc 2008-12-31 20:22:10 +00:00
robocop
d11c994960 Style. 2008-12-31 05:06:08 +00:00
alexpeshkoff
755f52124b Solaris port 2008-12-30 17:58:30 +00:00
alexpeshkoff
4c07423ba1 Better fix for signed/unsigned problem - thanks to Claudio 2008-12-30 14:43:46 +00:00
robocop
e9be920cc0 Shut up some compiler warnings (some warnings should be enabled again in autoconfig_msvc.h IMHO because hiding our possible mistakes won't help us). 2008-12-30 10:52:52 +00:00
dimitr
c5e7a6a21d If the copying is really intended to be forbidden, let it be so. 2008-12-29 13:19:05 +00:00
alexpeshkoff
bd680bcb47 Solaris port 2008-12-28 15:26:05 +00:00
alexpeshkoff
ca0dfb5c32 It was bad idea to compare size_t (unsigned) to be less 0 2008-12-28 15:25:34 +00:00
asfernandes
5a85277726 Misc 2008-12-25 14:25:01 +00:00
robocop
b6e6e537d8 Style. 2008-12-24 07:46:11 +00:00
hvlad
f612bac260 Fixed unregistered bug : incorrect result of AbstractString::equalsNoCase().
Hopefully this function was not used anywhere.
2008-12-23 13:32:29 +00:00
robocop
45062eef99 Simplification. 2008-12-21 10:49:48 +00:00
asfernandes
e72c46dd34 Fix GCC build 2008-12-20 15:16:05 +00:00
robocop
95292d1731 Style. 2008-12-20 08:12:19 +00:00
dimitr
2b87e94242 Use explicit iterators instead of the implicit (built-in) ones due to the thread-safety requirements.
This change affects GenericMap only, as it's used globally in a few places and we have a proven crash there.
I have a more complete solution (total cleanup of default accessors from BePlusTree and SparseBitmap) in my local tree (thanks to Dmitry Kovalenko), but it's incomplete (requires more changes inside the engine) and IMHO risky (~20 core modules are affected), so I'd like to defer finalization of this cleanup till v3.0.
All objects of these types seem being protected by dbb_sync, so they shouldn't cause us any problems currently.
2008-12-19 14:57:01 +00:00
asfernandes
d03b6ede7f Misc 2008-12-18 01:24:58 +00:00
alexpeshkoff
1aead3cb62 fixed posix/intel build 2008-12-15 18:03:43 +00:00
robocop
8b20c40bf3 Misc. 2008-12-13 09:41:36 +00:00
robocop
761f0348ea Style. 2008-12-13 09:26:00 +00:00
robocop
f140cbb7d2 Before I put the "explicit" modifier on AtomicCounter's constructor, the compiler was generating a temporary AtomicCounter on the fly and later assigning it to the target AtomicCounter instance to satisfy an assignment of an integer to an AtomicCounter. I'm not sure we want to allow (and worse, foster) the copying of AtomicCounter instances or temporaries created by the compiler, hence I implemented a new method and fixed the code, but I don't know how to write the best code for one group of platforms in fb_atomic.h, hence I wrote the method with a syntax problem to be caught by someone who knows better. 2008-12-13 09:19:22 +00:00
alexpeshkoff
017a5b6759 HPUX port 2008-12-11 10:59:26 +00:00
dimitr
a173b38a2a Simplification. 2008-12-11 09:11:43 +00:00
robocop
88a722c08a The original idea is to allow ANY character to serve as segment separator (it may make sense in binary streams) when fetching data from blobs. Restore Alex' code that respected the original design. 2008-12-09 07:23:58 +00:00
asfernandes
1a9a023df5 Misc 2008-12-08 14:23:54 +00:00
asfernandes
a7d63bb8a7 Misc 2008-12-08 00:26:06 +00:00
alexpeshkoff
eda7114225 Fixed CORE-2223: Multiple bugs in gbak when working with ACLs 2008-12-05 15:06:21 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
asfernandes
7e7e38feb0 Misc 2008-12-05 00:17:04 +00:00
asfernandes
bb35b7313e CORE-1667 - Reading password from file/stdin:
- Fixed crash when non existent file is passed
- Implement password hiding for Windows
2008-12-02 00:04:42 +00:00
alexpeshkoff
2340d1f9d3 CORE-1667 - turn echo off 2008-12-01 15:40:27 +00:00
paulbeach
c824c78d83 Small mods for HPUX to support 2.0.5 2008-12-01 14:52:56 +00:00
robocop
eb6ea18df4 Misc. 2008-12-01 09:21:31 +00:00
robocop
356191b67d Make it compilable on Windows again. 2008-12-01 09:20:46 +00:00
hvlad
5aa33681eb Misc 2008-12-01 07:28:13 +00:00
asfernandes
a5ff7ca091 Misc 2008-12-01 01:26:27 +00:00
alexpeshkoff
9431183e42 Implemented CORE-1667: Reading password from file/stdin 2008-11-30 17:11:56 +00:00
alexpeshkoff
2200a681f8 fixed some gcc warning 2008-11-28 18:49:07 +00:00
hvlad
c88151c080 Split class system_call_failed into two exception classes : system_error and system_call_failed. system_error is an wrapper for OS errors and system_call_failed inherits from system_error and calls abort() when exception raised. system_error intended for the cases where failure of OS call is expected and can be handled. 2008-11-27 20:16:46 +00:00
asfernandes
4c9513dbd8 Misc 2008-11-23 21:54:56 +00:00
alexpeshkoff
016b4f6c39 An attempt to save some space on stack in VC builds.
It was detected by Dmitry, that VC has rather non-standard rules when allocating
stack variables. I can provide omitted here details, but the result was about 13K on stack
per each PASS1_node() invocation (gcc consumed only 1.25K for it). With allocation of
status array from the pool problem became much less dangerous, but stack consumption is still
rather big in VC. This version of classes makes on-stack memory, used by each instance
of the class, as small as possible - sizeof(void*). Therefore please don't blame me
for 'strange' internals of Arg classes.
2008-11-23 14:34:39 +00:00
alexpeshkoff
b4f7717eb3 Implemented CORE-1758: nBackup support in Services API. 2008-11-20 17:29:38 +00:00
alexpeshkoff
1030c9f189 Make it possible to build firebird on NFS drive 2008-11-11 16:59:23 +00:00
alexpeshkoff
d8ea120ded AIX port - use FB_ prefix for alignment constants 2008-11-05 11:26:23 +00:00
dimitr
65bcdc368d Fixed the build. 2008-10-31 12:01:57 +00:00
alexpeshkoff
b63bf80ede Avoid too deep stacks 2008-10-31 11:14:37 +00:00
alexpeshkoff
1125b45ebe SAS changes - AIX port started 2008-10-30 09:33:55 +00:00
asfernandes
cbed660d28 Misc 2008-10-28 00:16:20 +00:00
hvlad
38fa6082be Remove unused method 2008-10-27 09:03:46 +00:00
hvlad
f6398cad07 Fixed bug CORE-2151 : Temp directory with space in the middle wrongly truncated from the rightmost space 2008-10-25 09:54:19 +00:00
robocop
d50c65a3d9 Close some of my favorite B.O.'s since FB1. To be reviewed by Vlad. 2008-10-21 06:17:03 +00:00
dimitr
8e72ece026 Uncouple Mutex and RefMutex. This resolves the circular dependency: "AtomicCounter->Mutex->RefCounted->AtomicCounter" and thus enables all non-x86 POSIX builds. 2008-10-19 11:41:43 +00:00
dimitr
230071848e Fixed the Windows build. 2008-10-13 19:21:43 +00:00
hvlad
a3c30a6aef Missed method (in WIN_NT implementation) 2008-10-11 10:10:01 +00:00
alexpeshkoff
e79f55708d 1. Cleanup - use Firebird::Semaphore instead of local events, removed code
related with local events from isc_sync.cpp.

2. Cleanup - removed unused parameter 'number of events' from ISC_event_wait()
and two unused parameters from ISC_event_init().

3. Added SYSV-semaphore based implementation of IPC to isc_sync.cpp.
This should fix CORE-2102: Firebird 2.5 does not build on MacOS (Darwin).

4. Fixed use of posic CS without (x)inetd (i.e. fb_inet_server -s).

5. Fixed (to be reviewed by Dmitry) recovery after some process death in lock manager.
2008-10-10 15:58:05 +00:00
alexpeshkoff
9b69175326 Improvement CORE-1107: Services API extension for new (single, full) shutdown modes 2008-09-16 14:19:09 +00:00