8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 21:23:04 +01:00
Commit Graph

736 Commits

Author SHA1 Message Date
alexpeshkoff
4889acba81 front-ported changes required for Solaris and Darwin 2007-06-06 09:03:33 +00:00
alexpeshkoff
77af3792c4 Null implementation for ST case 2007-06-05 07:11:39 +00:00
hvlad
217feb7a99 Fixed crash in DEV_BUILD when zero length blob is read by gbak. Reported privately by Adriano 2007-06-02 19:51:44 +00:00
hvlad
0fd72e6753 fb_assert added to not allow illegal use of StatusHolder 2007-05-28 20:24:17 +00:00
robocop
5f3d9bbd54 Misc. 2007-05-18 06:15:26 +00:00
hvlad
fca89c31f2 Add class for holding status vector and error strings 2007-05-17 13:01:20 +00:00
alexpeshkoff
ccf3fdd53b Fixed posix build 2007-05-17 12:30:04 +00:00
alexpeshkoff
14401b0c6e Misc 2007-05-17 12:25:54 +00:00
dimitr
1aa2ecfcb3 Changed the logic a bit to please Claudio. 2007-05-16 08:38:24 +00:00
dimitr
bc7c4d0054 Added remote process name to the monitoring data. Applications are allowed to override this value via DPB. 2007-05-16 07:54:33 +00:00
robocop
e058195959 Formatting and VC6 hack. 2007-05-16 06:52:23 +00:00
asfernandes
a4592b183c Correction 2007-05-13 13:44:10 +00:00
asfernandes
bf895341ef Fixed CORE-1256 - Table columns hide destination variables of RETURNING INTO, and others problems recent introduced 2007-05-13 01:37:54 +00:00
alexpeshkoff
2164354c90 misc 2007-05-08 08:50:17 +00:00
asfernandes
b5fab19683 Misc 2007-05-08 02:31:11 +00:00
hvlad
8a133871c0 Optimize SparseBitmap::set a bit 2007-05-04 12:37:47 +00:00
asfernandes
9d0d8bf2db Misc 2007-05-04 01:18:25 +00:00
alexpeshkoff
6f8fb87780 Front-ported fix for CORE-1240 - any task, using libfbclient, hangs on exit on Darwin/PPC 2007-05-03 13:52:16 +00:00
robocop
52f1b15e0c Misc. 2007-05-02 06:57:18 +00:00
asfernandes
c5cf6ea6b8 Implementation of CORE-1235: NATURAL JOIN and JOIN...USING 2007-04-29 19:04:26 +00:00
alexpeshkoff
c3d1f74d45 Removed tags, which never appear in any clumplet 2007-04-27 15:06:30 +00:00
alexpeshkoff
e26228270f 1. avoid code duplication defining arg_string
2. fix posix build
2007-04-27 09:20:17 +00:00
skidder
91fa2c7080 Fix MSVC8/Win32 build. IMO, these things where not nice:
- Target-dependent global typedefs
- Target-dependent stuff in COMMON .cpp files
2007-04-26 19:30:15 +00:00
alexpeshkoff
90b9b09261 fixed diagnostics 2007-04-26 16:15:24 +00:00
alexpeshkoff
064a298fd4 misc comment 2007-04-26 08:51:04 +00:00
hvlad
29ab1ca027 Implement CORE-1229 : Teach Firebird to allocate disk space by more than one page at a time 2007-04-25 21:08:57 +00:00
alexpeshkoff
8274d3213d Fixed CORE-867 - all utilities now hide password from "ps" as soon as possible 2007-04-25 14:10:47 +00:00
alexpeshkoff
4f56b0b690 fixed writing of SpbStart clumplet 2007-04-25 14:02:08 +00:00
skidder
04b9ec818b NBAK synchronization rework. This should fix CORE-1151 and other Nbackup stability issues 2007-04-24 14:05:46 +00:00
asfernandes
f676883248 Misc 2007-04-21 03:27:36 +00:00
asfernandes
f5e1a35cfd Avoid code duplication - thanks to Alex 2007-04-19 15:27:13 +00:00
alexpeshkoff
8b5dd60a66 fixed posix build after latest changes 2007-04-19 09:19:11 +00:00
alexpeshkoff
556908f3ad Added one more clumplet style 2007-04-19 09:16:38 +00:00
dimitr
eed31fda8b Fix for the issue reported by Michal Kubecek in fb-devel. 2007-04-18 17:01:30 +00:00
robocop
46df6dd844 Misc. 2007-04-18 11:02:41 +00:00
asfernandes
a798e403ee Misc 2007-04-17 02:24:33 +00:00
asfernandes
9582ea243c 1) Upgrade INTL interface to undestand misc. configuration informations
2) Make our ICU collations work with different ICU versions (tested with ICU 3.6)
2007-04-15 15:57:12 +00:00
alexpeshkoff
ccb4aa2474 Check for negative values to avoid problems comparing unsigned later in the code 2007-04-13 10:53:55 +00:00
dchri
42ffcc8a5d Renamed struct small to mbk_small 2007-04-11 15:55:30 +00:00
alexpeshkoff
f0d465bf34 Fixed gcc warnings, general (un)signed usage cleanup 2007-04-11 09:28:50 +00:00
robocop
22decb76f7 Misc. 2007-04-10 10:04:00 +00:00
robocop
345b422633 Inject UserBlob into QLI (not in all places). 2007-04-06 10:10:10 +00:00
alexpeshkoff
edfa819bf7 restored functionality of -e family of switches, broken somewhere in 1.5 2007-04-05 12:47:20 +00:00
alexpeshkoff
ed7baa5dc2 Misc 2007-04-05 12:35:39 +00:00
alexpeshkoff
c4c0764569 frontported from 2.0: fixed races on Darwin/386 during init 2007-04-04 12:21:09 +00:00
robocop
f4cfe6a829 Avoid some checks in the production build. 2007-04-04 08:51:27 +00:00
robocop
4391bbdcd4 Tweaks to UserBlob to support backup/restore. 2007-04-04 08:46:31 +00:00
robocop
16d2196a23 Drop useless functionality. 2007-04-03 08:19:39 +00:00
robocop
ef88fed09a Convenience. 2007-04-03 08:19:19 +00:00
asfernandes
f4aba4e145 Misc 2007-04-03 02:31:30 +00:00
robocop
40c36704ed Honor UCHAR. 2007-03-29 09:03:49 +00:00
robocop
870f3ecedd Commit the full dump() member function as requested by Alex. 2007-03-29 08:22:40 +00:00
robocop
857344fff5 Ann wasted considerable time getting rid of the nasty do-while (that may fool the eye) in several places. Let's not resurrect it unless really necessary (complex code, for example). 2007-03-29 07:08:37 +00:00
asfernandes
92059f157c Misc 2007-03-29 01:49:05 +00:00
alexpeshkoff
f15582bb93 Use 64-bit integer types, known to work cross-platform in all other places 2007-03-28 16:03:10 +00:00
asfernandes
1d51d4130e Misc 2007-03-28 15:52:25 +00:00
alexpeshkoff
0b17525b67 fixed posix build 2007-03-28 11:54:39 +00:00
robocop
33959bebf3 Handle blob in user side with a class and optimize blob handling for bulk insertion in isql. 2007-03-28 07:14:18 +00:00
robocop
e71a03261c This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash. 2007-03-28 04:20:36 +00:00
robocop
dafeed0787 Change the license to IDPL after getting permission from Blas. 2007-03-07 03:26:55 +00:00
alexpeshkoff
f9ddd45e64 fixed bug in my previous commit 2007-03-01 13:07:08 +00:00
alexpeshkoff
6130ee974c 1. Fixed different behavior of hasMore() in stack and it's iterator.
2. Use size_t as hasMore() parameter avoiding asserts and casts
2007-03-01 12:31:43 +00:00
asfernandes
cd56397a51 Misc 2007-02-25 21:25:33 +00:00
robocop
63a80b0db6 Misc. 2007-02-23 05:55:37 +00:00
robocop
a12b0ac1db Make a simpler resource management for Windows registry handles and local memory allocation. 2007-02-22 09:52:02 +00:00
asfernandes
ce9986d3e6 Misc 2007-02-21 00:02:00 +00:00
hvlad
54fd5ce4b1 Moved ISC_prefix_object_name into fb_utils::prefix_kernel_object_name to avoid a need to add isc.cpp to all projects which can read config file 2007-02-20 15:39:01 +00:00
hvlad
c0989bce8b Fixed CORE-1031 : fb_lock_print.exe fails on windows 2003 R2 / XP SP 2
and CORE-1133 : XNET (IPC) communication protocol does not work across sessions
2007-02-19 13:05:27 +00:00
robocop
8065ccc177 Fixing previous hack for VC6. 2007-02-15 10:21:52 +00:00
hvlad
221a091bea Bugfix after sparse bitmap optimization 2007-02-12 09:31:55 +00:00
aafemt
59cae9da28 Warnings 2007-02-08 10:17:06 +00:00
dimitr
fd3172ad8d Fixed allocator assertion for some platflorms with ALIGNMENT == 8. 2007-02-05 13:33:30 +00:00
dimitr
9ee8ef88cf Resolved CORE-937. 2007-01-25 12:56:16 +00:00
robocop
5f2c7f851f Sorry for the hack, but I need to compile. 2006-12-31 09:18:37 +00:00
hvlad
5c2cfcc38b Taken into account several useful notes made by Nickolay 2006-12-29 09:45:01 +00:00
hvlad
2b771cc6eb Implement improvement CORE-1070 : Optimize sparse bitmap operations (set, test and clear) with mostly consecutive values 2006-12-27 21:30:04 +00:00
asfernandes
59d4b412ea Misc 2006-12-20 14:31:29 +00:00
robocop
8caee6eeeb Remove unneeded template argument list (although I'm not sure why some compilers don't like it). 2006-12-20 08:21:33 +00:00
alexpeshkoff
e18f8046bd Use symbolic names for authentication methods in firebird.conf 2006-12-17 14:02:23 +00:00
asfernandes
f64e690090 Misc 2006-12-11 23:11:38 +00:00
alexpeshkoff
01f2969e7f Added 'Authentication' parameter to firebird.conf 2006-12-10 12:31:15 +00:00
alexpeshkoff
4980e64420 Fix CORE-988
class Semaphore now can work with broken versions of glibc (sem_timedwait())
2006-11-12 13:58:13 +00:00
asfernandes
88a9a84a01 Misc 2006-10-31 14:23:31 +00:00
alexpeshkoff
8f311b198b fixed my last commit - thanks to Adriano 2006-10-31 13:54:31 +00:00
alexpeshkoff
0f363bee95 remove() methods now return pointer to next after deleted element 2006-10-31 11:24:02 +00:00
dimitr
4d4f2ade7a Misc (64-bit related) 2006-10-29 14:16:29 +00:00
robocop
5feaeb3a27 Misc: since this file had a mixture of two coding styles, I chose one. 2006-10-07 09:29:52 +00:00
asfernandes
9c9019598a Misc 2006-09-27 00:32:47 +00:00
dimitr
228ff32d1e A few extentions to the clumplet classes. 2006-09-26 15:09:46 +00:00
dimitr
b0d36e202c Fixed the issue reported in fb-devel. 2006-09-22 04:24:45 +00:00
asfernandes
4599805c7f Detect ambiguities in implicit MATCHING of views in REPLACE 2006-09-07 03:30:31 +00:00
asfernandes
55ec30965d REPLACE statement 2006-09-03 01:09:23 +00:00
asfernandes
4d0252d980 Misc 2006-09-01 01:27:55 +00:00
robocop
56d19d8f53 Centralize detection of those pesky implicit domains.
There may be more cases that can use the new function.
2006-08-31 08:01:24 +00:00
asfernandes
2670981b70 Create common UCharBuffer based on Claudio and Alex suggestions 2006-07-31 15:43:20 +00:00
asfernandes
c13b4cc61a Work on collation attributes:
1) Define a common format for it
2) Merge attributes of the base collation in the attributes of the derived one
2006-07-30 20:31:25 +00:00
asfernandes
a306af2af3 Misc 2006-07-30 02:03:13 +00:00
dimitr
81c85b64db Misc. 2006-07-29 07:18:16 +00:00
alexpeshkoff
a24d42d2be Always initialize required members of status_exception 2006-07-27 14:17:02 +00:00
alexpeshkoff
e08b7d4a48 Changed program's structure to avoid errors in some compilers 2006-07-26 10:00:26 +00:00
asfernandes
37284696a7 Misc 2006-07-22 03:54:43 +00:00
dimitr
884b46303c 1) Replace API encode/decode routines with TimeStamp methods
2) Encapsulate range checks inside TimeStamp class
3) Fixed CORE-347
2006-07-21 08:23:53 +00:00
robocop
cd0ff027d8 Consistence. 2006-06-30 07:41:39 +00:00
asfernandes
adf5bd0f63 Misc 2006-06-30 00:50:49 +00:00
aafemt
8ba3a7acf8 Warnings 2006-06-29 09:06:32 +00:00
robocop
925477292a May be a better description. 2006-06-29 04:19:11 +00:00
alexpeshkoff
8282be0354 Front-ported fix for CORE-1 to HEAD. Do not accept badly formed clumplets any more. 2006-06-27 11:07:06 +00:00
asfernandes
6704275f76 Make compilable in MSVC6 2006-06-06 15:42:50 +00:00
alexpeshkoff
ee92258e74 cleanup 2006-06-06 11:22:33 +00:00
alexpeshkoff
13695f4993 redefinition of new/delete in non-STL case 2006-06-06 11:21:33 +00:00
alexpeshkoff
ded5cc2c49 cleanup 2006-06-06 10:34:32 +00:00
dimitr
f4c78b0459 Support for 64bit I/O. 2006-06-05 14:22:56 +00:00
asfernandes
9b2b49e95b Misc 2006-06-01 15:48:07 +00:00
kkuznetsov
bfa533238f Fix compile error 2006-06-01 14:06:53 +00:00
mkubecek
eb55caa701 fixed a typo 2006-06-01 07:22:59 +00:00
dimitr
fa7728156d Fixed issues reported by Michal. 2006-06-01 04:22:51 +00:00
dimitr
be1414ee62 Fixed issues reported by Michal. 2006-06-01 04:17:45 +00:00
dimitr
7cc12e8489 1) Reworked memory management in SORT. Now we're pools aware there.
2) Reworked error handling in SORT and its callers.
3) Replaced DLS+SortMem with the generic TempSpace class.
4) Replaced GDS temp file management with the TempFile class.
5) Various cleanup.
2006-05-31 08:53:00 +00:00
alexpeshkoff
61427e2a73 Limit packet size which we can process correctly 2006-05-29 16:30:28 +00:00
alexpeshkoff
7db6b515f1 fixed bug, reported by Adriano privately 2006-05-23 13:03:34 +00:00
alexpeshkoff
2aafa91873 avoid reinterpret_cast in exception's handler 2006-05-22 11:45:19 +00:00
alexpeshkoff
b6112f499b make it compilable with fresh gcc 2006-05-22 09:33:16 +00:00
robocop
9886d09647 Misc. 2006-05-20 04:22:07 +00:00
robocop
e77a46b011 Misc. 2006-05-20 03:55:54 +00:00
asfernandes
e4275e8fab Do not #include <typeinfo> 2006-05-20 01:10:40 +00:00
asfernandes
a3b411a4c1 Misc 2006-05-20 00:59:22 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
asfernandes
724cff6230 Misc 2006-05-19 01:35:05 +00:00
alexpeshkoff
13c59755fb restored normal processing way after fixing ObjectsArray 2006-05-18 14:16:46 +00:00
alexpeshkoff
d49440889c added missing operator= to ObjectsArray 2006-05-18 14:15:38 +00:00
dimitr
f0f8b55700 Temporary commit with the fixed (hopefully) TempDirList class. 2006-05-18 08:37:07 +00:00
robocop
8e94cdad0b Revert to old cumbersome notation so MSVC6 can call the inherited function. 2006-05-18 06:23:52 +00:00
dimitr
562e39f7f1 Fixed the code to please Claudio :-) 2006-05-16 11:55:05 +00:00
dimitr
9d0b3fef26 Fixed the bug I introduced yesterday. 2006-05-14 04:39:23 +00:00
dimitr
913b2645a6 Let our naming conventions be consistent. 2006-05-13 04:57:25 +00:00
dimitr
aa7a83fa99 Don't use spinlocks until FB3. 2006-05-03 10:50:13 +00:00
dimitr
f5799df0ef Correction. 2006-05-03 07:06:23 +00:00
dimitr
b4304d3998 Let's separate Mutex and Spinlock. 2006-05-03 05:44:26 +00:00
robocop
af96ab3495 Misc change. Hope the class auhtor doesn't take offense.
:-)
2006-04-29 00:31:19 +00:00
robocop
0332084b6a Misc: misplaced comment. 2006-04-26 05:26:23 +00:00
alexpeshkoff
469589f573 Use Firebird::Array instead of STL's vector 2006-04-25 17:49:24 +00:00
dimitr
36c2e44e54 Committed patch by Christian Barheine. 2006-04-25 13:00:50 +00:00
asfernandes
a597dc2263 Correction for posix build 2006-04-16 22:01:41 +00:00
kkuznetsov
1dcef0d3af Solaris error correction 2006-04-16 19:54:26 +00:00
alexpeshkoff
cd9548d264 ported fixes from release 2006-04-16 16:13:58 +00:00
robocop
86f990dd92 Misc. 2006-04-13 03:59:58 +00:00
kkuznetsov
2f1d73b0e2 Correct messages from Semaphore exceptions 2006-04-12 11:54:44 +00:00
kkuznetsov
6b86285492 Rewiev semaphore on Solaris platform:
add some fixes and loop on EINTR
2006-04-12 09:25:56 +00:00
asfernandes
381d7abe02 Misc 2006-04-12 01:57:06 +00:00
dimitr
6e0263b0b7 Sync with BV branch. Committed on behalf of George Sergeev. 2006-04-11 06:46:57 +00:00