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

1059 Commits

Author SHA1 Message Date
asfernandes
1c20adb8fc Misc 2009-04-29 01:52:49 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
asfernandes
877064a028 Fix warnings 2009-04-25 15:10:07 +00:00
robocop
0c0c00386e Misc. 2009-04-24 15:25:14 +00:00
alexpeshkoff
b0a3fcc95a Removed 2 unneeded and unused parameters from template BePlusTree.
One of them caused compilation errors with IBM's xlC compiler.
This is compiler bug, but as long as we can avoid it - why not?
2009-04-22 15:58:26 +00:00
asfernandes
c986de33a2 Misc 2009-04-22 01:58:40 +00:00
robocop
c815d1f012 Misc. 2009-04-17 14:10:56 +00:00
robocop
6780b8c31e Comments. 2009-04-17 14:10:11 +00:00
alexpeshkoff
ab4ef3b7e5 Fixed solaris atomic operations 2009-04-16 08:59:21 +00:00
robocop
dea57e9099 Get rid of SCO. 2009-04-15 06:29:00 +00:00
alexpeshkoff
58bdb6c241 Cleanup - unsupported port HP10 2009-04-10 15:36:58 +00:00
robocop
0bf3d11247 Misc. 2009-04-10 14:28:35 +00:00
alexpeshkoff
06b5a69eec Make class FileClose generally available 2009-04-09 16:44:45 +00:00
alexpeshkoff
437dea645b Fixed xlC warnings 2009-04-08 10:21:29 +00:00
alexpeshkoff
197126e02d Use same access rights for CS and SS when opening shared memory file 2009-04-06 16:09:13 +00:00
alexpeshkoff
71bc64f6e1 Fixed solaris implementation - thanks to Claudio 2009-04-06 15:44:29 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
alexpeshkoff
26d31f5e2e Native Solaris AtomicCounter - required for non-intel build 2009-04-03 13:09:58 +00:00
alexpeshkoff
597f370678 Avoid too long lines, ensure constness 2009-04-03 12:14:07 +00:00
alexpeshkoff
77498cac9b Fixed some warnings 2009-04-03 10:49:07 +00:00
robocop
4480c7c405 Misc. 2009-04-01 10:49:54 +00:00
asfernandes
8bb635514e Misc 2009-04-01 02:29:17 +00:00
asfernandes
c8c61879f7 Fixed CORE-2359 - Logical multibyte maximum string length is not respected when assigning numbers 2009-03-30 15:23:16 +00:00
roman-simakov
257368d31c Counter and mutex were replaced by AtomicCounter. 2009-03-19 19:08:17 +00:00
asfernandes
a6d88154ee Misc 2009-03-18 02:43:15 +00:00
roman-simakov
1a4949891b Refactored NBackup subsystem.
1) Fixed CORE-1696 - "Deadlock in LM by using nbackup utility" with priority rating of lock requesting for LCK_backup_database and LCK_bdb.
2) A lot of stability fixes were made.
3) The key thing is using new GlobalRWLock for removing LCK_set_owner_handle function and speed up performance.
4) The code is still ready for using both in shared cache architecture and in claster architecture.
2009-03-17 07:39:55 +00:00
alexpeshkoff
71c82c456f Fixed CORE-2376: Change default for authentication method parameter 2009-03-16 16:51:41 +00:00
asfernandes
af33aefd19 Misc 2009-03-12 01:39:52 +00:00
alexpeshkoff
0d4fcd15d0 Fixed alignment - thanks to Adriano 2009-03-05 10:25:45 +00:00
robocop
c96ffd070f Misc. 2009-03-05 06:05:50 +00:00
robocop
4d8dd1c953 Make it compile on Windows. 2009-03-05 06:05:19 +00:00
asfernandes
9d086d289c Misc 2009-03-05 00:52:25 +00:00
robocop
f2f8c3d704 Do not use reinterpret_cast to convert from void* to a typed pointer. 2009-03-04 12:14:51 +00:00
alexpeshkoff
2a8603af7d Formally this fixes gcc warning - no virtual dtor in class with virtual functions.
But this required serious reworking of InstanceControl and GlobalPtr<> classes.
GlobalPtr<> should not be directly derived from class with virtual functions -
virtual table for it's instances may become invalid in the moment,
when cleanup is needed. Therefore indirect link via InstanceList and
InstanceLink is established instead. This required also a little changes in
a way how InstanceControl is used. GlobalPtr<> usage is not changed.
2009-03-04 10:26:16 +00:00
dimitr
9f1cc5473a Prefer explicit #includes to tricky forward declarations for template classes. 2009-03-03 15:19:50 +00:00
robocop
850274ee83 Adjust to our naming conventions. 2009-03-03 12:24:07 +00:00
skidder
0f64fd44e4 Repairing the VS2003 build (and maybe others). ferror is a tricky macro, not a function 2009-03-02 03:39:46 +00:00
robocop
83a6a0c60b Fix the Windows build. 2009-02-28 11:33:56 +00:00
alexpeshkoff
e712f973ab fixed declaration error - failed only on 32 bit 2009-02-27 14:57:03 +00:00
alexpeshkoff
2f639f1de9 Fixed use of mutexes 2009-02-24 11:11:06 +00:00
asfernandes
b204a1e54f Misc 2009-02-21 17:43:07 +00:00
alexpeshkoff
0346cf6a83 Fixed a number of problems with file ownership and access rights on unix 2009-02-20 16:18:12 +00:00
aafemt
793402d4be Windows only 2009-02-20 08:41:22 +00:00
hvlad
58204e6875 Restore broken Windows build 2009-02-20 07:43:13 +00:00
asfernandes
ccb477aa9a Fixed the POSIX build 2009-02-19 22:32:09 +00:00
alexpeshkoff
21268aeb1e Fixed my silly error in THD_sleep() 2009-02-19 15:49:31 +00:00
asfernandes
517f426392 Misc 2009-02-15 18:05:38 +00:00
asfernandes
71068a2d53 Declare the function inside its namespace 2009-02-15 17:46:08 +00:00
asfernandes
d369e26979 1) Fix posix build
2) Remove some warnings
2009-02-15 14:45:37 +00:00
robocop
5e5c5741fa Commit this aux routine in case it's needed. 2009-02-15 13:23:38 +00:00
alexpeshkoff
0d99a0d6c4 Implemented CORE-2322: added gsec and services support to control SYSDBA-like access of windows domain administrators to security database 2009-02-13 13:05:50 +00:00
robocop
66057e976c More changes for the improvement requested as CORE-2140 (it was never designed to work with printf escape sequences). 2009-02-12 12:58:12 +00:00
asfernandes
7ba3e7d0e5 Misc 2009-02-11 01:32:09 +00:00
alexpeshkoff
bd0d9bfe99 Add new class PointerArray and use it in RuntimeStatistics.
Now RuntimeStatistics has 3 #ifdef choices: SortedArray, PointersArray or Tree.
2009-02-09 14:11:16 +00:00
asfernandes
0038863661 Misc 2009-02-08 17:23:00 +00:00
hvlad
fbeb005108 Move DLL instance variable into separate file. It would be much better to make it member of Config class but currently it is not desirable due to big amount of related changes of build process. 2009-02-08 15:40:05 +00:00
robocop
38f1fafbb9 Constness. 2009-02-08 12:57:49 +00:00
robocop
477faf805a Misc. 2009-02-08 12:53:48 +00:00
robocop
096d8e78e6 Trying to be more consistent in the detection of headers (HAVE_* macros). 2009-02-08 11:38:00 +00:00
robocop
a18dc0519f Misc, style, fixing dangerous warnings, constness, etc. 2009-02-08 11:23:46 +00:00
asfernandes
75c0d0f353 Misc 2009-02-05 01:08:13 +00:00
alexpeshkoff
d899da951d Use when possible much better way to delay thread execution 2009-02-04 11:36:53 +00:00
hvlad
4c65e428bb Const 2009-02-03 18:14:41 +00:00
robocop
7bc5e3cc83 Style. 2009-02-03 11:02:00 +00:00
alexpeshkoff
6835b7f6ba fixed gcc compile 2009-02-02 11:51:25 +00:00
hvlad
91dedb36ab Don't use "None" as empty configuration file name for audit. Per Adriano request. 2009-02-02 09:12:38 +00:00
hvlad
115602ff06 Trace services support 2009-02-01 22:10:12 +00:00
hvlad
bd260b0023 ConstAccessor for BePlusTree 2009-02-01 22:03:59 +00:00
hvlad
6decebcc99 Reference-counted string 2009-02-01 22:03:10 +00:00
hvlad
ea19deac75 Correction 2009-02-01 21:55:26 +00:00
dimitr
3de6ba9d83 Mirror the POSIX way of making the TLS globals thread-safe.
Otherwise we may crash or lock-up during the process exit.
2009-01-29 18:07:07 +00:00
asfernandes
f532f6975e Misc 2009-01-21 15:42:45 +00:00
dimitr
f3099d4c1e Totally misc. 2009-01-20 14:58:45 +00:00
dimitr
9414de1380 Fixed random errors while converting the string '0' into a numeric. 2009-01-20 14:56:05 +00:00
asfernandes
025c67e5e9 Do not check for errors when writing to the console in Windows. It can be problematic. 2009-01-19 21:39:41 +00:00
alexpeshkoff
322322b103 Fixed order of TLS keys destruction in POSIX build. 2009-01-19 16:16:19 +00:00
alexpeshkoff
1156d574e0 Optimized services performance when transfering big amounts of data to user 2009-01-16 15:42:33 +00:00
robocop
94b0541550 Style. 2009-01-15 11:04:40 +00:00
alexpeshkoff
97aca3d2b3 AIX port 2009-01-15 07:41:11 +00:00
asfernandes
989d851fa3 Misc 2009-01-15 03:46:48 +00:00
alexpeshkoff
2625a5a713 AIX port 2009-01-14 14:27:11 +00:00
alexpeshkoff
15e7df3ac7 AIX port 2009-01-14 13:58:41 +00:00
robocop
2c2fee86da Style. 2009-01-14 11:10:48 +00:00
asfernandes
eed6013f7c Misc 2009-01-11 00:40:46 +00:00
alexpeshkoff
c4fa4b094f Removed generic (mutex-based) atomic counter. It violates fb 2.5 global variables
construction rules, therefore does not work at all - and even if fixed is highly
not-efficient if attempted in production build. Actually it never worked reliably
(causing random faults in places like MemoryPool), therefore it looks like it's
better not to have such buggy implementation at all.

