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

51070 Commits

Author SHA1 Message Date
egorpugin
b077124fed [build][cmake] Add compiler switch '/MT(d)' for MSVC. Use '-DMSVC_STATIC_RUNTIME=1' parameter during cmake call to turn on static runtime linking. 2015-03-04 19:29:24 +00:00
dimitr
95b8ca0db0 Fixed CORE-4704: Generator/exception permissions get corrupted after backup/restore. 2015-03-04 17:58:24 +00:00
alexpeshkoff
219c62b46e Full fix for CORE-4698, also fixed some more or less related leaks, segfaults and assertions 2015-03-04 16:18:53 +00:00
alexpeshkoff
765b71d0e4 Perform non-atomic counter operations under locked mutex 2015-03-04 16:01:10 +00:00
asfernandes
641adcf7a4 Correction. 2015-03-04 15:21:33 +00:00
hvlad
a0bb357515 Fixed rare deadlock (take cleanupMutex before StringsBuffer::mutex) 2015-03-04 10:49:43 +00:00
hvlad
f4f28619dd Additional patch for CORE-4671 : Release internal temporary blobs early to free some memory\disk space
The patch fixed AV when expression indices with blob-based expression is built (see CORE-952, for example)
2015-03-04 10:37:06 +00:00
firebirds
d48ba53a95 nightly update 2015-02-28 00:13:43 +00:00
alexpeshkoff
c4ad4f9aaf Most of methods of vector never throw 2015-02-27 16:01:04 +00:00
alexpeshkoff
adee7ab4b6 Fixed error handlig in test 2015-02-27 15:59:11 +00:00
alexpeshkoff
88f3e7e266 misc 2015-02-27 15:42:53 +00:00
firebirds
62d26f6297 nightly update 2015-02-26 00:13:53 +00:00
dimitr
e545a9866c Let's be on the paranoid side when committing. 2015-02-25 20:35:09 +00:00
alexpeshkoff
4b08cccbf0 Dynamic buffer for status vector and dynamic strings in IStatus 2015-02-25 17:03:39 +00:00
alexpeshkoff
6bbf5b07b5 Fixed memory leaks in events API 2015-02-25 14:24:13 +00:00
firebirds
03ae079498 nightly update 2015-02-25 00:15:29 +00:00
alexpeshkoff
7b7d439cef Lost exception when initializing port with compression - thanks to Claudio 2015-02-24 12:58:27 +00:00
hvlad
291e028ef3 Simplest fix for bug CORE-4698 : typing "add -user SYSDBA -pw masterkey -admin yes" into gsec crashes firebird.exe 2015-02-24 09:15:24 +00:00
firebirds
c636ddcfc6 nightly update 2015-02-24 00:12:34 +00:00
asfernandes
776a1eb8d1 Change to make the generated C API work with latest cloop. 2015-02-23 01:44:29 +00:00
firebirds
b0c9c795d0 nightly update 2015-02-23 00:13:47 +00:00
hvlad
5ca8f757ee Bit more safety 2015-02-22 16:04:50 +00:00
asfernandes
d2ad309c96 Use RefPtr::assignRefNoIncr so we can clearly see the code is not going to crash. 2015-02-22 15:47:21 +00:00
hvlad
d66a37c86a Improvement CORE-4696 : No need to flush dirty pages to disk after creation of temporary table index 2015-02-22 11:17:25 +00:00
hvlad
39a137e913 Use attachment's or relation's pool instead of dbb_permanent where it is more suitable.
It fixed memory leak from dbb_permanent (CORE-4683)
2015-02-22 11:02:49 +00:00
hvlad
1470f7a61e Fixed leak of various J-objects in EXECUTE STATEMENT (CORE-4683) 2015-02-22 10:58:28 +00:00
hvlad
93024a2aa0 Fixed regression in 32-bit builds: transaction numbers in sweep info (both trace event and firebird.log message) printed incorrectly 2015-02-22 10:49:56 +00:00
firebirds
67fe5e8eb0 nightly update 2015-02-21 00:13:36 +00:00
dimitr
3ff55133f9 Fixed CORE-4694: "Column unknown" error while preparing a recursive query if the recursive part contains ALIASED datasource in the join with anchor table. 2015-02-20 16:56:04 +00:00
hvlad
44a95e48e6 Fix warning 2015-02-20 15:31:07 +00:00
asfernandes
14bc11c27b Fixed segfault with events and the remote protocol. 2015-02-20 14:27:22 +00:00
alexpeshkoff
57a1243e97 Do not raise errors when cannot generate unique ID for file, just keep ID empty 2015-02-20 10:40:51 +00:00
hvlad
660f5b0cc5 More memory leaks (CORE-4683) 2015-02-20 09:38:40 +00:00
firebirds
e7a42fe615 nightly update 2015-02-20 00:15:00 +00:00
dimitr
4fd0614875 Misc code simplification. 2015-02-19 19:52:28 +00:00
dimitr
dace560656 Small changes intended to fix SEGV in the release build. 2015-02-19 19:50:22 +00:00
dimitr
2ae888cac2 Protection against exceptions thrown from VIO_verb_cleanup() during commit/rollback. 2015-02-19 15:58:58 +00:00
dimitr
c6f6557d5e Misc. 2015-02-19 15:53:42 +00:00
dimitr
72c154952b Postfix for my big commit. 2015-02-19 14:56:10 +00:00
dimitr
6abc6ae7d1 1) Fixed CORE-4382: User savepoints are not released on commit.
2) Respect the "no-auto-undo" option when retaining a transaction context.
Thanks to Dimitry Sibiryakov.
2015-02-19 14:43:26 +00:00
dimitr
0b56909d92 Misc. 2015-02-19 14:19:52 +00:00
dimitr
6ae3e2cbaf 1) Fixed CORE-4383: Index and BLOBs garbage collection doesn't work for update_in_place().
2) Applied the same approach to temporary GC records.
3) Refactored the Record class to avoid reallocations, to improve encapsulation and to simplify the code.
4) Slightly refactored UndoItem to isolate its logic from the Record class.
5) Reduced the in-memory size of the undo log.
6) Slightly better alternative to the legacy NULL reporting for outer joins.
7) Minor fixes and adjustments in BufferedStream.
2015-02-19 14:15:00 +00:00
dimitr
9872f302be Misc. 2015-02-19 14:06:48 +00:00
firebirds
3884dcca15 nightly update 2015-02-19 00:16:15 +00:00
asfernandes
47f64b0da4 Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.

(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
alexpeshkoff
405c494147 Restore useful assert 2015-02-18 14:22:00 +00:00
alexpeshkoff
c585ef929b Quick fix for posix build after Vlad's changes 2015-02-18 13:39:47 +00:00
dimitr
3f83c345f3 Misc. 2015-02-18 12:55:06 +00:00
dimitr
554d17352d Misc. 2015-02-18 12:54:41 +00:00
hvlad
24112e118e Attempt to implement thread cleanup for Windows (using DLL entry point).
It is used in dispatcher (fbclient.dll) only for now.
Fixed potential memory leak in StringsBuffer (it was possible to allocate few ThreadBuffer's for the same thread), see CORE-4683.
2015-02-18 12:44:32 +00:00