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

43357 Commits

Author SHA1 Message Date
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
alexpeshkoff
5c88e478f6 Use better names for a number of objects according to Vlad's suggestion 2011-04-07 17:16:00 +00:00
firebirds
716f83d9c1 nightly update 2011-04-07 03:15:13 +00:00
hvlad
252cf23f68 Fixed potential buffer overflow. Thanks to Claudio. 2011-04-06 17:44:43 +00:00
hvlad
b777663ea0 Fix by Alex to prevent crash at exit time 2011-04-06 12:06:04 +00:00
firebirds
9ce861bdd9 nightly update 2011-04-06 03:16:00 +00:00
asfernandes
a566f5d725 Fixed CORE-3431 - ISQL pads UTF-8 data incorrectly. 2011-04-05 21:30:27 +00:00
asfernandes
e01b9567a9 Fixed CORE-3427 - Server crashing with UTF8 blobs. 2011-04-05 18:02:28 +00:00
dimitr
8809493e98 Fixed incorrect type evaluation for unions.
Example:
SELECT NULL AS PRICE FROM rdb$database
union all
SELECT 1.0 AS PRICE FROM rdb$database
2011-04-05 14:23:15 +00:00
dimitr
8f517dcbeb One more part of the fix for CORE-3340. 2011-04-05 05:49:40 +00:00
dimitr
0cc0d65eb1 Fixed the assertion caused by refcnt != 0. 2011-04-05 05:47:45 +00:00
dimitr
4b3033c013 Better locality of allocations. This also fixes a tiny memory leak in SuperServer. 2011-04-05 05:36:05 +00:00
firebirds
d2a15f62a0 nightly update 2011-04-05 03:15:51 +00:00
asfernandes
c081b763b2 Fixed CORE-2606 - Multibyte CHAR value requested as VARCHAR is returned with padded spaces. 2011-04-05 00:31:58 +00:00
asfernandes
e88ac107cf Hope this avoid some crashs in exit. 2011-04-04 14:55:43 +00:00
asfernandes
03ce334e2b Misc 2011-04-04 13:37:47 +00:00
asfernandes
9119a7bc27 Fix the problem reported by Dmitry Kovalenko. 2011-04-04 12:40:39 +00:00