asfernandes
91e0c3af00
Misc.
2013-06-17 01:13:02 +00:00
hvlad
030dcd999d
A cleanup and a few improvements :
...
- ability to wait with finite timeout
- separate counts of waiting readers and writers
- two interlocked operations are needed when lock granted to a waiting readers (despite of its amount)
2013-06-16 21:28:59 +00:00
hvlad
a50f749cd9
misc
2013-06-16 21:21:33 +00:00
asfernandes
abea0e695d
Misc.
2013-05-27 01:50:57 +00:00
hvlad
52ca2d8725
Fixed bug CORE-4101 : firebird.log contains "I/O error during "write" operation" records but database works correctly
2013-05-22 16:11:50 +00:00
robocop
99c21b988d
Misc.
2013-05-21 21:46:28 +00:00
hvlad
f150d6ff32
Enlarge DPB\SPB size limit up to 1MB (as Alex suggested). Former limit (4KB) was too small even to pass contents of standard fbtrace.conf into the trace start service.
2013-05-07 11:52:32 +00:00
alexpeshkoff
f6dd12b0c7
Make it resistant to races (avoid violating array boundaries)
2013-04-26 15:59:19 +00:00
alexpeshkoff
b9a96911ca
Avoid extra atomic operations when assigning pointer to the object with pre-incremented counter (like returned from the function) to reference-counted pointer holder
2013-04-17 11:16:06 +00:00
dimitr
5e5514107d
Misc and small cleanup.
2013-04-13 16:31:12 +00:00
asfernandes
871c073279
Refactor.
2013-03-31 15:55:01 +00:00
alexpeshkoff
a2dd7e211f
Ugly fix for CORE-4066, but looks like here g++ is too strong in type correctness.
2013-03-18 10:50:37 +00:00
asfernandes
a412ef75bf
Misc.
2013-03-17 20:36:56 +00:00
alexpeshkoff
afa0770781
1. Fixed broken by me a few time ago server shutdown.
...
2. Implemented prototype of TLS-based debugging helper holding information about 'What does firebird do now?"
Currently it's more or less ready for use with JAttachment::release().
2013-03-15 16:37:32 +00:00
dimitr
6af4fe0702
Disallowed default copying and assignment in sync wrappers. Fixed a theoretically possible handle leak in the condition class. Thanks to Dmitry Kovalenko.
2013-03-12 09:39:38 +00:00
asfernandes
0d299d455a
Remove FbMessage struct from the API.
...
This struct lost its main value (group various blr-related properties in a single parameter).
And since openCursor/fetch already split the message/buffer, it does not make sense anymore to have it.
2013-02-26 03:42:19 +00:00
alexpeshkoff
ede0465023
Assertion suggested by Dmitry Kovaalenko
2013-02-20 13:17:32 +00:00
asfernandes
ddc4d4eac3
Misc.
2013-02-17 23:06:40 +00:00
alexpeshkoff
fc12495d0e
Modified IStatement interface in our API:
...
1. Never allocate empty statement - always use att->prepare() to create statement interface
2. Separated IStatement into 2 parts - statement itself and resultset.
3. Added stmt->openCursor() (and att->openCursor() for unprepared statements) to create IResultSet.
4. Always use IMessageMetadata (former IParametersMetadata) to pass message fromat info from client,
therefore avoiding need in BLR generation in client applications.
2013-02-17 12:08:53 +00:00
dimitr
bf716e4e3f
Cleanup.
2013-02-09 05:47:19 +00:00
hvlad
44b00c81e7
VC10 still have no support for __func__
2012-12-20 10:42:36 +00:00
asfernandes
9b72aa53bc
Misc.
2012-12-19 00:56:57 +00:00
alexpeshkoff
b3f9759960
Take locks in AST before building tdbb
...
Fixed assertion in CCH_exclusive_attachment
Rolled back my changes required to let cancelOperation() enter engine after shutdown
Better locks' history in SyncObject
2012-12-18 13:54:18 +00:00
dimitr
d85bbd6c87
Fixed (mostly) the Windows build.
2012-12-15 08:07:39 +00:00
alexpeshkoff
c7454a49a5
Work in progress (committed due to SF upgrade). Checked only on SS.
...
1. Frontported fix for CORE-3935 and CORE-3993.
2. Added debugging support for mutexes and rwlocks in Vulcan style.
Unfortunately after last 'svn up' build asserts in JrdStatement:71.
2012-12-14 17:59:02 +00:00
asfernandes
9727c2685b
Misc.
2012-12-02 01:45:18 +00:00
dimitr
21ac7882da
Misc.
2012-11-20 17:12:25 +00:00
dimitr
afe6692c18
Misc.
2012-11-20 16:34:54 +00:00
dimitr
2f7643a689
Better sync with Firebird::Array.
2012-11-20 16:32:20 +00:00
alexpeshkoff
123d5b0a40
Misc
2012-11-12 08:51:41 +00:00
alexpeshkoff
4ca6e669fe
1. Fixed CORE-3786: Firebird 2.5.1 Hangs on MacOSX 10.7 (Lion) on DB create after reboot.
...
2. Cleanup: avoid functional style in stuff exception.
2012-11-01 11:40:18 +00:00
hvlad
41c3f6f2a5
Fix compilation
2012-10-08 21:52:31 +00:00
dimitr
7869eb9bbd
Fixed the server crash in Stack::assign().
2012-08-13 16:50:57 +00:00
robocop
f601bbdb8b
Misc.
2012-08-08 02:20:30 +00:00
alexpeshkoff
b91c68bb30
Cross-build support + android port: work in progress, currently can build fbclient for android
2012-06-22 11:39:24 +00:00
alexpeshkoff
2a01e4bcf9
Implemented CORE-3861: Make it possible to encrypt database
...
Also some cleanups, the most important are:
- meaningful ctor on Jrd::Lock, helping to avoid code dup
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
robocop
844b15bd13
Misc and style.
2012-05-20 10:00:52 +00:00
asfernandes
a2b389f1db
Getting rid of dsql_nod.
2012-04-25 01:42:47 +00:00
alexpeshkoff
be7c05022c
Fixed 32-bit posix build
2012-04-21 05:16:16 +00:00
asfernandes
fa861b6e95
Misc.
2012-04-05 18:28:44 +00:00
hvlad
cd63621702
Small refactoring
2012-03-30 14:15:08 +00:00
hvlad
453e9d9ae1
Correct reference counting for log writer in trace plugin.
...
Also fixed few AVs.
2012-03-30 13:52:11 +00:00
alexpeshkoff
645c412ac4
Fixed CORE-3770: fbtracemgr loads CPU up to ~55% when no activity is present
2012-03-27 13:16:44 +00:00
dimitr
a76dd8d3e7
Fixed CORE-3791: Performance degrades when actively working with databases bigger than the available RAM amount.
2012-03-27 07:24:55 +00:00
alexpeshkoff
1ceb4847e1
Make plugins use passed instance of master interface, not one got from fb_get_master_interface(). This helps in case when >1 fbclient libraries is loaded by process.
2012-03-26 11:34:52 +00:00
paulbeach
95d274f249
Allow compile on Darwin
2012-03-22 13:09:04 +00:00
alexpeshkoff
ced1e89661
Mac port
2012-03-10 14:01:38 +00:00
robocop
174e958f46
Style.
2012-03-05 22:20:54 +00:00
hvlad
7124c3bc15
Fixed Win32 build
2012-03-02 12:12:15 +00:00
alexpeshkoff
4e795f4047
Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports.
2012-03-01 08:55:43 +00:00