8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 18:03:04 +01:00
Commit Graph

43473 Commits

Author SHA1 Message Date
asfernandes
22f816f231 Correction. 2011-05-27 16:04:56 +00:00
asfernandes
dd0047e3b7 Fixed CORE-3475 - Parameters inside the CAST function are described as not nullable. 2011-05-27 15:29:20 +00:00
alexpeshkoff
2f85b664d7 Avoid deadlocks in timers. Fixes use of timers to delay plugin modules unload. 2011-05-27 11:31:29 +00:00
alexpeshkoff
cc2ac69db8 Make sure rpb is initialized 2011-05-27 10:13:08 +00:00
alexpeshkoff
1bc8f23727 Misc 2011-05-27 09:48:24 +00:00
hvlad
99c9c8e2db Enabled background threads (garbage collector and cache writer).
Introduced special kind of system attachments used in this threads and show its activity in monitoring.
2011-05-27 07:57:16 +00:00
firebirds
2852975e11 nightly update 2011-05-27 03:18:57 +00:00
asfernandes
7c5b69403e Frontported changes of CORE-3491. 2011-05-27 02:05:27 +00:00
firebirds
598a8c8769 nightly update 2011-05-26 03:18:34 +00:00
alexpeshkoff
3ef46d7fa8 Frontported fix for CORE-3482: nbackup ctrl-c segfaults and leaves db locked (delta file continues to grow) 2011-05-25 12:59:41 +00:00
dimitr
ddb5264d94 Fixed CORE-3493: Adding a value to a timestamp below '16.11.1858 00:00:01' throws 'value exceeds the range for valid timestamp'. v2.1 wasn't really affected although the validation sequence was wrong. 2011-05-25 10:59:35 +00:00
firebirds
6e60f539c9 nightly update 2011-05-25 03:18:59 +00:00
asfernandes
a40a926f8b Fix attachment leak due to variable shadow in isc_start_multiple. 2011-05-25 00:54:59 +00:00
asfernandes
14f53d6d2a Misc. 2011-05-25 00:45:14 +00:00
asfernandes
c07b4f8aff Hope this fixes the windows build. 2011-05-24 22:39:35 +00:00
asfernandes
f43a768c92 Fix problems with new multi-db transactions implementation:
1) fb_get_transaction_handle access object of invalid type and crash
2) Attachment::createBlob/openBlob access object of invalid type and crash
3) isc_start_multiple creates YTransaction with NULL attachment and makes its constructor crash
2011-05-24 15:20:15 +00:00
firebirds
8fbfb184b8 nightly update 2011-05-24 03:19:05 +00:00
asfernandes
62846d2e68 Make synchronization primitives work in the POSIX build. 2011-05-23 15:33:19 +00:00
alexpeshkoff
44370e0d82 Fixed isc_start_multiple() - thanks to Adriano 2011-05-23 11:45:48 +00:00
alexpeshkoff
564b482fa9 Slightly better struct layout from cunning alignment POV 2011-05-23 11:45:09 +00:00
firebirds
5ef76a7c07 nightly update 2011-05-22 03:17:35 +00:00
asfernandes
d4ba10b32a Misc. 2011-05-21 21:43:13 +00:00
asfernandes
717ef9c486 Misc. 2011-05-21 19:11:03 +00:00
asfernandes
7dbe11c98a Correction. 2011-05-21 19:10:11 +00:00
asfernandes
19cbed237b Misc. 2011-05-21 18:56:02 +00:00
asfernandes
a4a71bbea5 Correction. 2011-05-21 18:55:14 +00:00
asfernandes
698723211c Fixed CORE-3476 - LIST function wrongly concatenates binary blobs. 2011-05-21 14:04:11 +00:00
firebirds
26ece980b9 nightly update 2011-05-21 03:18:40 +00:00
asfernandes
797d06f3ee Warnings. 2011-05-21 01:02:33 +00:00
alexpeshkoff
f152094002 Destroy transaction only when next level returns success 2011-05-20 17:14:38 +00:00
alexpeshkoff
e01eb34b0e Atomic operations: use gcc builtin functions instead asm, fix atomic_ops library use 2011-05-20 16:45:31 +00:00
mapopa
a3ddf4639d fix warning: using the result of an assignment as a condition without parentheses
note:place parentheses around the assignment to silence this warning
2011-05-20 09:13:23 +00:00
firebirds
62808809a7 nightly update 2011-05-20 03:18:11 +00:00
alexpeshkoff
ad7c2e8809 warnings 2011-05-19 17:09:44 +00:00
alexpeshkoff
4641d2de68 Better interfaces hierarchy: all of them are derived from IVersioned 2011-05-19 16:24:46 +00:00
alexpeshkoff
85b3b5cf95 Interface for 2PC (distributed transactions coordinator) 2011-05-19 11:38:38 +00:00
mapopa
b95234da44 cleanup comment EKU: obsolete, replaced by _FILE_OFFSET_BITS 2011-05-19 11:12:20 +00:00
mapopa
71b29a5a16 header cleanup , unused defines anywhere (long dead platforms) 2011-05-19 09:46:38 +00:00
mapopa
58767b610f Disabled, not found anywhere function (commented anyway) 2011-05-19 09:44:48 +00:00
firebirds
13a1945e4c nightly update 2011-05-16 03:17:12 +00:00
asfernandes
8aca17dd5e Misc 2011-05-15 15:37:51 +00:00
asfernandes
983686d71c Added IRoutineMetadata to external engines.
Not well tested:
1) EE is broken after shared page cache.
2) Semantics of addRef/release still keeps changing in developers minds.
2011-05-15 15:37:11 +00:00
firebirds
9083c98e8b nightly update 2011-05-15 03:17:09 +00:00
asfernandes
fb6c81f0dc Fix warning. 2011-05-14 21:44:07 +00:00
firebirds
1e16864bde nightly update 2011-05-14 03:18:18 +00:00
asfernandes
0f39f04308 Fixed crash with nested unions, reported by Vlad.
SELECT 'a' FROM RDB$DATABASE
UNION ALL
SELECT X FROM
 (
   SELECT 'b' AS X FROM RDB$DATABASE
   UNION ALL
   SELECT 'c' FROM RDB$DATABASE
 ) AS T;
