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
alexpeshkoff
6c4f362913
AST != signal-safety since 2.5
2008-09-15 14:44:33 +00:00
asfernandes
7a5b0121d8
Misc
2008-09-14 23:17:58 +00:00
asfernandes
25d751ea32
New methods for array classes
2008-09-14 22:45:00 +00:00
dimitr
2e60c908ef
Fixed the annoying warning in 64-bit builds.
2008-09-12 14:12:47 +00:00
alexpeshkoff
4e0d36e598
Make ctor compatible with vector prepared by init_status()
2008-09-11 13:06:31 +00:00
alexpeshkoff
a3c947ea76
Renamed Service's methods according to Claudio's request to reflect data movement direction
2008-09-11 11:51:25 +00:00
asfernandes
0f387a9bee
Misc
2008-09-06 18:42:55 +00:00
alexpeshkoff
de1cc4f41a
Fixed broken by me this week use of status vector in services - thanks to D.Kovalenko
2008-09-05 11:41:00 +00:00
alexpeshkoff
8d353aceb9
Do not reallocate string into circular buffer if it is already in it
2008-09-05 11:33:52 +00:00
alexpeshkoff
8201105457
Do not try to ignore system errors in DEV_BUILD
2008-09-04 10:00:35 +00:00
asfernandes
cc5b689eda
Misc
2008-08-29 02:18:50 +00:00
robocop
5bc24e78f2
Misc.
2008-08-28 07:14:20 +00:00
alexpeshkoff
13a15d4bfe
1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
...
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
dimitr
1739c548b1
Fixed CORE-903: Update Field update / result Updated.
2008-08-25 07:58:45 +00:00
dimitr
a8d62d83db
Correction by Dmitry Kovalenko.
2008-08-25 07:02:17 +00:00
alexpeshkoff
1785fb6ee3
fixing CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid
...
finished cleanup of vararg in error diagnostics in DSQL
2008-08-15 11:21:47 +00:00
alexpeshkoff
06118555f9
Fixed bug when appending vectors, thanks to Claudio
2008-07-28 10:07:09 +00:00
dimitr
8a9c465bdb
Misc.
2008-07-27 22:33:03 +00:00
asfernandes
244ac97e80
Misc
2008-07-21 02:20:41 +00:00
robocop
bb672a9470
Fix CORE-2001.
2008-07-18 08:58:30 +00:00
robocop
7182bbaa8b
Style.
2008-07-16 11:15:00 +00:00
asfernandes
7f4f7b06d6
Misc
2008-07-16 01:39:12 +00:00
robocop
33117c6a62
const.
2008-07-15 11:37:49 +00:00
robocop
1d715031a6
- Make a protected function with repetitive code.
...
- Little optimization when an array is overwritten (operator= or assign).
- Misc changes.
2008-07-13 09:52:38 +00:00
robocop
284e77d57f
Minor cleanup after Alex' changes.
2008-07-12 08:06:26 +00:00
robocop
1492df2080
Minor cleanup after Alex' changes.
2008-07-12 08:06:19 +00:00
alexpeshkoff
aeba7e6444
Fixed CORE-1957 & CORE-216: too many grants lose privileges. ACLs cleanup.
2008-07-11 13:50:59 +00:00
asfernandes
607f55503d
Misc
2008-07-11 02:37:23 +00:00
alexpeshkoff
7c8427bc35
Separated CVT functions to common and jrd parts.
...
This made possible to avoid ugly CVT_move export.
Cleanup of errors handling in CVT functions.
2008-07-10 15:57:33 +00:00
alexpeshkoff
88d41e4983
Added new methods
2008-07-10 15:46:41 +00:00
asfernandes
55ee33ffb5
Misc
2008-07-08 15:39:03 +00:00
alexpeshkoff
4d2e830cd5
Fixed CORE-1983: Out of memory condition in OS causes AV
2008-07-08 08:57:31 +00:00
alexpeshkoff
aac2809c66
Improved human readability - thanks to Claudio
2008-07-07 14:03:55 +00:00
asfernandes
45786da3bc
Misc
2008-07-06 16:42:52 +00:00
robocop
894662c1e8
Misc.
2008-07-06 10:59:03 +00:00
robocop
915783bf8e
Misc:
...
Updating legacy message
Adding a message
Fixing some typos
2008-07-06 10:56:34 +00:00
alexpeshkoff
5ac5869661
CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come.
2008-07-03 12:02:54 +00:00
asfernandes
0d31f7c8b4
Fx Linux build
2008-06-29 15:52:46 +00:00
robocop
f9fe3a771b
Misc: use sizeof instead.
2008-06-26 12:02:21 +00:00
robocop
b257c4a30a
Misc.
2008-06-26 11:03:53 +00:00
alexpeshkoff
a2e416210b
Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
...
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
asfernandes
23e4059ce5
Changed attribute name NUMERIC to NUMERIC-SORT - sugested by Claudio
2008-06-25 01:46:50 +00:00
alexpeshkoff
99f17b4d00
1. Frontported fix for CORE-1944: Monitoring tables contain wrong data
...
2. Added new methods to Clumplet classes - date, time and floating point support.
3. Avoid endianess #ifdef's in Clumplet classes.
2008-06-24 13:07:12 +00:00
asfernandes
552f58dd48
Misc
2008-06-06 02:25:35 +00:00
robocop
b8ea332022
Misc.
2008-06-05 11:02:42 +00:00
alexpeshkoff
7f4b15737f
Some service for us - make errors in destructors visible to debugger
2008-06-03 11:43:42 +00:00
robocop
a1906d634f
Style.
2008-06-03 06:19:50 +00:00
robocop
07c087094d
Mostly remove useless parentheses.
2008-06-03 06:14:59 +00:00
asfernandes
dbaf050e86
Set the tdbb->request to NULL when committing an autonomous transaction, as a normal COMMIT does. This fixes assertion related to system blobs created by DDL commands in EXECUTE STATEMENT. Test case:
...
execute block
as
begin
in autonomous transaction do
execute statement 'create table x (n integer)';
end!
2008-06-01 19:14:41 +00:00
robocop
88859fdc51
Make operations a bit faster by enabling the vector to add an array of values in a single pass (the same idea as insert's overloaded version).
2008-05-25 12:16:20 +00:00
dimitr
1ebc716eb2
Misc.
2008-05-25 07:19:31 +00:00
asfernandes
16457ea17a
Warnings
2008-05-25 01:48:05 +00:00
asfernandes
9fc4a1881f
Misc
2008-05-22 21:45:22 +00:00
robocop
a520a47a68
Fix CORE-1905 for aliases.conf (firebird.conf uses other rules, like demanding paths without quotes). My test string in aliases.conf was:
...
default = "F:\fb2dev\fbbuild\firebird2\temp\Win32\Debug\firebird\bin\#\f.fdb" #cats
2008-05-21 13:53:17 +00:00
robocop
83f77468a0
Misc.
2008-05-21 13:00:37 +00:00
asfernandes
c9202a3767
Misc
2008-05-18 02:02:50 +00:00
asfernandes
4343cbfeba
Do the same kind of cleanup in jrd/pass1 as done for "proc_flag" in dsql/pass1 - recursive passing the same parameters that is changed in specific situations makes difficult to understand the logic.
2008-05-18 01:02:35 +00:00
asfernandes
4f8b10d7dd
Correction
2008-05-17 16:13:23 +00:00
alexpeshkoff
990c259373
Fixed CORE-1843: gbak with service manager don't allow path with space
2008-05-16 14:08:45 +00:00
robocop
5777ff76fa
More VC6 cleanup.
2008-05-14 13:11:41 +00:00
robocop
1cdd4e4126
Clean the sources from VC6 hacks.
2008-05-14 05:17:53 +00:00
asfernandes
fa3e3c24d1
Misc
2008-05-13 18:51:35 +00:00
dimitr
3aad1f4cf3
Reduce number of warnings for 64-bit targets.
2008-05-12 05:25:55 +00:00
dimitr
0a9e8c8382
Implemented CORE-1751. The changes include:
...
1) Make memory counters aggregated.
2) Add attachment pool and allocate appropriate resources out of this pool.
3) Always release attachments explicitly (via destructor).
4) Always delete user requests prior to attachment deletion.
5) Introduce memory usage counters per every monitoring object.
6) Misc refactoring.
Some pieces are still incomplete (although everything basically works), but I'd like to get feedback and testing sooner rather than later.
2008-05-06 08:46:39 +00:00
dimitr
6a593eca17
Implemented CORE-1751. The changes include:
...
1) Make memory counters aggregated.
2) Add attachment pool and allocate appropriate resources out of this pool.
3) Always release attachments explicitly (via destructor).
4) Always delete user requests prior to attachment deletion.
5) Introduce memory usage counters per every monitoring object.
6) Misc refactoring.
Some pieces are still incomplete (although everything basically works), but I'd like to get feedback and testing sooner rather than later.
2008-05-06 08:41:24 +00:00
alexpeshkoff
7ff8e4d2be
Fixed CORE-1879: Server uses wrong authentication method
2008-05-04 13:38:02 +00:00
asfernandes
b2abfa3d8b
Compatibility with Valgrind 3.3
2008-04-27 18:53:33 +00:00
asfernandes
53a2090f65
Misc
2008-04-27 02:39:51 +00:00
alexpeshkoff
051eae391f
Added useful JString methods to Firebird::string
2008-04-24 15:44:54 +00:00
asfernandes
cfb2b8ee91
Misc
2008-04-23 02:19:25 +00:00
robocop
05271261e1
Style.
2008-04-19 11:11:10 +00:00
robocop
61662f5b5b
Constness and style.
2008-04-19 09:42:01 +00:00
robocop
5b0a5ded86
Style.
2008-04-18 10:03:04 +00:00
robocop
6f31045e33
Misc.
2008-04-16 09:25:36 +00:00
alexpeshkoff
c80b38952b
Avoid violating const rules - thanks to Claudio
2008-04-15 14:00:58 +00:00
alexpeshkoff
9d67aa1220
New methods in RefPtr template
2008-04-15 08:53:54 +00:00
hvlad
fe3f8c184b
New EXECUTE STATEMENT with support of external data source implementation
2008-04-09 20:18:47 +00:00
alexpeshkoff
1a1732aa14
Fixed use of nanoseconds in struct timespec
2008-04-09 13:34:25 +00:00
hvlad
ea5f555891
Corrections noted by Claudio
2008-04-06 21:58:08 +00:00
asfernandes
29fbfbb8ff
Misc
2008-04-06 14:45:51 +00:00
hvlad
981d1c558f
RefPtr : constness and new assignment operator
2008-04-05 22:39:19 +00:00
robocop
ee46acd6bc
Misc.
2008-04-03 13:17:32 +00:00
asfernandes
f0299cfb29
Misc
2008-04-03 01:11:26 +00:00
alexpeshkoff
aafed20fe1
Fixed problems with shutting down actively running engine - related with CORE-1805.
2008-04-02 14:26:17 +00:00
asfernandes
b5f62a63b0
Misc
2008-03-30 20:43:36 +00:00
robocop
ace427e4e3
exist() shortcut.
2008-03-29 13:24:22 +00:00
robocop
180928af4c
const.
2008-03-28 13:26:17 +00:00
robocop
b3de41ea87
Misc.
2008-03-28 13:25:47 +00:00
alexpeshkoff
4e5a83e767
1. Make remote port RefCounted object.
...
2. Removed deferred cleanup hack.
3. Fixed races when events are delivered - thanks to Vlad.
2008-03-27 10:15:05 +00:00
asfernandes
aa82019f87
Remove warnings and errors in the GCC/Linux build
2008-03-27 02:41:55 +00:00
dimitr
b87b5032ef
Changes in the TimeStamp class by Dmitry Kovalenko.
2008-03-26 10:21:04 +00:00
asfernandes
5496df8839
Misc
2008-03-26 02:13:34 +00:00
dimitr
e18a16e3cb
Removed OldParameterOrdering.
2008-03-25 16:42:10 +00:00
alexpeshkoff
21ca11f328
1. Moved processing of exceptions in guards' dtors to better place.
...
2. Added class Reference (RefCounted guard) and use it in the tree.
2008-03-25 08:44:11 +00:00
alexpeshkoff
68d88584b8
Fixed gcc warning
2008-03-24 15:18:26 +00:00
alexpeshkoff
e600c2b27f
Added template to be used when AutoPtr points to array
2008-03-24 15:00:53 +00:00
dimitr
a600c7789f
Validation.
2008-03-24 10:36:11 +00:00
dimitr
fda35bd451
An attempt fo speed up compilation.
2008-03-24 09:31:14 +00:00
robocop
1662d17d89
Misc.
2008-03-22 09:00:43 +00:00
asfernandes
3aca6f92b1
Misc
2008-03-21 02:42:24 +00:00
dimitr
71da9925ec
1) Added proper handle validation for dbb.
...
2) Changed dbb_sync lifestyle handling.
3) Sync'ed access to the att_long_locks.
2008-03-20 16:41:17 +00:00
dimitr
a8963cb9db
Make the reference counting a common feature.
2008-03-20 13:00:31 +00:00
dimitr
13f5cc92e1
Major cleanup of the old-style blk and allocator-based blk_type.
2008-03-19 16:09:00 +00:00
dimitr
36c89e955f
Get rid of warnings.
2008-03-18 06:29:36 +00:00
alexpeshkoff
ed25245303
Applied shutdown changes, discussed in fb-devel a week ago.
2008-03-17 16:49:47 +00:00
asfernandes
262dbadc4f
Misc
2008-03-15 17:55:27 +00:00
robocop
462e6f66a3
Use the template type.
2008-03-15 10:26:36 +00:00
hvlad
ebc4644ea1
Add check in WIN_NT's DEV_BUILD for correct mutex unlocking\deleting.
...
Implement new EnsureUnlock class for use instead of (or together with) LockGuard's if LockGuard is not usable.
2008-03-13 12:54:31 +00:00
robocop
55e17e46d7
- Made some constructor explicit and discovered that for adding one byte to a string, a temporary string was being created on the fly. Unacceptable in loops.
...
- Disabled constructor from hell for now. I wasn't the only one confused about the nature of the only argument: only looking at the signature one realizes it's a byte's value, not the initial length.
2008-03-13 10:38:39 +00:00
asfernandes
12c50384b5
Misc
2008-03-13 02:43:32 +00:00
alexpeshkoff
4139292369
added new method to posix threads mutex
2008-03-12 13:36:33 +00:00
hvlad
6c17170820
Made Mutex::tryEnter more efficient. Per Claudio request
2008-03-12 08:17:15 +00:00
hvlad
a4c75379e9
Correction, noted by Alex
2008-03-11 14:33:09 +00:00
hvlad
b033934400
Implement Mutex::tryEnter and new RefMutex class - mutex with reference counted lifetime
2008-03-11 14:08:23 +00:00
robocop
b4091ac9a6
Make them explicit.
2008-03-10 08:16:57 +00:00
asfernandes
74d8711856
Misc
2008-03-08 21:20:26 +00:00
robocop
812058f940
Totally misc.
2008-03-08 11:32:11 +00:00
robocop
1906fc5b02
Totally misc.
2008-03-08 07:34:44 +00:00
robocop
b36ed44a4b
Cleanup.
2008-03-02 09:24:11 +00:00
asfernandes
f49017d2ff
Misc
2008-03-01 15:08:11 +00:00
paulbeach
5790eae079
Fix UNIX2003 symbol issue with kinterbasdb and SuperServer.
...
Make sure that sem is used properly depening on MacOSX 10.4 or 10.5
Correct the header file in config_root.cpp to pull in MacTypes.h properly
2008-02-29 15:23:17 +00:00
alexpeshkoff
00c63c1f8d
1. Make signals handling in yValve MT safe.
...
2. Introduce new private API calls, fb__shutdown() and fb__shutdown_callback().
3. Introduce fb_smp_server - binary to run superclassic on posix.
4. Various cleanups.
2008-02-28 18:42:30 +00:00
alexpeshkoff
2b91ffd1ce
1. Avoid suspicious operator!().
...
2. Make GlobalPtr<> usable in static local variables.
2008-02-28 13:59:03 +00:00
asfernandes
312a391d78
Misc
2008-02-26 02:23:28 +00:00
dimitr
c1f75dcdf8
Ported SQLSTATE from Vulcan.
...
Part II: handling of isc_arg_sql_state.
2008-02-24 15:02:04 +00:00
robocop
c94b6c9a58
Misc.
2008-02-21 13:19:45 +00:00
dimitr
e3e9d3c172
Cleanup.
2008-02-20 15:25:20 +00:00