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

298 Commits

Author SHA1 Message Date
skidder
bb175ca5f2 Add forgotten (by me) length checks 2004-06-29 12:41:22 +00:00
skidder
ad6ffddae2 Minor bugfixing/cleanup of string class. I hope this change doesn't break anything, but Alex should look at it 2004-06-26 22:23:19 +00:00
skidder
b5f6dc93df Disable thread priority scheduler for now because it causes too many random failures during QMDB testing 2004-06-25 01:44:13 +00:00
brodsom
1aa7b9452c Looking for extra ; at namespace declaration end 2004-06-13 23:45:02 +00:00
brodsom
bf8f359a13 Remove wrong semicolon 2004-06-13 03:09:29 +00:00
alexpeshkoff
1591a54e5e Thread cleanup:
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
alexpeshkoff
9a34ce553c make bool (isEmpty/hasData) checks for string and stack safe 2004-05-27 16:26:52 +00:00
alexpeshkoff
f25e81f257 restored build of linux classis server's superclient 2004-05-26 16:13:22 +00:00
alexpeshkoff
99dd6b8a03 optimize string performance with the price of 4 additional bytes per string 2004-05-26 16:10:56 +00:00
brodsom
49673436d0 Style 2004-05-23 23:28:26 +00:00
brodsom
372c3de67d -Replace & remove unneeded threading macro in jrd.h
-Move more threading selection to firebird.h
-Replace POSIX_THREADS with USE_POSIX_THREADS
2004-05-22 02:11:56 +00:00
robocop
441817bd82 1.- Misc changes
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +00:00
skidder
277788de7a NetBSD port from James K. Lowden 2004-05-20 23:05:02 +00:00
skidder
35b7115d3d Small 64-bitness fixes 2004-05-20 21:58:15 +00:00
brodsom
6da5532d1b Style 2004-05-18 23:27:06 +00:00
brodsom
d868de978c Define macros for ifdefs without value 2004-05-18 21:55:27 +00:00
brodsom
84bfc45134 Macro cleaning 2004-05-15 01:23:26 +00:00
brodsom
141fe5aae7 -Removing c++ comments from public headers 2004-05-14 16:23:41 +00:00
brodsom
121603b35d -Fix last C++ ISO error (now FB can be built with -pedantic -Wno-long-long) 2004-05-14 14:29:34 +00:00
kkuznetsov
234fdb0e43 Add check for caddr_t to fix compile error on Solaris munmap,
some more warnings to prefix solx86gcc, comment historycal pragmas
2004-05-13 14:05:00 +00:00
brodsom
8699aec9c9 -Avoid shadow warning 2004-05-12 19:23:17 +00:00
brodsom
3918a1abba Removing codes.h 2004-05-10 08:17:15 +00:00
brodsom
4d1085d1bb Removing codes.h 2004-05-10 08:05:29 +00:00
robocop
802f244ec1 Misc changes 2004-05-09 05:48:33 +00:00
brodsom
62a4b10c22 -Replace define with const
-Remove ifdef cplusplus from internal code
-Remove unused macros
2004-05-06 18:09:24 +00:00
eku
3dd652eea7 Remainings of ib_stdio 2004-05-03 11:31:57 +00:00
skidder
e9f8ef102e Fixes needed to make GCC 3.4 happy 2004-05-03 04:25:06 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
ba44794c1e -Remainings of ib_stdio (Pointed by Claudio) 2004-05-01 14:18:28 +00:00
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +00:00
brodsom
c5fb4697cb Remove unused header 2004-04-27 15:53:25 +00:00
brodsom
afa030b5a2 Update generated header with the actual content 2004-04-23 01:53:17 +00:00
skidder
8bb5ed0e96 Fix problem with 64-bit SS NPTL builds 2004-04-20 05:57:31 +00:00
robocop
59b235cea3 Small corrections 2004-04-10 00:25:22 +00:00
skidder
d1e22bee87 Use llrint() on platforms where it is available 2004-04-09 00:23:58 +00:00
alexpeshkoff
eedaf79c49 added some functionality to string 2004-03-31 18:07:34 +00:00
robocop
68c038d132 More cleanup. Get rid of obsolete files, too. 2004-03-30 08:34:14 +00:00
skidder
f26d84f76b 1. POSIX build libraries export only public API. 2. Unify exports for PROD_BUILD and DEV_BUILD. 3. Support for context memory pools. 4. Memory manager has lower memory overhead exceptionally on 64 bit targets 2004-03-25 23:12:50 +00:00
alexpeshkoff
7007d6f2a4 1. introduced Jrd and Ods namespaces
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
alexpeshkoff
67f1740fea Various cleanup to make engine compile and work after mentioned earlier changes.
Mainly:
1) MemoryPool* => MemoryPool& in arrays' constructors
2) use Firebird::string to keep strings data
2004-03-14 13:40:14 +00:00
alexpeshkoff
7457f71e0f 1) a bit more correct memory allocation debugging
2) use AutoStorage to allocate string data
2004-03-14 13:22:16 +00:00
skidder
7fb0574dbd Please GCC in pool_alloc_rpt template declaration 2004-03-13 08:29:48 +00:00
skidder
1c870a7426 Fix issues in my code spotted by Claudio 2004-03-12 20:19:41 +00:00
skidder
c64f31b712 Fix some warnings from GCC/Linux build. Some of them were subtle errors 2004-03-12 07:00:52 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
alexpeshkoff
d261af4111 don't start variables names with underscore - _syscall caused problems with MSVC6 2004-03-01 16:50:26 +00:00
skidder
dc7aab8f9c Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed 2004-03-01 03:35:23 +00:00
alexpeshkoff
87cf963814 make our class behave MemoryPools friendly 2004-02-28 19:44:04 +00:00
skidder
2c4fe73bd4 Implement new shutdown modes (single-user and full shutdown). Tested on Linux/AMD64 CS and SS 2004-02-25 01:50:40 +00:00
alexpeshkoff
efb64b2aab Added native firebird::string class. 2004-02-08 17:08:34 +00:00
skidder
db54b0ff4b Use better macros to detect 64-bit posix. They are non-standard, anyway 2004-01-29 05:56:52 +00:00
skidder
0365f32247 Temporary hack to return Win32 to buildable state. No Win64 port is possible before ULONG name clash is resolved 2004-01-27 18:19:42 +00:00
skidder
67929d482c Return 32-bit ports to buildable state. Declare SLONG and ISC_LONG as plain integers everywhere 2004-01-26 16:32:54 +00:00
robocop
b441cd9aef Cleanup 2004-01-13 09:52:19 +00:00
skidder
6973b067ea Do more AMD64 fixes. libfbstatic builds and can do some basic stuff now 2004-01-12 06:58:27 +00:00
skidder
b7d4438fe7 Disable NATIVE_QUAD on true 64-bit platforms. dtype_quad (enabled by this define) duplicates dtype_int64 and doesn't work. Thus NATIVE_QUAD along with quad* are candidates for cleanup 2004-01-12 05:40:01 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
robocop
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
skidder
60eafc32a8 Fix Linux build 2003-12-14 04:24:05 +00:00
robocop
d020ea5ca1 ping-pong cleanup: change one place and you have to change several others 2003-12-11 10:33:30 +00:00
dimitr
f99e3373d4 Let's support segment-level selectivities. Amen. 2003-11-30 21:14:30 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
skidder
b43441040c Fix MSVC build after Erik's changes 2003-11-21 15:42:36 +00:00
aafemt
0fd9060754 return isc_quad_high and _low 2003-11-14 11:12:28 +00:00
brodsom
c5253ae8a5 -Replace gds__ constants with isc_ contants
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
robocop
f55c6f6f8c const correctness and cleanup 2003-11-10 09:16:38 +00:00
brodsom
146b6f2001 Extern function cleaning 2003-11-07 13:25:53 +00:00
brodsom
89e8f89f86 Extern "C" cleaning 2003-11-06 03:03:36 +00:00
robocop
35396625f5 const correctness
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +00:00
skidder
7b99b8a57b Basic INTL cleanup.
- Rework (mostly undo) John's changes
- Some function type safety
- Make INTL OO layer very thin (this should slightly improve performance)
2003-11-03 17:14:45 +00:00
brodsom
51893d72ad - Make MinGW build again after Nickolay patch (There is a multiple definition of std::bad_alloc::~bad_alloc()) 2003-11-03 02:05:14 +00:00
skidder
e5397f4180 Ugly hack to make Firebird compatible with host applications using STL 2003-10-27 22:27:30 +00:00
dimitr
31e52605aa Modified an existing error message. 2003-10-26 12:29:01 +00:00
dimitr
0269173b64 Added new error message. 2003-10-25 12:44:42 +00:00
robocop
0f4baac1c5 Style 2003-10-20 10:34:33 +00:00
eku
b6151b52c2 SINIX-Z: POSIX stylish sigaction. 2003-10-14 13:10:05 +00:00
brodsom
76fe8abcfb Macro cleaning 2003-10-05 22:51:28 +00:00
aafemt
76eac2d80d Move MSVC-related hack of vsnprintf to MSVC header because it crashed MinGW build 2003-10-02 10:17:40 +00:00
skidder
235db035ce Ok, i'm joining Firebird destruction team with my cleanup:
1. Bring trace DSQL, DYN and BLR trace logging up-to-date
2. Remove redundant CSB pointer dereferences in BLR parser and request compiler
3. Convert RIGHT JOIN to LEFT JOIN early during BLR parsing
4. Check BLR syntax for unititalized contexts usage
5. Some type-safety and const-correctness fixes
2003-09-28 21:36:05 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +00:00
robocop
2376d8daac The products of codes.epp 2003-09-08 11:39:52 +00:00
dimitr
b6f1b4cfe3 Added new error message for Arno. 2003-08-25 08:17:56 +00:00
aafemt
979f66c29b Rough (and temporary?) fix for incompatibility between my get_long(UCHAR*) and old good BTR_get_quad(UCHAR*) reported by Nikolay Samofatov 2003-08-18 10:31:56 +00:00
aafemt
123aa244fb long may be 64 bits. Unbeliveable! Thanks to Erik 2003-08-15 10:09:04 +00:00
skidder
bd1b3e9ead Add nbak messages 2003-08-12 19:54:34 +00:00
aafemt
99f63650c8 Misc inline memory routine 2003-08-12 10:42:52 +00:00
eku
4ff4800a4a Use autoconf to do it right :-) 2003-08-12 10:06:14 +00:00
skidder
ce78ed1f1d 1) Make NBACKUP happy on Win32 CS too.
2) Fix tracking of OWN_hung in Win32 CS lock manager (lock-up debugging aid)
3) Fix possible unsynchronized access to memory manager in Win32 CS builds
and client library. Have shown itself as a very rare crash of Win32 CS manager
process during its startup.
4) Reduce warnings a little
Points 2 and 3 need to be backported to B1_5_Release
2003-08-10 15:43:23 +00:00
skidder
143f8d2443 Implementation of fast physical incremental backup 2003-08-06 16:30:49 +00:00
brodsom
ab9e5e8fa5 Rollback generated metadata headers change 2003-08-03 23:26:51 +00:00
brodsom
bcb4bcad77 Remove unneeded ifdef 2003-07-14 23:13:35 +00:00
brodsom
350f589a62 Correction 2003-07-12 23:16:48 +00:00
brodsom
32787c51c1 Adding generator for fields.h, relations.h, ids.h and names.h 2003-07-12 20:13:22 +00:00
brodsom
952daa6bbd Move fields.h, relations.h and names.h to include/gen, generator will follow 2003-07-12 13:02:26 +00:00
brodsom
e81872b162 -Include var definitions in rdb_codes, codetext, msgs and blh.p headers.
-Uncommited change to codes.epp to allow to used two directories (moving ftn and pas)
2003-07-12 10:24:47 +00:00
brodsom
6df257f479 Moving fortran, pascal etc helpers to lang_helpers 2003-07-10 23:29:52 +00:00
dimitr
b41fee4014 New error messages for:
- gbak
  - DSQL layer (aggregate tracking)
  - JRD layer (EXECUTE STATEMENT)
  - config stuff
2003-06-13 07:56:08 +00:00
aafemt
e631e58bfe Backward compatibility of public interface 2003-06-05 10:12:45 +00:00
alexpeshkoff
552ef5d0a0 Fixed bug with case-sensitive filesystem 2003-06-02 13:55:40 +00:00