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

581 Commits

Author SHA1 Message Date
dimitr
e4fffd425f 1) Updated monitoring implementation.
2) Cleanup.
2006-10-30 12:39:08 +00:00
robocop
a270d9c440 Put into the msg file several hardcoded messages marked by Arno to be localized. 2006-10-17 06:03:21 +00:00
robocop
28c3d29886 ApiGuide.pdf says a maximum of 16 databases is allowed for a multi-db transaction. However, Ann agrees that a modern new, sensible limit is 256 databases for start_transaction and start_multiple.
Fixed a buffer overrun in jrd.cpp related to this.
2006-10-14 01:29:36 +00:00
robocop
2b27f56428 - Give meaningful message when reaching max group items (255), reported by David Schnepper.
- Misc: more mnemonics for nodes' argument positions.
- Experimental: try to detect conflicting sort options on the same field.
2006-10-07 09:40:59 +00:00
robocop
e0badaed04 Solve problem reported by Bill Oliver in fb-devel: we should complain when someone tries to sort on more than 255 items. 2006-09-30 09:10:28 +00:00
dimitr
7c405166aa 1) Support for client PID in the monitoring data.
2) Changed XNET to return local hostname instead of PID as its remote address.
2006-09-14 13:47:31 +00:00
robocop
af8ecc26ca Solve three problems with arrays:
- Don't allow to apply scalar/subscript syntax to fields that aren't array.
- Detect if we get corrupt database containing array with more than 16 dimensions.
- Reject attempt to subscript array with more than 16 dimensions and thus fix the buffer overrun.
2006-09-10 09:05:40 +00:00
asfernandes
55ec30965d REPLACE statement 2006-09-03 01:09:23 +00:00
robocop
7dab022ddf Prevent users from creating explicit domains that resemble implicit domains because this trick confuses our internal checks:
SQL> create domain rdb$1 int;
Statement failed, SQLCODE = -637
Dynamic SQL Error
-SQL error code = -637
-Implicit domain name RDB$1 not allowed in user created domain
2006-08-31 09:06:15 +00:00
asfernandes
fcac437363 Don't check procedure BLR when it's marked as invalid, to allow restoration of backups with invalid procedures. 2006-08-27 01:09:47 +00:00
dimitr
67e061029f Fixed a small issue noticed by Michal. 2006-08-25 04:51:13 +00:00
asfernandes
b7af27215e Allow usage of domains in PSQL (with TYPE OF syntax) 2006-08-19 02:52:39 +00:00
aafemt
7673a7a491 License added as Adriano requested 2006-08-18 03:46:33 +00:00
aafemt
a4b37f371c Separate header for public constants 2006-08-17 05:58:00 +00:00
aafemt
ea13d58f5f GCC provide inttypes.h even on Win32 2006-08-14 11:37:26 +00:00
asfernandes
144f712c1e Regenerate files 2006-08-07 16:40:49 +00:00
dimitr
00080ab731 More patches for Win64 compatibility. 2006-08-02 05:28:57 +00:00
robocop
bcf2cb8701 1.- COALESCE/CASE and VIA (subqueries) allowed breach in computed field checks (no array and no blob).
2.- Misc: since gbak allows not only to backup metadata only but to restore metadata only (even from a full backup), changed the help message.
2006-07-30 02:59:29 +00:00
robocop
16fdc76d44 Fix wrong gbak verbose messages due to Borland's copy/paste (example: function instead of procedure).
Initialize more sysflags to zero instead of NULL.
2006-07-29 06:01:29 +00:00
robocop
af95e42ef1 Put the manual Windows #defines in the same position as the autoconf's AC_CHECKs for easy visual match. 2006-07-27 09:11:18 +00:00
alexpeshkoff
2d1957bb5e rollback my previous commit, check SIZEOF_LONG correctness 2006-07-26 09:24:53 +00:00
asfernandes
bd8a3216e1 MSVC have limits.h 2006-07-26 01:06:15 +00:00
kkuznetsov
d34f8b80a1 Fix compile error in sort.cpp 2006-07-25 13:03:11 +00:00
alexpeshkoff
c13976d791 Always have correct SIZEOF_LONG 2006-07-25 12:58:07 +00:00
dimitr
f830d925f7 More patches for Win64 compatibility. 2006-07-24 15:42:38 +00:00
robocop
f7b398cec8 Regenerate files after Dmitry's changes. 2006-07-21 01:36:37 +00:00
robocop
64f6eb42a1 Misc. 2006-07-21 01:35:17 +00:00
dimitr
64322e468d Let's workaround the MS' attempt to declare the entire string-handling RTL deprecated.
BTYACC and ICU are still affected by those tons of warning, though.
2006-07-20 06:29:17 +00:00
dimitr
6992f3b904 Reject attempts to select from executable procedures. 2006-07-19 14:50:33 +00:00
dimitr
f1c9466c7f Monitoring, continued. 2006-07-19 05:30:21 +00:00
dimitr
c68587fe66 1. Virtual tables
2. ODS 11.1, procedure type and relation type
2006-07-17 17:44:18 +00:00
robocop
00b890174a Blob sub_types greater than 1 (text) are for our internal ussage. Negative blob sub_types are for users. Stop users from creating columns with blob sub_types beyond. Probably the same check has to be done in DYN. 2006-06-02 08:44:19 +00:00
alexpeshkoff
94c81aaaca removed unneeded STL-based headers 2006-05-23 13:04:49 +00:00
robocop
039ebf4d20 Vlad used the wrong msg number in system_errors.sql: it's 232 instead of 231. Regenerating headers. 2006-05-23 08:54:59 +00:00
alexpeshkoff
2aafa91873 avoid reinterpret_cast in exception's handler 2006-05-22 11:45:19 +00:00
hvlad
1296e18049 Regenerate parser and error codes files (after GTT) 2006-05-21 22:14:38 +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
dimitr
cebda2b4bf Threading cleanup. More to follow. 2006-05-01 04:43:59 +00:00
alexpeshkoff
469589f573 Use Firebird::Array instead of STL's vector 2006-04-25 17:49:24 +00:00
robocop
192832199f Solve a possible truncation problem due to USHORT<->ULONG issues.
Tweak for embedded so it doesn't crash when handling an error.
2006-04-11 07:16:37 +00:00
dimitr
72a9936fd2 Added new error message. 2006-03-28 09:54:35 +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
robocop
f9f26ed891 Sync after Dmitry's changes. 2006-03-08 03:12:01 +00:00
asfernandes
b08ba57248 Move ISC_STATUS_LENGTH and ISC_STATUS_ARRAY to public 2006-03-07 03:11:16 +00:00
robocop
044c5841ad Misc. 2006-02-10 03:28:43 +00:00
kkuznetsov
528f5a4524 Minor fixes big thanks to Alex and Dmitry 2006-02-09 11:00:36 +00:00
kkuznetsov
079d1a2121 Add 2 aligment fixes templates 2006-02-06 08:13:39 +00:00
robocop
fed6653b17 Sync after Vlad's changes. 2006-02-04 04:20:22 +00:00
hvlad
71b04d901c New error message 2006-02-03 17:45:46 +00:00
dimitr
8b20d04a8a 1) An attempt to fix the endianess/alignment issues in the b-tree code.
2) Some adjustments in the pointers management.
2006-01-26 10:45:02 +00:00
robocop
8e7da59fa6 Sync after Dmitry Yemanov's changes. 2006-01-26 07:21:26 +00:00
robocop
7939c5f3d8 Avoid a crash. 2006-01-08 01:11:06 +00:00
alexpeshkoff
64ac449789 avoid vararg constructors in status_exception 2006-01-07 16:50:13 +00:00
robocop
6a3b45e1da Misc. 2005-12-27 08:10:00 +00:00
dimitr
430197c4bd Continued fixing public headers. 2005-12-26 10:31:06 +00:00
robocop
0d4025691a Make sure gmtime_r is marked as missing in Win32. 2005-12-23 23:32:40 +00:00
robocop
2b2e2d5dd0 Const correctness and the like. 2005-12-23 01:42:40 +00:00
robocop
0253028a5d This alternative constructor shouldn't be public, but MSVC6 doesn't obey the private clause if there's another constructor made public. Maybe no compiler does. 2005-12-22 06:22:23 +00:00
aafemt
7470059c2a Move type declarations to appropriate header 2005-12-17 12:55:52 +00:00
dimitr
da625272db More error messages. 2005-12-12 13:56:56 +00:00
dimitr
a909203774 Added new error messages. 2005-12-12 10:51:02 +00:00
dimitr
df8b67d67d Fixed 64bit builds. 2005-12-05 13:42:24 +00:00
dimitr
52abeceb5e Changed location of some defines in order to avoid internals inside ibase.h. 2005-12-05 11:31:45 +00:00
dimitr
96d92682e5 Damn, I'm much sorry. 2005-11-25 05:54:53 +00:00
dimitr
12946de11d Restored the XCPCODE reporting to be compatible with 1.5.
A temporary solution.
2005-10-22 11:09:36 +00:00
dimitr
da3106e9e4 Added new error message. 2005-10-21 09:37:55 +00:00
robocop
860b2f1b9b Try to please the team leader before it's too late.
:-)
We have definitely serious problems with firebird.msg mismatches.
2005-10-20 04:09:40 +00:00
asfernandes
306d4d5f46 Regenerate files 2005-10-13 19:09:04 +00:00
robocop
6ec02b200e Moved another hardcoded error string to the msg database. 2005-10-07 08:52:51 +00:00
robocop
7d304b0fbb Fix SF Bug #1292007
Move some hardcoded error texts to the msg database.
2005-10-06 06:08:10 +00:00
robocop
b69db887fd Totally misc. 2005-09-22 07:09:57 +00:00
kkuznetsov
38beb75685 Adding ability to build CS server with threaded services (can be controled throught configure platform varyable
service_thread_CS):
1)Add new define STD_UTIL



