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

759 Commits

Author SHA1 Message Date
alexpeshkoff
f9b7195280 Fixed CORE-1083 - engine silently ignored attempt to revoke privilege 2007-04-28 14:13:44 +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
8274d3213d Fixed CORE-867 - all utilities now hide password from "ps" as soon as possible 2007-04-25 14:10:47 +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
robocop
dd2432420a Either VC doesn't have INFINITY in math.h or it should be constrained to new versions of the compiler. 2007-04-15 11:21:56 +00:00
robocop
01864d3507 Fix CORE-1162 2007-03-28 04:51:48 +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
4c970f143d Correct error code (forgot this generated file in the previous commit). 2007-03-22 14:03:24 +00:00
dimitr
d31f946fba Added MON$CALL_STACK plus some minor monitoring-related changes. 2007-03-05 07:50:23 +00:00
robocop
3a73b8c28c Update generated file after Alex changes. 2007-03-02 11:14:14 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
asfernandes
cec7eaa8b6 Some changes based on Claudio's comments 2007-01-21 15:35:35 +00:00
asfernandes
be9e3a8a84 1) Correction for input parameters
2) Correct message for constraint violation in CAST
3) Display parameter/variable number when there is no debug info
2007-01-17 23:59:23 +00:00
asfernandes
aca179f398 Full domain support and NOT NULL in PSQL 2007-01-17 01:19:01 +00:00
asfernandes
659d23e6ab Report number of concurrent transaction when raising update_conflict 2006-12-17 21:03:41 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
dimitr
b43b43eca9 1) Changed MON$STATEMENTS a bit.
2) Implemented statement cancellation.
2006-12-04 21:36:29 +00:00
asfernandes
ac0f122511 Fixed CORE-997 - Database-Update 1.5 to 2.0 fails 2006-12-01 14:36:12 +00:00
robocop
c466e704c8 For unknown reasons, this generated file wasn't committed. 2006-11-28 08:52:28 +00:00
asfernandes
5e818bd4a9 Rename REPLACE to UPDATE OR INSERT 2006-11-26 15:40:10 +00:00
asfernandes
d168869475 Added RDB$NULL_FLAG and RDB$PARAMETER_MECHANISM to RDB$PROCEDURE_PARAMETERS 2006-11-24 00:25:13 +00:00
robocop
7f2b0cd25d Fix typos in recent messages. 2006-11-10 08:10:56 +00:00
asfernandes
570b6cd4b4 1) CORE-645 and CORE-745: Database triggers
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +00:00
hvlad
05b028628f Replace few hardcoded error messages by new error codes 2006-11-05 10:54:46 +00:00
robocop
fb0cd24854 Put two recent hardcoded messages into the msg db. 2006-11-05 04:01:30 +00:00
dimitr
363ed4b7ba Simplification and fix. 2006-10-31 15:19:13 +00:00
hvlad
58d381edd7 1. Remove blr_src_info code as it is prevents database downgrade from ODS 11.1
2. Put debug information (mapping between blr offset and source line\column and names of local variables) into new blob field RDB$DEBUG_INFO
This is first step to implement native SQL debugger i believe
2006-10-30 20:58:06 +00:00
dimitr
736e1122e7 Win64 adjustments. 2006-10-30 13:04:03 +00:00
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
brodsom
ad0e1f0e66 -Changes for MINGW build
-SERVER_SHUTDOWN must be defined for WIN_NT
2003-03-05 23:43:36 +00:00
brodsom
40df76418a -Add IPSERVER define to window.cpp, now it is possible to do a server build without ipserver.
-Add SERVER_SHUTDOWN define to window.cpp.
-Move the setting of SERVER_SHUTDOWN when SUPERSERVER to firebird.h, previously a SUPERSERVER build fail if SERVER_SHUTDOWN is not defined in the command line.
2003-03-01 18:15:43 +00:00
brodsom
e3df3b53f8 Remove ISC_FAR 2003-02-28 13:20:36 +00:00
brodsom
165023d329 Remove FAR_VARIABLE 2003-02-28 12:57:13 +00:00
aafemt
1f1e2cc489 blrtable.h is generated and must not be in tree 2003-02-28 05:22:13 +00:00
brodsom
dd621992d5 New macro defined in firebird.h to remove compiler dependencies from cpp sources. 2003-02-27 21:34:41 +00:00
brodsom
33a232d7b6 Join two compiler dependent defines. Put in fb_types.h since it is always included in ibase.h 2003-02-27 21:09:51 +00:00
brodsom
caa2c65b1e Add Fortran files and move GPRE_* defines from autoconf header to makefiles. 2003-02-27 16:55:56 +00:00
brodsom
207c8fb788 Remove GDS_FAR, win_handle, form_handle (Thanks to Claudio) 2003-02-27 04:36:28 +00:00
brodsom
94e1bc6ee4 Move WIN32_LEAN_AND_MEAN to autoconfig_msvc.h 2003-02-25 12:39:14 +00:00
eku
6776adb23e Added a test for <sys/socket.h> needed in remote/inet.cpp. 2003-02-18 12:38:27 +00:00
aafemt
2dadf55537 WCHAR --> UCS2_CHAR and some cleanup around it 2003-02-18 05:24:35 +00:00
brodsom
9984ab111f Disable another level 4 warning. 2003-02-17 14:52:07 +00:00
brodsom
43f51c8068 Warning control from autoconfig_msvc.h 2003-02-17 13:37:08 +00:00
brodsom
9d2e89e69f Warning control from autoconfig_msvc.h 2003-02-17 13:28:17 +00:00
brodsom
8bdf295e25 Change build system to move warning control to only one header for each compiler 2003-02-16 11:39:22 +00:00
dimitr
ac645b0258 CONST -> const 2003-02-13 09:58:19 +00:00
brodsom
9a71ae7987 Change #if 0 and #if 1 to NOT_USED_OR_REPLACED 2003-02-12 12:51:07 +00:00
eku
116280f992 Completed the changes made by Dmitri Sibiriak. 2003-02-10 09:39:55 +00:00
aafemt
8c121969c8 Some cleanup 2003-02-10 05:42:22 +00:00
kkuznetsov
87586ee7b1 Some commits for SOLX86 2003-02-07 14:38:49 +00:00
dimitr
ebb125fc49 One of my previous commits has broken generated ibase.h. Fixed. 2003-01-19 14:42:17 +00:00
dimitr
6d7d535514 Cleanup. 2003-01-18 19:43:08 +00:00
dimitr
fd2f852e49 Cleanup. 2003-01-18 19:39:12 +00:00
dimitr
c2f7a54c87 no message 2003-01-17 06:59:44 +00:00
skidder
ba5e11b15c Integrate new memory manager into the engine 2003-01-16 17:47:10 +00:00
dimitr
dd42c7f307 Added IPC prefix to the autoconf stuff. 2003-01-15 13:34:39 +00:00
dimitr
42fb6310b7 New BLR verb for parametrized events. 2003-01-15 12:13:43 +00:00
alexpeshkoff
ba3e53f7be Don't include internals of struct why_hndl where it is not required. 2003-01-03 12:52:39 +00:00
skidder
9b57d8b649 Several little changes to make engine compilable again on Linux 2002-12-16 21:19:51 +00:00
alexpeshkoff
218b3a39b1 Rename all links to why.cpp handle to struct why_hndl * (or FRBRD *) 2002-12-16 15:59:18 +00:00
eku
df8185c112 Removed hooks for BASIC/PL1 in gpre, as the support has been dropped
before IB4.
2002-12-06 13:44:53 +00:00
dimitr
643deba7e9 Cleanup. 2002-12-06 11:44:37 +00:00
eku
6f051cbb7d Disabled gpre's BASIC and PL/1 support in configure. There's no such
implementation.
2002-12-03 13:58:40 +00:00
dimitr
4c5c19e928 no message 2002-12-03 13:27:06 +00:00
eku
2274ed0734 gpre's built-in lannguage support is now an autoconf option. C/C++ are
mandatory, all others are optional. Default all=off.
Type 'configure --help' for details.
2002-12-02 11:17:04 +00:00
eku
39e296192c Removed inconsistencies pointed out by Claudio Valderr.
Replaced 'defined(__osf__) && defined(__alpha)' with 'SIZEOF_LONG == 8'.
New macro FB_NELEM calculates the number of elements in an array.
2002-12-02 08:25:23 +00:00
dimitr
b5144c480d Cleanup by Dimitry Sibiryakov. 2002-11-22 14:11:28 +00:00
eku
1a94cf2642 Autoconf: check for header files sys/ipc.h and sys/file.h. 2002-11-21 08:56:28 +00:00
dimitr
3dacb3ea8b Correction. 2002-11-19 13:07:51 +00:00
skidder
53f625e077 New explicit pessimistic locks implementation. It is logically consistent in all TPB modes and should be very fast. 2002-11-18 20:27:24 +00:00
eku
eed374c06a Autoconf:
o added tests for nttab.h sys/mntent.h sys/mnttab.h
 o added tests for getcwd getwd setmntent getmntent
 o ISC_PREFIX renamed to FB_PREFIX
 o major code cleanup in src/jrd/isc_file.cpp

