dimitr
668907912f
Changed the ODS encoding, messaging and protection rules.
2005-06-26 16:11:59 +00:00
robocop
3c4e69f196
Replace legacy isc_(encode/decode)_date by isc_(encode/decode)_timestamp.
2005-05-03 04:11:57 +00:00
robocop
7817290a56
Forget the log: it belongs to one of the merry friends WAL and JOURNAL that we deprecated and deleted for v2.
2005-01-03 08:16:18 +00:00
robocop
24742873ad
fb_string.h is moved to common/classes.
2004-12-17 05:41:47 +00:00
robocop
12aa83a573
Local variable overrode global, useless variable.
2004-12-16 03:05:14 +00:00
alexpeshkoff
387e678cca
applied Clumplet* classes to dpb where possible
2004-12-09 19:19:47 +00:00
robocop
af6a16107a
Misc.
2004-11-30 06:18:39 +00:00
robocop
bb170bd3b6
isc_interpret is fb_interpret again.
...
Please do a full rebuild.
2004-11-28 01:03:05 +00:00
skidder
3e26513b38
fb_interpret->isc_interpet, deprecate isc_interpete, clean interface a little bit
2004-10-25 03:53:03 +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
robocop
840bf14b36
If we are using namespace fb_utils, it doesn't make sense to prefix functions in it with fb_ again. Mechanical replacement made one by one (no bulk automatic changes).
2004-09-26 01:49:52 +00:00
robocop
e6cb17cac6
Vulnerability reported by Daniel Urban.
...
First step: reorganize code.
Please do a full rebuild after retrieving those changes.
2004-09-22 01:59:39 +00:00
alexpeshkoff
2cd73b1d06
fixed uninitialized status vector in gstat
2004-09-02 09:59:30 +00:00
alexpeshkoff
c3db4aaa97
added (and used in sources) template to change and restore default pool
2004-08-30 18:11:08 +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
brodsom
76a2f98d90
-Put thread functions into thread class
...
-Comment SVC_PUTSPECIFIC_DATA
2004-07-03 02:33:46 +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
91deadf1c9
new switch to be used in gstat (service & util) test
2004-06-01 16:22:34 +00:00
skidder
ad75d9fb4b
Fix gstat crash recently added by Blas
2004-05-31 21:39:11 +00:00
brodsom
2f425888c2
Removing unused dba_full (After Ann advice)
2004-05-28 01:31:27 +00:00
brodsom
fab9083a8f
Fix wrong commit (Found by Claudio)
2004-05-23 22:53:27 +00:00
brodsom
b76651a3ef
-Convert *_thread_data macros to inlines.
2004-05-21 15:23:29 +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
aa88f67e75
Macro cleaning
2004-05-17 00:21:46 +00:00
brodsom
b485996fa8
Macro cleaning
2004-05-13 23:20:50 +00:00
brodsom
60d9d085a0
Macro cleaning
2004-05-03 21:43:56 +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
robocop
1824343930
Cleanup.
...
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +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
skidder
2851f76d35
Fix warnings
2004-03-14 05:51:54 +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
arnobrinkman
9efc5a488b
some optimization in index-stuff
2004-03-07 21:50:53 +00:00
robocop
e6187cecd2
Cleanup
...
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
skidder
389b19f729
Fix problem with gstat used over Services API in SS builds introduced during my EH cleanup. Noted by Arno Brinkman
2004-03-04 21:38:04 +00:00
skidder
25b969d1b7
Fix MSVC build
2004-03-01 04:57:43 +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
dimitr
45636b8c6f
Removed handle leaks in the service manager.
2004-01-07 10:23:46 +00:00
robocop
16cbc204df
Cleanup
2003-12-31 05:36:12 +00:00
skidder
4e30dadd8b
Enable gfix/gstat services API on classic builds. Rollback Blas' changes in this area
2003-12-14 04:44:58 +00:00
dimitr
16cae87b63
Make gstat to work with database aliases.
2003-12-13 14:43:18 +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
arnobrinkman
710037031f
Enhanced Index Structure.
...
1) NULLs on top when sorting on ASC index, DESC stays the same.
2) Support for larger index lengths, can be up to 1/4 page size.
3) Store record-number on non-leafpages for faster lookup in many duplicates.
4) Jump-nodes for faster key-lookup in index on larger page-sizes.
5) Segment selectivity calculation added.
2003-12-01 02:37:25 +00:00
robocop
9fafc348bf
const correctness
...
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
brodsom
535d1fde37
-Make dba_full compile
2003-11-16 15:42:31 +00:00
brodsom
27cbcdd73e
-Removing some unneeded headers (WIN_NT) or explaining why are needed
2003-11-16 12:57:23 +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
4285bc623c
Removing gdsold.h and gds.h
2003-11-08 16:40:17 +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
dimitr
4217ca2c49
Corrected gstat version info output.
2003-10-03 12:34:54 +00:00
brodsom
8dce5790c6
extern cleaning
...
removing underscores in macros
2003-10-03 01:01:40 +00:00
robocop
c931a674c2
Cleanup.
...
Hopefully harmless
It should fix the issue introduced with constness in gds__interprete for current applications.
2003-09-29 12:43:14 +00:00
robocop
484c6ec372
Cleanup, const correctness, variables in scope, etc.
...
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
arnobrinkman
3e3c789053
Remove IGNORE_NULL_IDX_KEY define
2003-09-17 09:53:47 +00:00
brodsom
5e1b673b5a
-Although not compiled fix unused warning (Thanks to Claudio)
2003-09-16 08:18:22 +00:00
brodsom
735c961ae6
Remove msvc unused variable warning.
2003-09-15 14:49:57 +00:00
brodsom
bdac17190c
Clean a bit services interface
...
- Include service entrypoint in each proto file and remove from it the private function common to service and standalone. (burp, alice and gsec)
- Replace functions output_svc/output_thread/output_netware with SVC_output callback common for all. (burp, alice and gsec)
- Create typedef pfn_svc_output common for all svc, and correct SVC_read_ib_log and thread_test to be compatible with pfn_svc_output typedef. (svc.cpp)
- Put inside an ifdef code for '-svc_re' switch (in all sources).
2003-09-15 13:13:45 +00:00
skidder
77b17de987
NBACKUP-related changes and some clean-up
2003-09-08 20:23:46 +00:00
brodsom
8db51e6eba
Remove unneeded extern C
2003-09-08 01:51:41 +00:00
dimitr
58e25b9e8f
Fixed gstat crach reported by Phil Shrimpton.
2003-09-03 07:39:03 +00:00
brodsom
e2a0b36dbf
-Remove GDS_VAL and GDS_REF
2003-08-30 01:35:29 +00:00
brodsom
70c6a819ee
-Remove BOOLEAN, TRUE and FALSE
2003-08-29 00:37:25 +00:00
brodsom
f16bc0a6fc
Replace EXIT macro with dba_exit inline function
2003-08-26 18:43:29 +00:00
brodsom
3e9589f22e
Replace EXIT macro with dba_full_exit inline function
2003-08-26 18:43:02 +00:00
dimitr
699e00204f
Added support for "-r" and "-t" GSTAT switches to the Services API. Thanks to Vlad Horsun.
2003-08-26 07:23:58 +00:00
brodsom
fdd617d49f
Remove BOOLEAN, TRUE and FALSE macros
...
Some code formatting
2003-08-26 06:52:05 +00:00
eku
73137f9d60
Since all supported platforms provide the function strerror(), get rid of
...
sys_errlist[]. It's not portable anyway.
2003-08-25 07:26:39 +00:00
brodsom
597f2a396a
-Fix signed/unsigned comparison
2003-08-10 00:48:49 +00:00
brodsom
499337fda5
Split utilities dir
2003-07-15 02:43:36 +00:00