Build tested Solaris x86 and Linux x86
2005-09-21 08:31:35 +00:00
robocop
aab2d20725 - Get rid of DBB_v3 in DSQL and put a message just in case we find ODS<=7 (impossible in theory, since FB wouldn't open such db).
- Put mnemonics for two hardcoded error msgs I hijacked from DYN years ago. Now they are defined for the SQLERR facility.
2005-09-10 07:15:24 +00:00
dimitr
e2b0b80eaf Fixed the win32 build. 2005-08-19 10:08:46 +00:00
kkuznetsov
97fed5be82 Disabled service threads at boot time for all platform except of WIN_NT 2005-08-19 06:56:08 +00:00
robocop
95cf97005b Solve Dmitry's compatibility concerns about my solution for SF Bug #494981. Remember to rebuild the messages db from the scripts in src/msgs. 2005-08-14 06:56:24 +00:00
dimitr
7a343b8162 Moved the Services API into the engine on threadable platforms. 2005-08-10 14:47:42 +00:00
robocop
34f1f5e2c2 Fixed misplaced error messages in gfix. For example, if you do
gfix - housekeeping
you were getting "dialect number required".
2005-07-31 01:06:20 +00:00
dimitr
ff06b5f9af Added new error message. 2005-07-24 18:45:13 +00:00
dimitr
668907912f Changed the ODS encoding, messaging and protection rules. 2005-06-26 16:11:59 +00:00
asfernandes
890494ac7c 1) Fixed SF #1016040 Missing external libraries causes engine exception
2) Use better error messages
2005-06-14 03:16:54 +00:00
robocop
a867f700d0 Substring evolved and the error message was never updated. Now I've done two messages, although I think we need three in the long term. 2005-06-12 23:45:15 +00:00
hvlad
ac03b22901 Regenerated error codes 2005-06-11 21:26:05 +00:00
robocop
3a8cd43a05 Please Dmitry and try to report the line/column of an incomplete statement. 2005-06-11 00:20:22 +00:00
dimitr
d9294d7938 Added new error message. 2005-06-06 13:37:31 +00:00
robocop
b8d1f00f94 - Corrections and changes to Adriano's commit, subject to his inspection.
- Solved an endless loop with trim and zero-length trim characters, etc.
- Some places are signaled with FB_COMPILER_MESSAGE for prompt attention.
2005-06-06 08:30:03 +00:00
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
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
dimitr
9ebccfe5b3 Fixed PathName compile issues. 2003-06-01 08:09:55 +00:00
alexpeshkoff
db39682f9a Added support for case-sensitivity in path's comaparison according to OS requirements.
Use it in config_file & dir_list
Now in win32 one may write: DatabaseAccess=ReStrIcT c:\HiSpAtH
2003-05-30 12:17:47 +00:00
skidder
97e8081d90 Move FB_ALIGN out of platform-dependent section as some parts of code depend on its implementation unconditionally 2003-05-25 00:10:03 +00:00
dimitr
64ad91db69 Fixed win32 build. VC6 doesn't have mkstemp(). 2003-05-20 15:39:58 +00:00
skidder
524fc1a641 Fix up lock manager. Clean AST invocation. Fix type of lrq_flags to match its value. Backout my logic for fast deadlock detection as it breaks engine in several places 2003-05-16 20:35:19 +00:00
eku
d496ef4e4e Check for the function mkstemp(). If it's not available, fall back to mktemp(). 2003-05-14 05:40:00 +00:00
skidder
aeb3dddacf Fix a reason of several observed xdr-related crashes. Bug was introduced during initial C++ porting effort 2003-05-07 13:46:28 +00:00
aafemt
902e7e1e11 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:10:14 +00:00
dimitr
aebd3c1212 Updated messages database. 2003-04-13 13:07:37 +00:00
aafemt
95ccec6f71 STATUS -> ISC_STATUS. Finalize 2003-04-10 10:48:20 +00:00
aafemt
b3436b5cd7 STATUS -> ISC_STATUS 2003-04-10 06:32:58 +00:00
aafemt
d266ad6452 Public headers don't use pathes in #include directives any more. Now they can be provided 'as is' 2003-04-08 10:25:30 +00:00
brodsom
070d5ba155 Comment unused types 2003-03-18 02:13:08 +00:00
alexpeshkoff
1391e13f0a Dropped HAVE_*EXIT defines 2003-03-13 15:46:34 +00:00
eku
6cbd82fea8 Editline changes:
o got a FB-compliant makefile
 o uses configure
 o eventually compiles on SINIX-Z
2003-03-12 12:39:58 +00:00
alexpeshkoff
bb94eea0be Fixed HAVE_ATEXIT define - MSVC has atexit() 2003-03-11 11:49:51 +00:00
brodsom
35f299ea17 Correct Typo mistake 2003-03-09 02:23:56 +00:00