2011-05-14 02:49:02 +00:00
firebirds
214290a8a3 nightly update 2011-05-13 03:17:35 +00:00
asfernandes
e4d1311b63 Correction. 2011-05-13 01:23:53 +00:00
asfernandes
7b72429210 Misc. 2011-05-13 01:15:18 +00:00
dimitr
83a3f80572 Fixed CORE-3477: Passing non-existing SQL parameters always crash server. 2011-05-12 14:56:54 +00:00
dimitr
4c241ab91a Front-ported CORE-3314: Dependencies are not removed after dropping the procedure and the table it depends on in the same transaction. 2011-05-12 08:45:27 +00:00
firebirds
faec766b45 nightly update 2011-05-12 03:16:10 +00:00
asfernandes
3800177568 Misc. 2011-05-12 00:42:40 +00:00
asfernandes
2fd18f68c9 Lets try to avoid global functions using name with mixed new (functionName) and old SUBSYS_name name style. 2011-05-11 17:42:44 +00:00
asfernandes
f56cafbf7d Fix the build. 2011-05-11 15:57:45 +00:00
hvlad
479a7f600d Renamed currentProvider to EngineProvider to better reflect its nature and corrected its declaration (with Alex permission ;). Removed unneeded cast. 2011-05-11 14:45:56 +00:00
hvlad
db4d4df653 Avoid memory leaks due to wrong reference counting. 2011-05-11 14:24:45 +00:00
hvlad
d0108e2918 Show long version string in "Firebird Server Properties" dialog properly 2011-05-11 09:56:53 +00:00
hvlad
177b43306c Adjust order of releasing metadata objects when attachment is released.
It also avoids assert in MET_verify_cache() pointed privately by Alex.
2011-05-11 09:39:57 +00:00
firebirds
93689512cd nightly update 2011-05-11 03:18:40 +00:00
asfernandes
1c5770da81 Warning / error. 2011-05-11 02:43:39 +00:00
asfernandes
3ce54d2eda Misc. 2011-05-11 01:18:28 +00:00
alexpeshkoff
8f354c6fc4 make it compile with shared cache 2011-05-10 14:03:16 +00:00
hvlad
e6fd7c66e0 Temporary solution to not crash utilities working with embedded engine on exit. 2011-05-10 13:44:54 +00:00
hvlad
2bc113987e Adjusted CPL applet with current binaries names and paths.
Make it show error even when there is no registry information.
2011-05-10 13:36:47 +00:00
hvlad
e3a6969eab Adjusted instreg, instsvc and fbguard with current binaries names and paths 2011-05-10 13:03:11 +00:00
alexpeshkoff
a8842629ea fixed gcc warning 2011-05-10 11:56:52 +00:00
firebirds
b6955eca52 nightly update 2011-05-10 03:17:39 +00:00
asfernandes
d0c2265105 Misc. 2011-05-10 01:12:14 +00:00
hvlad
fef1f49c94 Shared page cache implementation 2011-05-09 10:15:19 +00:00
firebirds
62a80a1aa6 nightly update 2011-05-09 03:17:15 +00:00
asfernandes
5e854fe20f Remove "#pragma GCC system_header". Current build with GCC 4.5.2 and clang 2.8 shows no related warning.
This pragma was interfering with -MMD dependency output, causing crashes after full build when the API is changed.
2011-05-08 17:53:37 +00:00
firebirds
95d4434cbd nightly update 2011-05-08 03:17:35 +00:00
asfernandes
69dc52ba48 Integrate IAttachment and ITransaction in the external engines API. 2011-05-07 19:52:44 +00:00
asfernandes
7915153e51 Misc. 2011-05-07 19:33:46 +00:00
firebirds
c4e638ffb5 nightly update 2011-05-06 03:17:35 +00:00
hvlad
542d70ac61 Fixed bug CORE-3468 : Attempt to read after the end of file when nbackup state is stalled 2011-05-05 22:05:59 +00:00
hvlad
d57814996f Fixed bug CORE-3466 : Some changes could be lost during the merge of delta file into main database file.
Removed BDB_merge flag and related code.
2011-05-05 18:11:22 +00:00
hvlad
5bbff34ac1 FiFixed bug CORE-3465 : Nbackup state lock could be not released after cache error. It results in "Can't lock state for write" bugcheck when backup state is going to be changed. 2011-05-05 17:40:54 +00:00
hvlad
dc30e39fd7 Fixed bug CORE-3464.
Correct error reporting - bugcheck's 215 and 216 was confused with each other.
2011-05-05 14:33:50 +00:00
firebirds
d5980ee370 nightly update 2011-05-04 03:17:09 +00:00
hvlad
f40d569f3f Don't use placement new[] as its behavior is inconsistent between compilers 2011-05-03 12:03:16 +00:00
alexpeshkoff
62d6343ccf This should fix deadlock, noticed by Damyan 2011-05-03 07:43:23 +00:00
firebirds
7580dadcd5 nightly update 2011-05-01 03:16:27 +00:00
asfernandes
48fa5193e7 Invert the functionality of addSlash to fixPath. It was creating paths with double slashes in config files.
The right way to create paths in others places is with PathUtils::concatPath, and it don't need what addSlash was doing.
2011-04-30 18:23:04 +00:00
hvlad
8b635ddf38 Some refactoring and cleanup. 2011-04-30 11:38:00 +00:00
firebirds
bfdd52aa4f nightly update 2011-04-30 03:16:00 +00:00
asfernandes
0b2ffeae81 Misc. 2011-04-30 02:28:31 +00:00
hvlad
eecde7801c Windows version of PlatformAtomicPointer 2011-04-29 19:11:43 +00:00
alexpeshkoff
c076b1d8c1 Added delay before unloading plugin module after last reference to that module outside plugin manager is gone 2011-04-29 16:24:27 +00:00
alexpeshkoff
b77154b2b5 Cleanup: make fb_atomic be the single file working with atomic operations and membars 2011-04-29 15:50:04 +00:00
asfernandes
efbd651d7f Correction. 2011-04-29 15:16:53 +00:00
hvlad
b0b1db9fc1 Typo and missed cast 2011-04-29 12:03:52 +00:00
hvlad
ff490e8f6a Cleanup and some comments 2011-04-29 11:34:35 +00:00
hvlad
59c4f7bb9f Let PlatformAtomicCounter::setValue() returns old value on Windows too 2011-04-29 11:12:29 +00:00
alexpeshkoff
09ecefd320 Fixed posix build 2011-04-29 09:25:06 +00:00
firebirds
6959853feb nightly update 2011-04-29 03:18:30 +00:00
dimitr
dafd8c894e Misc. 2011-04-28 16:59:29 +00:00
hvlad
388ed56602 correction 2011-04-28 14:39:19 +00:00
hvlad
c65bbf74ca Preparing for the shared page cache : new sync objects ported from Vulcan 2011-04-28 14:35:58 +00:00
firebirds
e1e22b86bd nightly update 2011-04-28 03:16:44 +00:00
alexpeshkoff
d6f972c737 Check att_in_use before cancelling operation of attachment 2011-04-27 06:31:11 +00:00
firebirds
b494e6f329 nightly update 2011-04-27 03:17:33 +00:00
asfernandes
a38da2a1bf Correction for statement repreparation. 2011-04-26 15:23:33 +00:00
alexpeshkoff
5ae0f9b3ca Fixed bug - thanks to Adriano 2011-04-26 08:03:20 +00:00
firebirds
e6a8e2d9d2 nightly update 2011-04-26 03:19:48 +00:00
asfernandes
9754526943 Misc; reinterpret to static casts; correction in YRequest version. 2011-04-26 01:00:33 +00:00
alexpeshkoff
256cb1e853 1. Use reference counted stable in global pool objects instead PublicHandle's validation.
2. Avoid massive segfaults when closing heavily loaded server.                                                                                 
3. Restored logic in YValve required for correct shutdown.                                                                                    
4. Do not change externally visible request body when preparing it.
2011-04-25 17:47:56 +00:00
hvlad
a98fb23229 Frontported fix for regression introduced by me in patch for CORE-3326 - too many unnecessary calls of ISC_check_process_existence().
Added defines to switch usage of fast mutex off if necessary.
2011-04-25 12:56:27 +00:00
firebirds
c927fb6e95 nightly update 2011-04-21 03:17:16 +00:00
firebirds
fbf6b939a3 nightly update 2011-04-20 03:18:09 +00:00
asfernandes
e53330f9f6 Improvement CORE-3433 - Improve GBAK restore performance (records insertion). 2011-04-19 15:24:51 +00:00
asfernandes
d7127242c7 Improvement CORE-3446 - Allow conversion from/to BLOBs and others types in the API functions (XSQLVAR or blr messages). 2011-04-19 15:24:26 +00:00
firebirds
d31ec9c4b7 nightly update 2011-04-19 03:17:24 +00:00
asfernandes
abbc8975c2 Correction. 2011-04-18 19:21:34 +00:00
firebirds
6e07e7d516 nightly update 2011-04-18 03:17:25 +00:00
asfernandes
7cf1a31bda Misc 2011-04-17 16:04:43 +00:00
robocop
93a3937214 Unused vars. 2011-04-17 05:04:24 +00:00
robocop
ac7cb9019f Misc. 2011-04-17 05:02:26 +00:00
firebirds
6267a614e8 nightly update 2011-04-17 03:17:37 +00:00
asfernandes
27515ef82c Do not count selected records for IStatement::getAffectedRecords. 2011-04-16 21:59:19 +00:00
firebirds
74e93a660b nightly update 2011-04-16 03:17:39 +00:00
asfernandes
b781d62d4a Make the new BLOB API use void* buffers, so applications can read/write char* strings or any other type without casts. 2011-04-15 18:54:02 +00:00
dimitr
77916f05f7 Fixed possible deadlock between the shutting down engine and the running service. Reported by RedSoft. 2011-04-15 16:37:31 +00:00
hvlad
b9f7479afa Correction. Thanks to Claudio. 2011-04-15 06:19:32 +00:00
firebirds
bbad6e0f8f nightly update 2011-04-15 03:15:51 +00:00
asfernandes
73543914c7 Misc. 2011-04-15 02:51:29 +00:00
asfernandes
c42405a0b4 License. 2011-04-14 13:21:21 +00:00
hvlad
13cb0ba84f Moved assertion out of loop else it could wrongly fire at second execution 2011-04-14 12:12:20 +00:00
firebirds
c35f0c4d16 nightly update 2011-04-14 03:16:31 +00:00
asfernandes
c63493ffba Added metadata support to IStatement. 2011-04-14 01:03:43 +00:00
asfernandes
6aa9a77199 Generate DSQL internal dbkey/rec_version only for SELECT...FOR UPDATE. They do nothing for others commands. 2011-04-13 17:14:31 +00:00
asfernandes
13bc02b147 Correction for cursor-based UPDATE/DELETE. 2011-04-13 16:57:58 +00:00
asfernandes
b4056a0463 Misc 2011-04-13 15:09:18 +00:00
alexpeshkoff
437d841cfa Rolled back my commit using IBlrMessage interface. Replaced with single plain structure FbMessage. 2011-04-13 12:41:40 +00:00
alexpeshkoff
7d1b48f122 Added more diagnostics in DEV_BUILD. If you find it reasonable, can be internationalized and added to release too. 2011-04-13 12:39:44 +00:00
hvlad
87bb408afc Fixed bug CORE-3440 : AV in engine if isc_que_events queued 0 events 2011-04-13 10:38:10 +00:00
firebirds
e4aee883cb nightly update 2011-04-13 03:16:00 +00:00
hvlad
60b1b19a20 Let config file detects literals "true", "yes" and "y" as TRUE boolean values. 2011-04-12 12:47:33 +00:00
firebirds
61bf4eefb5 nightly update 2011-04-12 03:16:59 +00:00
alexpeshkoff
e58f56c12f Fixed memory leak - thanks to Adriano 2011-04-11 11:22:03 +00:00
alexpeshkoff
fb335fb58c Fixed correct calling convention - thanks to Adriano 2011-04-11 11:14:21 +00:00
alexpeshkoff
bbf146f918 Renamed a number of functions to match Dmitry's requirement 2011-04-11 11:12:21 +00:00
firebirds
102dff28b7 nightly update 2011-04-10 03:15:59 +00:00
asfernandes
04bb4ba305 Remove unused parameter and rename a constant. 2011-04-09 20:00:00 +00:00
asfernandes
8be570289d Misc 2011-04-09 19:27:59 +00:00
firebirds
ce839143d0 nightly update 2011-04-09 03:16:26 +00:00
alexpeshkoff
9a4689d3e9 Use interface IBlrMessage instead passing C++ class pointer to API interface's functions 2011-04-08 16:43:05 +00:00
alexpeshkoff
4c3f87d6bd Continued renaming interfaces. Added comments 2011-04-08 15:18:50 +00:00
firebirds
cd1de9c4e1 nightly update 2011-04-08 03:15:35 +00:00