Removed platform-specific files from posix/Makefile.in.firebird.
2002-11-18 13:23:00 +00:00
dimitr
6ea08558f3 no message 2002-11-16 16:01:00 +00:00
kkuznetsov
27c57c2fa6 Fix check for xdr staff 2002-11-15 10:55:34 +00:00
dimitr
c8b4d6d306 Cleanup. 2002-11-14 07:37:27 +00:00
eku
e7624082a4 Autoconf cleanup:
o added tests for setitimer
 o updated config.h.in and autoconfig_msvc.h (the latter may be incorrect)
 o replaced NO_ITIMER with HAVE_SETITIMER
2002-11-14 07:35:52 +00:00
eku
40f1aad681 Autoconf cleanup:
o added test for the header file mntent.h
 o replaced NON_MNTENT with !HAVE_MNTENT_H

Removed some left-overs from Sean's DECOSF removal.
2002-11-13 12:27:47 +00:00
eku
616c134010 Editline cleanup:
o removed obsolete readline tests
 o renamed readline into editline
 o editline is not enabled by default, enabled with '--with-editline'
2002-11-13 07:07:58 +00:00
eku
7fe24dd9a8 Autoconf: check for aio.h, pread and pwrite 2002-11-12 13:46:11 +00:00
eku
b13bede16e Autoconf: check for getpgrp 2002-11-12 13:15:13 +00:00
kkuznetsov
3e56a0ffff Add check for native xdr 2002-11-12 12:30:08 +00:00
eku
d1452af022 Autoconf: check for semun 2002-11-12 09:17:52 +00:00
alexpeshkoff
81b3d5593e Added 2 new exceptions
Cleanup
2002-11-11 18:06:01 +00:00
dimitr
bd1bc19610 Autoconfigured pipe name for wnet protocol. 2002-11-06 14:10:40 +00:00
dimitr
527f5d41cd Corrected service name. 2002-11-06 13:39:52 +00:00
eku
af691e2edc Now you can specify the service name and port of the DB server via configure
--with-service-name     specify inet service name (default=gds_db)
  --with-service-port     specify inet service port (default=3050)

