dimitr
7ae3eb5977
1) Make enumeration and shutdown routines SuperClassic friendly.
...
2) Cleanup and minor refactoring of the Classic shutdown routines.
2008-02-19 16:23:53 +00:00
asfernandes
c979d91901
Misc
2008-02-19 02:34:55 +00:00
robocop
7a0a29e234
Move some clutter out of jrd.h to Database.h and Database.cpp.
2008-02-14 12:24:27 +00:00
robocop
360cc4c31b
Style.
2008-02-14 07:31:25 +00:00
dimitr
ff9e777bc0
Cleanup, style and synchronization. Solved a few deadlocks and races during attach.
2008-02-14 07:12:13 +00:00
alexpeshkoff
dbf65528b8
Fixed CORE-1726: isc_service_start failed, use InitHolder for SecurityDatabase in services too.
2008-02-13 13:10:23 +00:00
asfernandes
627202bd84
Fix operator precedence
2008-02-11 23:32:15 +00:00
dimitr
78b4b30764
Move the dbb<->att check under the mutex protection.
2008-02-11 17:39:04 +00:00
asfernandes
4ffcaa7c5b
Misc
2008-02-10 17:26:35 +00:00
alexpeshkoff
c3e1830e12
1. Cleanup:
...
- moved Attachment constructor (big enough) into .cpp file
- avoid use of dbb in Database::get() and getUserInfo()
2. Complete fix for CORE-1726 - SecurityDatabase::init() is now not Database, but Attachment counted.
2008-02-10 16:38:30 +00:00
alexpeshkoff
18f72a7ed2
Fixed filehandles and temp diskspace leak - delete dbb_sys_trans makes it close TempSpace
2008-02-08 16:54:10 +00:00
asfernandes
691fb487d8
Misc
2008-02-06 00:43:54 +00:00
alexpeshkoff
ee6c433597
Mutexes cleanup:
...
1. Make all firebird mutexes recursive.
2. Enable exceptions to be thrown by mutexes and process them in code where needed.
3. Catch and ignore exceptions in various MutexGuard dtors.
2008-02-05 08:21:18 +00:00
robocop
4c3381ef6b
Style, constness and macro cleanup.
2008-02-03 10:41:44 +00:00
asfernandes
b39ac40c9d
Misc
2008-02-03 02:32:39 +00:00
alexpeshkoff
8901a0e003
Services cleanup - make class Service traditional C++ class
2008-02-02 18:33:37 +00:00
robocop
e9e1ead67a
Mostly style, constness, native memcpy and explicit constructors.
2008-02-02 17:04:06 +00:00
dimitr
9c9413d02e
Fixed issue spotted by Claudio privately.
2008-02-02 14:36:06 +00:00
dimitr
16814b51a6
Let's be consistent with operation order during dbb destruction.
2008-01-29 17:32:42 +00:00
alexpeshkoff
3589cebc95
Fixed some posix problems
2008-01-29 10:36:49 +00:00
dimitr
a38b327886
Cleanup. Get rid of the JrdMemoryPool.
2008-01-29 10:11:52 +00:00
asfernandes
de8771570f
Misc
2008-01-29 01:36:41 +00:00
dimitr
c0f1809bde
Let's explicitly release all locks we own.
2008-01-28 17:27:03 +00:00
dimitr
ed3817f6b6
Sigh, we have to release the dbb when doing authentication.
2008-01-26 17:33:57 +00:00
dimitr
d54edd1a13
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 13:51:33 +00:00
asfernandes
aea2bcb354
Misc
2008-01-23 19:03:16 +00:00
alexpeshkoff
39896cb955
Fixed CORE-1671: atexit() calls in client libraries cause segfaults
...
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory
To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.
Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
c577fde263
The merge is being fixed.
2008-01-16 12:29:45 +00:00
dimitr
d1e8f67a5d
The merge continued.
2008-01-16 09:29:37 +00:00
dimitr
516f75c010
Protect the mutex from being released twice.
2007-12-19 14:12:31 +00:00
dimitr
cf12557e36
Code simplification. We don't need to track the cancellation for the non-request activities.
2007-12-11 09:19:06 +00:00
dimitr
d276641cc8
Fixed CORE-1610 and its subtask CORE-1615.
2007-12-10 07:18:54 +00:00
alexpeshkoff
eea9070f48
Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster
2007-12-03 15:46:39 +00:00
alexpeshkoff
3e0d8ebc5b
Fixed CORE-1603: Possible buffer overflow with long user name
2007-11-19 16:18:59 +00:00
hvlad
2b47bbe55b
Revert files back after wrong commit
2007-11-19 00:21:18 +00:00
hvlad
86f1141328
Execute statement with support of external data source
2007-11-18 22:59:20 +00:00
alexpeshkoff
a80dd39b11
Fixed CORE-1593: Full domain user name can be longer than 31 char(for trusted authentication)
2007-11-15 12:48:24 +00:00
alexpeshkoff
c4f6801e34
avoid cast
2007-11-01 17:19:54 +00:00
alexpeshkoff
8c542c5b26
Fixed CORE-1551: AV when all statements are cancelled
2007-10-30 14:50:05 +00:00
alexpeshkoff
edc03201ca
Fixed CORE-1537: NBackup creates difference file in bad place
2007-10-26 13:21:16 +00:00
dimitr
025cf5c752
Fixed CORE-1540.
2007-10-26 10:53:47 +00:00
robocop
5e135ba43f
Moved the bool before the strings.
2007-10-24 07:03:37 +00:00
robocop
3c9917e8e2
For now, we are only interested in knowing that
...
dpb_gbak_attach was specified, not in the content of the string.
2007-10-24 06:26:31 +00:00
dimitr
81a791c6bb
Allow ASTs to be delivered while the engine performs some long activity.
2007-10-15 17:45:30 +00:00
hvlad
6bc73b2260
Correction for fix for bug CORE-1443
2007-09-18 14:58:31 +00:00
hvlad
ebb55209c0
Fixed bug CORE-1468 : Database corruption possible when database file extension and read\write activity is performed simultaneously
2007-09-18 14:50:51 +00:00
hvlad
193910ff7c
Fixed bug CORE-1443 : Embedded engine may hang application on exit if no database access was performed
2007-09-06 07:52:39 +00:00
dimitr
91fa6a519b
1) Replaced the hackery LM-based ID generation with the local counter. Uniqueness will be ensured by the DatabaseSnapshot internals.
...
2) Fixed CORE-1441.
2007-09-05 07:18:37 +00:00
robocop
3a7d93f658
Misc tweaks with Firebird::string.
2007-08-26 09:53:08 +00:00
asfernandes
6beb5e28bd
Misc
2007-07-26 01:23:18 +00:00