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

650 Commits

Author SHA1 Message Date
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
asfernandes
6df3f27648 Misc 2006-04-07 02:58:06 +00:00
robocop
c5f2284b15 Style. 2006-04-06 08:18:53 +00:00
kkuznetsov
6572fbf570 Add check for result of mmap() on Solaris platforms 2006-04-05 06:25:47 +00:00
robocop
e5338ba1ed Only strcmp and strncmp have common names across all plartforms. Cater for differences in strcasecmp/stricmp and strncasecmp/strnicmp. 2006-03-25 07:08:00 +00:00
alexpeshkoff
baa8ede6a8 better support for OS error code in system_call_failed 2006-03-15 17:29:11 +00:00
alexpeshkoff
eddade0912 change default value of LegacyHash 2006-03-15 17:23:07 +00:00
alexpeshkoff
0f6c1dc50b let's try to make gcc4 happy 2006-03-03 16:03:14 +00:00
robocop
1f84bac700 Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc. 2006-02-23 05:08:26 +00:00
robocop
48f94b4624 The whole indentation was screwed in those files. 2006-02-21 04:29:00 +00:00
kkuznetsov
8d9617de87 Fix Sun C++ compiler visibility error 2006-02-20 08:25:50 +00:00
kkuznetsov
f608342deb misc 2006-02-20 08:00:52 +00:00
kkuznetsov
e90dca0f9e misc 2006-02-20 07:59:20 +00:00
kkuznetsov
10b644875f Support Sun C++ compiller in Bee+tree though conditional compilation. 2006-02-20 07:46:54 +00:00
robocop
14d73ccb8f Use SUPERCLIENT for fbudf for avoiding exception-related code. 2006-02-04 04:39:00 +00:00
robocop
97122ee389 Replace jrd_time.h by our timestamp.h, but I left timestamp.h's #includes commented where it *seemed* not necessary. 2006-02-03 08:39:36 +00:00
robocop
0c28df8cf2 Declare independence day from client library for fbudf . For builds other than MSVC6, the following has to be done:
- add to fbudf project the files timestamp.cpp and timestamp.h
- for the same project, define FBUDF_EXPORTS as preprocessor macro
- for the firebird2 workspace/solution/make/etc get rid of the dependency of fbudf on fbclient. Build files that I indentified that need fixes are:
builds\posix\Makefile.in.client.fbudf
builds\posix\Makefile.in.embed.fbudf
builds\win32\msvc7\fbudf.vcproj
builds\win32\msvc7\Firebird2.sln
MacOs build files ignore fbudf completely.
This change eliminates the problem with the client library having different names depending on the build type (SS, CS, embedded).
2006-02-02 00:28:03 +00:00
paul_reeves
6baee04435 Forward port OldColumnNaming from Fb 1.5.3 2006-01-17 04:40:31 +00:00
alexpeshkoff
ca70704563 fixed gcc warning(s) 2006-01-16 15:39:55 +00:00
robocop
b67b0219ab Change from getenv to readenv. This is still getenv in Linux/UNIX but GetEnvironmentVariable in Windows. 2006-01-14 04:48:59 +00:00
kkuznetsov
c4ca94823b Fix compile error on Solaris - udefined va_list 2006-01-10 15:01:03 +00:00
robocop
7939c5f3d8 Avoid a crash. 2006-01-08 01:11:06 +00:00
alexpeshkoff
32ef4f5b67 fixed compilation after changes in exception 2006-01-07 16:58:23 +00:00
alexpeshkoff
6dee6d3079 avoid vararg constructors in status_exception 2006-01-07 16:55:40 +00:00
robocop
59a525a87b Complete Alex fix. 2006-01-07 00:34:42 +00:00
alexpeshkoff
1ecaaa049e fixed "invalid database handle" error 2006-01-06 11:21:57 +00:00
alexpeshkoff
2690209189 MetaName can now handle NULL in constructors and assignments 2006-01-03 15:07:47 +00:00
hvlad
bb880019d8 Avoid frequent (unneeded and inefficient) allocation\deallocation of stack entryes 2005-12-26 21:18:02 +00:00
robocop
75ddccb613 Misc. 2005-12-25 04:01:49 +00:00
robocop
03a066dcb9 [s|g]etConfigFile renamed [s|g]setConfigFilePath. Clearer, since we have a class named ConfigFile but the function only returns a string with the path, not an object. 2005-12-25 03:59:49 +00:00
robocop
0ff27c2af8 Don't crash the debug build if the allocations report file cannot be opened. 2005-12-24 07:28:31 +00:00
alexpeshkoff
ec0ea3e492 fixed problems with empty SPB 2005-12-23 08:24:01 +00:00
alexpeshkoff
8de8ef96ce added Redirection parameter to firebird.conf 2005-12-21 10:10:37 +00:00
alexpeshkoff
addf657da0 use mutex instead of spin lock 2005-12-18 16:10:48 +00:00
dimitr
f73bf9d193 Undone my changes in clumplets to follow Alex's solution. 2005-12-10 10:15:10 +00:00
dimitr
d074f8bf8b Fixed regressions with SAPI. 2005-12-10 10:05:35 +00:00
alexpeshkoff
cc70a63753 added test to trim characters >= 128 2005-12-04 12:08:06 +00:00
alexpeshkoff
26f8b389ee fixed trim of characters >= 128 2005-12-04 12:06:55 +00:00
dimitr
eaef84342c More missing stuff. 2005-12-03 10:22:22 +00:00
dimitr
07c7a232de Fixed backup. 2005-12-03 09:48:35 +00:00
alexpeshkoff
f5871b1929 fixed problems, caused by my previous commit 2005-12-02 16:54:04 +00:00
robocop
5c8f816adc Totally misc. 2005-12-01 03:00:23 +00:00
alexpeshkoff
d288dfeb88 Clumplet's improvements 2005-11-30 17:11:23 +00:00
alexpeshkoff
62a24d46e4 1. Moved data structures, written to database file, into ods.h.
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
robocop
41e13ca1b1 Fix for Alex's removeRange & removeCount methods in Array class. 2005-11-18 05:31:25 +00:00
alexpeshkoff
35d800e0be Retry when system call is interrupted 2005-10-28 15:25:15 +00:00
robocop
eb03e65ddc Source code comments. 2005-09-27 07:47:11 +00:00
dimitr
b3033115de Slightly change the round function. 2005-08-24 09:09:35 +00:00
dimitr
5e6031a4b5 Fixed one of the UDF access issues. 2005-08-22 09:16:31 +00:00
kkuznetsov
b4b0b9d683 Comment correction thanks to Claudio 2005-08-19 06:04:10 +00:00
kkuznetsov
ef47186fab Some comments added 2005-08-18 09:33:25 +00:00
robocop
4399b15b3d const_iterator
The code in intlmanager originally confused me.
2005-06-11 00:13:30 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
alexpeshkoff
23aa3b9fef misc 2005-05-18 11:06:15 +00:00
robocop
e2b16d669d Get rid of redundant definition: already in constants.h. 2005-05-18 07:29:13 +00:00
alexpeshkoff
c03d2241c5 fixed issues, reported by Claudio 2005-05-17 18:20:07 +00:00
alexpeshkoff
a9c754f16f fixed bug noticed by Vlad 2005-05-14 05:21:51 +00:00
alexpeshkoff
e0b828a3b1 Added class to handle metadata names 2005-05-12 18:26:13 +00:00
alexpeshkoff
c6fb984d13 make Firebird::vector const-friendly 2005-05-12 18:24:05 +00:00
robocop
f3d1c47f99 Misc. 2005-04-18 03:36:03 +00:00
robocop
b5ec6d966c Be in sync with our header protection convention. 2005-04-18 03:26:45 +00:00
kkuznetsov
438005440f Allow setting TCP_NODELAY socket option in Classic Server
and make if default true on both arhitecture.
2005-04-04 12:54:34 +00:00
dimitr
dd1ef4e306 no message 2005-02-20 08:35:35 +00:00
dimitr
02f626c62c Fixed bug with WEEKDAY. 2005-02-19 10:37:35 +00:00
kkuznetsov
f922e000b7 Comments cleanup 2005-02-17 12:42:49 +00:00
dimitr
c00ffe7ec0 Fixed the default memory management in fbclient.
Avoid crashing the server when fbclient is used in its address space.
2005-02-16 08:46:48 +00:00
alexpeshkoff
655e961b67 add constness 2005-02-13 18:03:40 +00:00
alexpeshkoff
63256e3ae0 misc 2005-02-02 11:22:06 +00:00
alexpeshkoff
a9ce92244e license + misc 2005-01-30 11:44:59 +00:00
alexpeshkoff
381c1a7ef3 added feature (requested by Dmitry) - first path in ExternalFilesAccess
is used as default when external file is to be initially created
2005-01-26 18:02:30 +00:00
dimitr
03cfc7c237 Changes and cleanup regarding XNET vs old-style IPC. 2005-01-16 12:35:27 +00:00
alexpeshkoff
19411789b3 fixed multi-threaded client and Win32 embedded problems
after introducing context memory pools
2005-01-14 09:56:38 +00:00
robocop
3c862d57a3 Misc. 2005-01-12 08:30:24 +00:00
robocop
741a1d3d5a Correct the year in Alex' changed licenses. 2005-01-12 04:34:16 +00:00
robocop
fccc202ece Change the license.
Also, these two files were done by Dmitry Yemanov, not Mark, according to viewCVS.
2005-01-12 04:24:53 +00:00
alexpeshkoff
e2dd2c56cd applied correct license to files, added by me to the project 2005-01-10 18:06:14 +00:00
robocop
4012106884 Misc. 2004-12-25 09:44:03 +00:00
kkuznetsov
af0ab61ae2 Some things is moved from R1.5.1.
Starting separating of defines accoding
SOLARIS -- any threading modes
SOLARIS_MT - solaris with Sun threading model
current nothing - solaris with posix threading model
2004-12-24 09:35:48 +00:00
robocop
d65307b497 Style. 2004-12-24 08:52:39 +00:00
robocop
4d41decc4f Misc. 2004-12-22 08:49:26 +00:00
alexpeshkoff
e7d4b79b12 use context pool in AutoStorage class 2004-12-17 11:13:24 +00:00
robocop
24742873ad fb_string.h is moved to common/classes. 2004-12-17 05:41:47 +00:00
robocop
de3902e4b4 Misc. 2004-12-17 05:40:10 +00:00
alexpeshkoff
e5234b68a3 fixed bug, noticed by Adriano dos Santos Fernandes 2004-12-13 15:49:28 +00:00
alexpeshkoff
4c30c0a47d test for Firebird::string 2004-12-13 12:05:29 +00:00
robocop
b59cf9c750 I can revert the constness if it becomes too restrictive in the future. 2004-12-12 06:50:10 +00:00
robocop
e5347aae55 Misc. 2004-12-12 01:55:21 +00:00