So it's possible to run FB1 and FB2 together on the same machine.
2002-11-06 12:36:07 +00:00
dimitr
911f840488 Fixed MAXPATHLEN cleanup for win32. 2002-11-06 12:33:29 +00:00
eku
64c91686e8 Keep the order of the defines in sync with the tests in configure.in. 2002-11-06 07:21:30 +00:00
kkuznetsov
cdf11bec87 Add check for crypt.h 2002-11-05 13:48:43 +00:00
eku
9fcdb74685 More status vector cleanups (ISC_STATUS_LENGTH).
Autoconf checks for xdr_hyper.
2002-11-04 13:57:18 +00:00
seanleyne
b3ad604669 Removed support for obsolete "PC_PLATFORM" define 2002-10-31 05:06:02 +00:00
seanleyne
0b82f4aa07 Removed obsolete "Netware" port 2002-10-30 06:40:58 +00:00
skidder
8e6622a20e Merging changes from skidder branch - explicit locks, savepoints, build system changes 2002-10-29 20:20:44 +00:00
seanleyne
a2bfcd6bd2 Code cleanup, removed obsolete "SGI" port 2002-10-29 03:31:20 +00:00
seanleyne
11e4f78a30 Code cleanup, removed obsolete "MPEXL" port 2002-10-29 02:59:57 +00:00
seanleyne
93f6fffb14 Removed obsolete "DGUX" port 2002-10-29 02:45:09 +00:00
seanleyne
026d8c0441 Code Cleanup, removed obsolete "Ultrix" and "Ultrix/MIPS" ports 2002-10-28 05:19:52 +00:00
seanleyne
045be63397 Code Cleanup, removed obsolete "UNIXWARE" port 2002-10-28 04:57:07 +00:00
eku
7b07cc5628 Autoconf: check for function getpagesize. 2002-10-16 08:38:04 +00:00
skywalker
f35570a03b A few makefile dependancies fixed.
Started work on upgrading rpm build scripts
Fix makefiles for super build
Exchange editline for readline in isql
2002-10-07 01:29:13 +00:00
dimitr
15e57b6ff6 Fixed wrong alignment of double for i386. 2002-10-01 12:03:32 +00:00
eku
3033cff1bf Merged the support for databases on raw devices from FB1 into FB2.
Added switch '--enable-raw-devices' to configure to enable this feature
(default=off). Currently only supported on UNIX platforms.
2002-10-01 05:48:00 +00:00
kkuznetsov
b5b9fd5f90 *** empty log message *** 2002-09-27 13:12:46 +00:00
skidder
6d64014e57 Changed engine to store source file name/line number information for EVERY allocation when DEBUG_GDS_ALLOC is defined. All allocation should be done using FB_NEW or FB_NEW_RPT macros instead of keyword new since now 2002-09-25 17:12:16 +00:00
dimitr
503f45346c DEBUG_GDS_ALLOC macro is now defined by autoconf. 2002-09-24 14:17:24 +00:00
dimitr
7197243207 We definitely don't need extra tons of warnings regarding unrecognized preprocessor directive. 2002-09-21 09:53:24 +00:00
eku
91f3e6589d Autoconf:
o check for the function initgroups (replaces NOINITGROUPS define)
 o the define INTL (common.h) has been removed, since it is only set but not
   used anywhere
