dimitr
45c6b39fd1
More patches for Win64 compatibility.
2006-07-27 08:11:51 +00:00
dimitr
c68587fe66
1. Virtual tables
...
2. ODS 11.1, procedure type and relation type
2006-07-17 17:44:18 +00:00
dimitr
09b0823d0f
Fixed bug in the ODS architecture checking logic.
2006-06-01 09:09:15 +00:00
dimitr
7cc12e8489
1) Reworked memory management in SORT. Now we're pools aware there.
...
2) Reworked error handling in SORT and its callers.
3) Replaced DLS+SortMem with the generic TempSpace class.
4) Replaced GDS temp file management with the TempFile class.
5) Various cleanup.
2006-05-31 08:53:00 +00:00
hvlad
18362ed19e
Changes noted by Claudio
2006-05-24 11:38:16 +00:00
asfernandes
7ae984376b
Misc
2006-05-23 18:32:50 +00:00
asfernandes
8dfca54dda
Complete Dmitry's cleanup of all_proto.h
2006-05-23 12:23:53 +00:00
hvlad
3259922c90
Use PathUtils::dir_sep instead of hardcoded backslashes. Thanks to Adriano
2006-05-23 06:55:26 +00:00
asfernandes
92cd427bbd
Misc
2006-05-23 03:37:00 +00:00
hvlad
701f2cbda4
Global temporary tables implementation
2006-05-21 22:07:35 +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
robocop
60a96d91a7
Misc.
2006-04-23 08:25:10 +00:00
robocop
d74438baed
Fix the discordant data types between flags and the vars used to work with them (really dangerous if the flag is USHORT and you hold it in a UCHAR). Also, get rid of some debris of the uppercased typedefs.
2006-04-19 07:10:53 +00:00
asfernandes
64751392b8
Misc
2006-03-16 02:26:52 +00:00
alexpeshkoff
7f61b486f2
applied patch of Sergey Skvortsov - port for FreeBSD AMD64
2006-03-15 17:32:33 +00:00
hvlad
c3c2cd38af
Make code some simpler. Thanks to Claudio
2006-02-05 11:04:44 +00:00
hvlad
7c5c5ec818
Don't overwrite dbb_oldest_snapshot and another transaction numbers with
...
oldest values from header page after user call to isc_info_oldest_snapshot etc
2006-02-03 13:23:58 +00:00
robocop
2011950972
The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
...
Ninth step: while doing cleanup, I discovered some data members that aren't used anymore or that should be inside conditional code. This is the result.
2006-02-03 02:28:58 +00:00
robocop
1e6d89ebfc
Comment excessive dependencies on license.h.
2006-01-07 00:31:37 +00:00
alexpeshkoff
e832cd2c68
fixed BOFs in PIO functions
2005-09-08 16:41:56 +00:00
dimitr
6430c7ac10
Moved the ODS checking routine from ods.h to a separate module.
2005-08-16 13:39:26 +00:00
robocop
7b29d802a2
Fix SF Bug #1238104 .
2005-07-31 03:45:20 +00:00
dimitr
668907912f
Changed the ODS encoding, messaging and protection rules.
2005-06-26 16:11:59 +00:00
robocop
7e5696adcd
Misc.
2005-02-14 05:56:04 +00:00
skidder
d10e6fb18a
Please GCC
2005-02-09 23:21:29 +00:00
skidder
5abe33fc37
Re-enable the ODS architecture compatibility check disabled by Deej 10 years ago
2005-02-09 23:03:11 +00:00
robocop
af6a16107a
Misc.
2004-11-30 06:18:39 +00:00
robocop
1f6c4aa111
Misc.
2004-10-31 09:28:39 +00:00
dimitr
421f259a4e
1) Locks related cleanup
...
2) Got rid of TRA_nowait + transaction waits related cleanup
3) Return isc_lock_timeout when it's necessary
TODO: Enhance SET TRANSACTION
2004-10-07 09:15:32 +00:00
robocop
31ba754981
After talking to Ann, decided to disable several items:
...
- obsolete items like WAL and JOURNAL (cleaned in the past)
- crud from attempts never finished like the shared cache manager for Classic
- DSQL nodes that aren't used. This allowed freeing some keywords.
The functionality was disabled by commenting the code. No code has been deleted.
2004-10-03 04:49:04 +00:00
skidder
02a0915156
Teach engine to work with larger record numbers - 64-bit internally, 40-bit externally
2004-09-28 06:28:38 +00:00
skidder
fc0c02d2dc
Add notion of ODS type to wrong_ods error message
2004-09-01 01:08:35 +00:00
skidder
e0ac81de4a
Introduce concept of ODS type to be able to distinguish between Interbase databases, Firebird databases, databases created by debugging builds of Firebird and private forks
2004-08-23 20:44:49 +00:00
robocop
1bbb740b98
Undo inheritance in ODS page types as requested by Nickolay. Either some macros are too silly or the compiler is limited by the standard here.
...
Notice I may have missed some file that's not compiled in Win32.
2004-07-10 03:20:33 +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
brodsom
f4ca41fa3d
-Replace *_thread_data macros with inline functions (jrd step 1)
2004-05-22 14:28:54 +00:00
brodsom
68cb86b274
- Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
...
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
2f675febb2
llio is not used actually
2004-05-07 07:47:02 +00:00
brodsom
ce7a5ced08
-Macro cleaning
2004-05-06 22:11:24 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
brodsom
5cf9fdfc90
Removing ib_stdio.h
2004-04-28 22:43:34 +00:00
alexpeshkoff
1e6c7b18e9
fixed problem with loop in includes
2004-03-22 11:38:23 +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
958f9e31aa
Cleanup
...
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +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
robocop
2ab1f94dd2
Cleanup
...
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
skidder
b6e5ccd413
Clean up.
...
1. gds__alloc doesn't throw
2. Add NOMEM handlers to a couple places
3. kill HAVE_*SNPRINTF conditionals
2004-03-09 00:17:07 +00:00
robocop
e6187cecd2
Cleanup
...
Some bug fixes
Style
2004-03-07 07:58:55 +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
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
robocop
5c3c8abd9a
Big cleanup.
...
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
robocop
663e3b16e7
Cleanup
2004-02-02 11:02:12 +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
dimitr
d1e4db048e
Fixed another ODS inconsistency.
2004-01-11 09:28:12 +00:00
robocop
06a4df3708
A requiem for JOURNAL and WAL.
...
Instructions in the list.
2004-01-06 10:33:18 +00:00
robocop
fd93837ec3
Cleanup:
...
const correctness
BOOLEAN -> bool
Vars in scope
Formatting
JRD_REQ -> jrd_req*
JRD_TRA -> jrd_tra*
JRD_REL -> jrd_rel*
JRD_FLD -> jrd_fld*
event -> event_t, EVENT_T dropped, EVENT should go in the future
Frank's corrections
alice's STR -> alice_str*
remote's STR -> rem_str*
etc.
It creates entities and backups and restores for me. :-)
2004-01-03 10:59:52 +00:00
robocop
16cbc204df
Cleanup
2003-12-31 05:36:12 +00:00
skidder
6c1ae3720b
Fix leak from connection memory pool when isc_database_info is called. Do not backport to FB1.5 because bug was present in FB1 codebase
2003-12-22 01:38:45 +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
robocop
b02c629735
Cleanup
...
Some name changes
Try to fix SINIX-Z problems with send() prototype
2003-12-05 10:35:47 +00:00
brodsom
4285bc623c
Removing gdsold.h and gds.h
2003-11-08 16:40:17 +00:00
brodsom
89e8f89f86
Extern "C" cleaning
2003-11-06 03:03:36 +00:00
brodsom
ff070a16a8
Replacing assert with fb_assert
2003-11-03 23:59:24 +00:00
robocop
9ead7a37b4
const correctness
...
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
eku
c776945796
Fixed compile error.
2003-10-07 06:34:14 +00:00
alexpeshkoff
f2304d2a03
Style fix - thanks to Claudio
2003-10-06 09:40:55 +00:00
brodsom
274c579db1
Fix error in last Alex commit to HEAD to make builds work again.
2003-10-01 23:27:01 +00:00
alexpeshkoff
c92d1cf192
Ported today fixes to HEAD.
2003-10-01 15:27:00 +00:00
eku
2762b67754
Fix for databases on raw devices:
...
Detect a database continuation file by its header page.
2003-09-25 12:12:38 +00:00
brodsom
8624a7c209
-Use NULL instead 0 for null pointers
...
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
skidder
b05dc24810
Forward port removal of artificial index number limitation from 1.0.3.
...
Fix bug in dbb_max_idx calculation. Do not port GC and metadata versioning
changes as they seem very dangerous to me.
2003-08-18 21:13:56 +00:00
skidder
3e748e9126
Fix warnings
2003-08-06 17:22:52 +00:00
skidder
143f8d2443
Implementation of fast physical incremental backup
2003-08-06 16:30:49 +00:00
brodsom
49a86dde7d
Move physical io to os specific
2003-07-14 10:35:49 +00:00
aafemt
19bb54f2a8
STATUS -> ISC_STATUS
2003-04-10 06:49:16 +00:00
fsg
e0dcb77416
Fixed some really old typos.
...
Included ExecuteStatement in the LINUX-Build
2003-03-02 17:47:22 +00:00
dimitr
67749f906b
Fixed exception handling.
2003-02-13 13:33:57 +00:00
eku
a7f18b2e31
Removed "register" variables from the source code. It's up to the compiler
...
to hold variables in CPU registers.
2003-02-10 13:28:35 +00:00
dimitr
65046f123a
Undone.
2003-01-18 18:02:12 +00:00
dimitr
d43076cca8
Reverted some allocations back to system instead of the default pool.
2003-01-18 15:22:33 +00:00
skidder
ba5e11b15c
Integrate new memory manager into the engine
2003-01-16 17:47:10 +00:00
hippoman
4a76e9e4fe
change TRA,REQ,TRG,REL,CTX or PRC, to module local names.
2002-11-17 00:13:59 +00:00
seanleyne
0b82f4aa07
Removed obsolete "Netware" port
2002-10-30 06:40:58 +00:00
seanleyne
a2bfcd6bd2
Code cleanup, removed obsolete "SGI" port
2002-10-29 03:31:20 +00:00
seanleyne
cc1f10d9a3
Code cleanup, removed obsolete "DecOSF" port
2002-10-29 03:17:45 +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
seanleyne
3152b81774
Completed removal of obsolete "DG_X86" port
2002-10-28 04:42:54 +00:00
eku
0c1b55dd08
Code cleanup:
...
Since we already have the define ISC_STATUS_LENGTH for the the length of
the status vector, we should use it! Replaced 'status[20]' with
'status[ISC_STATUS_LENGTH]'.
Replaced the different symbolic names for the maximum length of a path
(MAX_PATH, MAX_PATH_LENGTH, MAXPATHLEN) with one uniq symbol MAXPATHLEN.
2002-10-24 09:01:44 +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
skywalker
89e06a1b43
Merge final changes from fb1 tree.
2002-07-06 05:32:02 +00:00
skywalker
82d8017317
Merged change from fb1.
2002-07-01 16:59:09 +00:00
bellardo
773836f1b1
Finished removal of setjmp/longjmp code, and fixed a handful of FB1->FB2
...
porting bugs.
2002-04-04 07:10:40 +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
a9ab4a30a8
Code cleanup of obsolete HP9000 s300 port
2002-02-16 03:59:02 +00:00
seanleyne
eeccbb4e0f
Code cleanup of obsolete M88K and NT Power PC ports
2002-02-16 03:54:56 +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
1c799cfb3e
Code cleanup of obsolete XENIX port and missed MAC (MAC_AUX) port items
2002-02-16 02:50:01 +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
tamlin
80f7fb6dd4
New C++ memory pool
2001-12-24 02:51:06 +00:00
seanleyne
baa3d722bf
Code Cleanup, removed "#ifdef READONLY_DATABASE" conditionals, second attempt
2001-08-08 02:01:26 +00:00
skywalker
365a7fe19c
Changes to compile fb2 under autoconf includes some structural changes
2001-07-29 17:42:23 +00:00
bellardo
747d13c0d5
Changes to bring FB2 to c++ on *nix.
2001-07-12 05:46:06 +00:00
awharrison
baa3485651
read only databases are supported unconditionally in fb2
2001-07-10 17:35:13 +00:00
tamlin
9a776a604e
First steps towards a C++ conversion.
2001-05-23 13:26:42 +00:00