Added AIX implememntation - using AIX atomic functions.
2009-01-09 14:44:53 +00:00
alexpeshkoff
3af8b76e69 Finished x86 solaris port 2009-01-08 17:08:04 +00:00
asfernandes
91a4550d23 Misc 2009-01-06 17:46:08 +00:00
robocop
8f1bfc71b4 Initial code to fix CORE-2140: escape sequences \n and \t aren't interpreted by the MsgPrint facility. To be tested by Vlad. 2009-01-06 09:47:24 +00:00
robocop
fda9c3bc75 Style. 2009-01-05 08:22:58 +00:00
asfernandes
79e89d573d Misc 2009-01-03 19:02:04 +00:00
robocop
21bb7f3d20 Style. 2009-01-03 09:14:29 +00:00
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +00:00
asfernandes
a177d28d60 Misc 2008-12-31 20:22:10 +00:00
robocop
d11c994960 Style. 2008-12-31 05:06:08 +00:00
alexpeshkoff
755f52124b Solaris port 2008-12-30 17:58:30 +00:00
alexpeshkoff
4c07423ba1 Better fix for signed/unsigned problem - thanks to Claudio 2008-12-30 14:43:46 +00:00
robocop
e9be920cc0 Shut up some compiler warnings (some warnings should be enabled again in autoconfig_msvc.h IMHO because hiding our possible mistakes won't help us). 2008-12-30 10:52:52 +00:00
dimitr
c5e7a6a21d If the copying is really intended to be forbidden, let it be so. 2008-12-29 13:19:05 +00:00
alexpeshkoff
bd680bcb47 Solaris port 2008-12-28 15:26:05 +00:00
alexpeshkoff
ca0dfb5c32 It was bad idea to compare size_t (unsigned) to be less 0 2008-12-28 15:25:34 +00:00