2002-09-19 10:51:34 +00:00
eku
ef2ff91438 Autoconf cleanup:
o use predefined macros to test for sys/wait.h, time.h and sys/time.h
 o search strcasecmp in libresolv only if strcasecmp and stricmp are not in libc
 o use predefined macro AC_SYS_LARGEFILE to determine 64Bit I/O
 o determine the alignment of long and double (ALIGNMENT,DOUBLE_ALIGN),
   still need to write a test for FB_ALIGN!
2002-09-18 12:50:13 +00:00
eku
4eaf8c0914 Autoconf cleanup:
o since the define 'VAX' was only used to tell that the byte order is
   LITTLE_ENDIAN (it have nothing else to do with the VAX computer family)
   it can safely replaced with '!WORDS_BIGENDIAN'.
 o check if pointers are 64 bit
 o replaced HAS_64BIT_POINTERS with 'SIZEOF_VOID_P == 8'
2002-09-17 05:58:40 +00:00
eku
da93f6697f Autoconf enhancements:
o autoconf v2.53 and later is now required to generate configure
   (sorry, but it makes many tasks easier)
 o improved tests for mmap, socklen_t and offt_64
 o added tests for atexit, on_exit, (v)fork, set(p)grp, setpgid and flock
 o added test for the keyword 'volatile'
 o fixed errors in configure.in
 o updated config.h.in and autoconfig_msvc.h (the latter may be incorrect)
 o replaced VOLATILE by volatile
 o removed SETPGRP and ATEXIT
 o replaced NO_FLOCK by HAVE_FLOCK
 o SIG_FPTR cleanup
 o vfork cleanup
2002-09-11 11:30:50 +00:00
dimitr
e2c1962fbe Minor build changes in the UDF libraries. 2002-09-03 17:29:53 +00:00
eku
5a73f83acb Added the new configure option '--with-lock-manager' that controlls the build of the manager binary. This option is only valid for CS architecture. 2002-09-03 13:24:21 +00:00
eku
661d16f298 Another autoconf cleanup:
o check for the existence of the function strcasecmp and stricmp
 o replaced STRICMP
2002-08-28 06:50:33 +00:00
dimitr
609af2bc43 Moved SIG_FPTR type declaration from fb_types.h to common.h.
Hence we've got the codebase compiled on win32 again, and
it shouldn't break other builds, IMHO.
2002-08-27 11:47:12 +00:00
eku
2e37eda099 Moved the (multiple) definition of SIG_FPTR to fb_types.h. 2002-08-26 12:13:23 +00:00
eku
268a2985c6 Another autoconf cleanup:
o check for the existence of the function mmap
 o replaced MMAP_SUPPORTED by HAVE_MMAP
2002-08-26 11:59:01 +00:00
dimitr
4a7589d5eb Corrected MSVC related autoconf stuff. 2002-08-24 10:53:42 +00:00
eku
b956e567b9 Check for the existence of the function snprintf. Added a work-around
for systems like SINIX-Z, that do not have snprintf. We really need
a plug-in replacement for those systems.
2002-08-22 11:30:32 +00:00
eku
56b9633d5b Another autoconf cleanup:
o check for the existence of the function sigaction
 o replaced SIGACTION_SUPPORTED with HAVE_SIGACTION
2002-08-22 10:48:26 +00:00
eku
599ab7de28 Minor 'dirname' cleanup:
o check for the availability in configure
 o removed the ugly test in flu.cpp
 o synchronised config.h.in and MSVC pendant

