8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 08:43:04 +01:00
Commit Graph

344 Commits

Author SHA1 Message Date
asfernandes
0f67560006 Make "configure --with-editline" work 2005-05-29 15:27:08 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
robocop
7813fe3402 Fix SF Bug #494981.
If we can print the name of the exception, we do.
2005-05-22 06:13:54 +00:00
robocop
382d5b3432 Fix for first part of field test bug #1173988.
Also, fix for misleading message, use -R switch tal must be use -REP switch.
2005-04-29 05:36:19 +00:00
robocop
f9815af4ea Updating messages and history after Dmitry's changes. 2005-04-28 05:27:47 +00:00
alexpeshkoff
f4cd5a154f Changed name to security2.fdb 2005-02-24 12:24:38 +00:00
kkuznetsov
d1a41d7eb2 SOLARIS cleanup 2005-02-17 12:51:13 +00:00
dimitr
5dd85db2ea Changes and cleanup regarding XNET vs old-style IPC. 2005-01-16 10:21:54 +00:00
robocop
8b573aa0da Change the license with Mark's permission. 2005-01-12 04:22:32 +00:00
skidder
37739c2c57 Add check for overly long identifiers when pasing BLR. This helps with savepoints problem reported by Vlad and other similar issues as well 2004-12-22 18:34:52 +00:00
robocop
24742873ad fb_string.h is moved to common/classes. 2004-12-17 05:41:47 +00:00
robocop
244621058d Change the license with Mike's permission. 2004-12-12 01:55:57 +00:00
robocop
56d557e5b1 Changing the license with permission from Mark, Mike and John. 2004-12-10 20:50:53 +00:00
robocop
950216de4e Misc. 2004-12-08 05:58:41 +00:00
robocop
516427dae0 Changing the license on John's files after asking him for permission. 2004-12-06 09:58:27 +00:00
alexpeshkoff
ff9eb6f04b misc 2004-12-05 11:56:38 +00:00
alexpeshkoff
c33cc40ecb new method in string 2004-11-24 18:23:16 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
skidder
9507cf9714 Context variables support 2004-11-22 20:22:03 +00:00
hvlad
6db033a401 Added new isc_stack_trace error code for PL-SQL stack trace 2004-11-18 13:50:54 +00:00
dimitr
499688434f 1) Reworked error reporting
2) Allowed positioned updates for explicit cursors
3) Fixed some possible server crashes
2004-11-17 15:23:27 +00:00
dimitr
c1cab92cab 1) Reworked error reporting
2) Allowed positioned updates for explicit cursors
3) Fixed some possible server crashes
2004-11-17 14:50:33 +00:00
alexpeshkoff
bb32770a76 restored STL's copy_from - it's useless for us, but safe 2004-11-16 11:38:40 +00:00
alexpeshkoff
ea9e900ab3 cleanup of methods, storing data in plain char* 2004-11-14 18:05:13 +00:00
skidder
dde4d7b557 Commit change adding method used by ClumpletReader/ClumpletWriter 2004-11-11 21:46:25 +00:00
alexpeshkoff
270959b361 security fix
added method to save string data into char[] buffer safe
2004-11-07 14:23:36 +00:00
skidder
933063c7ce Slightly adjust Dmitry's Firebird::TimeStamp class to make it more useful, change is coordiated with Dmitry. Use thread-safe localtime_r routine when it is available 2004-11-04 19:14:20 +00:00
skidder
e2a45653b3 regenerated msgs.h 2004-11-04 18:59:56 +00:00
robocop
41c68bdd70 Implement rdb$description in rdb$generators. What a chore. 2004-10-30 05:23:31 +00:00
robocop
2b3c98520d Added new message. To be used later (pending changes). 2004-10-25 10:31:59 +00:00
skidder
f01b34ae8e Regenerated ids.h 2004-10-25 02:56:43 +00:00
skidder
71c2c14bb9 Implement vprintf routine in Firebird::string class 2004-10-09 00:43:04 +00:00
skidder
e075d9f71a Add comment for a couple ugly aspects of exception handling (they need to be fixed, eventually) 2004-10-08 15:05:44 +00:00
robocop
373b5e27de Fixed a bug in fatal_exception's constructor that causes fill_status to write garbage in the status vector.
Overload what() for the same class. It helps gpre to quit on failures (gpre changes still not posted).
2004-10-07 09:27:34 +00:00
robocop
ac4aa367b9 recalculate_length(),
copy_to(), safe copy to a char array,
constness,
style.
2004-10-07 08:35:25 +00:00
alexpeshkoff
07cc528371 Fixed a number of errors in Firebird::string 2004-09-23 07:03:14 +00:00
alexpeshkoff
724dfcd19c Slightly optimized strings comparison. 2004-09-17 15:02:02 +00:00
skidder
fc0c02d2dc Add notion of ODS type to wrong_ods error message 2004-09-01 01:08:35 +00:00
skidder
56a42f9765 Use slightly more clear messages during FK violations. Patch submitted by Adriano dos Santos Fernandes 2004-08-31 22:29:59 +00:00
alexpeshkoff
31039a254e next step preparing to allocate auto objects memory from appropriate pool 2004-08-16 12:28:43 +00:00
dimitr
4309b20a5e Added two new error messages. 2004-08-02 19:43:54 +00:00
skidder
b980507ad2 Valgrind support 2004-07-30 22:38:08 +00:00
robocop
b5c374a300 Style 2004-07-09 05:22:46 +00:00
aafemt
bf2ce7ed98 Suppress warning 2004-07-07 10:08:40 +00:00
skidder
407e819789 Fix small inconsistency in string class 2004-07-04 00:00:17 +00:00
skidder
3b062b90b6 Little string class cleanups 2004-06-29 23:31:12 +00:00
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