NOTE: If you have problems on your system, don't change the source.
      Extend the tests in configure.in!!!
2002-08-14 12:27:41 +00:00
eku
1069d24032 Huge 'times' cleanup:
o check for the availability in configure
 o removed the define NO_TIMES
 o synchronised config.h.in and MSVC pendant

NOTE: If you have problems on your system, don't change the source.
      Extend the tests in configure.in!!!
2002-08-14 11:44:03 +00:00
eku
076de37a9f Huge 'gettimeofday' cleanup:
o check for the availability in configure
 o check for the number of arguments in configure
 o synchronised config.h.in and MSVC pendant

NOTE: If you have problems on your system, don't change the source.
      Extend the tests in configure.in!!!
2002-08-14 11:14:01 +00:00
dimitr
dcea8f0ce1 Keep in-sync with Mark's changes. 2002-07-29 17:35:33 +00:00
skywalker
350b251820 Changes to get compiling on linux (post fb1 changes). 2002-07-05 15:00:26 +00:00
skywalker
82d8017317 Merged change from fb1. 2002-07-01 16:59:09 +00:00
dimitr
f05d0bbd27 Merging changes from fb1. 2002-07-01 15:46:07 +00:00
dimitr
5ea5fffe2f Must be (and already is) in /include/gen 2002-07-01 15:43:33 +00:00
dimitr
25de98bfd8 Merging changes from fb1. 2002-06-29 13:03:13 +00:00
dimitr
02735f2ca8 Merging changes from fb1. 2002-06-29 12:55:13 +00:00
dimitr
4c4a1f3f2f Implemented case-insensitive keys in FirebirdConfigFile (to support various configs on Win32). 2002-06-20 08:24:48 +00:00
dimitr
c5f50577cb 1. New system variables - CONNECTION_ID and TRANSACTION_ID
2. Universal triggers
2002-06-14 12:09:37 +00:00
tamlin
c01e7261be There is no C++ class named slist. Removed. 2002-06-12 06:58:00 +00:00
bellardo
39d73ee915 New files added during the porting of intl support to FB2. 2002-06-04 19:36:48 +00:00
dimitr
435955e527 Some minor changes 2002-04-29 10:57:05 +00:00
dimitr
8463265fc1 Implemented 'EXECUTE VARCHAR' command. 2002-04-04 13:53:20 +00:00
bellardo
d45ff6c07b Accept NULL memory deletes and move exception raise code to its own file. 2002-04-04 05:38:26 +00:00
skywalker
b3667acaf8 Main changes were to add cr to end of the files.
cvt_proto.h removed a duplicate extern directive
gen/codes.h added back appolo error code, since it was still used
2002-03-11 16:34:08 +00:00
dimitr
7857915b5b Correction to the clean up of the Apollo port 2002-02-25 10:59:13 +00:00
seanleyne
17720d16e0 Code cleanup, removed old Windows 3.1 (WINDOWS_ONLY) port 2002-02-23 22:08:37 +00:00
seanleyne
00d25acd85 Clean up of change notes in headers 2002-02-16 05:06:17 +00:00
seanleyne
142ded1aba Code cleanup of obsolete Apollo port(s) 2002-02-16 04:36:05 +00:00
seanleyne
4eaa6747f8 Code cleanup of obsolete OS/2 port 2002-02-16 04:16:12 +00:00
seanleyne
a22935d717 Code cleanup of obsolete Cray port 2002-02-16 04:04:45 +00:00
seanleyne
eeccbb4e0f Code cleanup of obsolete M88K and NT Power PC ports 2002-02-16 03:54:56 +00:00
seanleyne
04e8f48a17 Code cleanup of obsolete NeXT port 2002-02-16 03:37:45 +00:00
seanleyne
68e1650068 Code cleanup of obsolete NCR3000 port 2002-02-16 03:33:53 +00:00
seanleyne
525f3aaaef Code cleanup of obsolete IMP port 2002-02-16 03:27:33 +00:00
seanleyne
f536f116e1 Code cleanup of obsolete DELTA port 2002-02-16 03:05:21 +00:00
seanleyne
e134ef027f Code cleanup of obsolete EPSON port 2002-02-16 02:21:35 +00:00
seanleyne
855b4fa319 Code cleanup of obsolete MAC AUX port defines "MAC" and "MAC_CP" 2002-02-16 01:58:24 +00:00
skywalker
a887af3646 Changes to make it compile on linux.
and work through a few issues.
2002-01-04 11:34:22 +00:00
tamlin
5ae485f0b5 cleaning up 2001-12-29 11:41:29 +00:00