robocop
fd70603eb1
Checking capabilities when restoring. Work in progress.
2006-07-25 05:25:06 +00:00
dimitr
c4b5942c74
Allow backup/restore of the new fields.
2006-07-18 11:17:03 +00:00
alexpeshkoff
85c5ad885f
return error in case of unexpected status_exception
2006-03-15 17:27:53 +00:00
robocop
1f84bac700
Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc.
2006-02-23 05:08:26 +00:00
dimitr
a5a8041e26
1) Fixed stdin/stdout redirection in win32 gsplit
...
2) Make the code more GCC4 friendly
2006-01-13 07:36:30 +00:00
dimitr
8e37fbe3ac
Minor cleanup + solved one of the GCC4 compile issues.
2006-01-09 19:57:32 +00:00
alexpeshkoff
34a9df7e8f
fixed restore of database with broken foreign keys
2005-09-14 05:58:04 +00:00
dimitr
7a343b8162
Moved the Services API into the engine on threadable platforms.
2005-08-10 14:47:42 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
hvlad
f09ef16560
1. New switch for gbak -RECREATE_DATABASE [OVERWRITE].
...
Simple RECREATE_DATABASE is equal to CREATE_DATABASE,
RECREATE_DATABASE OVERWRITE is equal to REPLACE_DATABASE.
2. gbak uses isc_dpb_overwrite to create database over existing files
3. engine overwrite existing files only if asked explicitly by
user by setting isc_dpb_overwrite to 1
4. fixed unregistered bug - when gbak uses service manager and passed
command line contains invalid switch. Service reports error and
finish but not call Service::svc_started therefore response is not
send and gbak is stalled forever
2005-04-09 18:44:50 +00:00
alexpeshkoff
387e678cca
applied Clumplet* classes to dpb where possible
2004-12-09 19:19:47 +00:00
robocop
a7498d91e6
Treat string literals and string constants with more respect.
2004-11-08 03:14:17 +00:00
asfernandes
fc45553027
Update very obsolete error message
2004-11-02 02:41:33 +00:00
robocop
bc4b0d127f
Constant is the max size of the string, not the max length.
2004-10-30 07:05:41 +00:00
robocop
26669885c6
Implement rdb$description in rdb$generators.
...
Gbak should be able to backup and restore the new field(s).
Following Borland's practice when adding fields, I raised the backup number to 7. I should have done that when enhancing rdb$roles.
2004-10-30 05:58:48 +00:00
robocop
78c5931171
Fix a problem caused by cleanup changing #define to pointer to literal string.
...
Due to sizeof being involved, gbak could misinterpret a file as been a valid part of a multi-file backup.
2004-10-07 08:25:48 +00:00
robocop
174e17be8b
Redundant cast
2004-09-20 08:39:51 +00:00
alexpeshkoff
c3db4aaa97
added (and used in sources) template to change and restore default pool
2004-08-30 18:11:08 +00:00
robocop
97406b9afd
Gbak should backup/restore the new field rdb$description in rdb$roles, depending on ODS.
2004-08-30 10:07:00 +00:00
brodsom
76a2f98d90
-Put thread functions into thread class
...
-Comment SVC_PUTSPECIFIC_DATA
2004-07-03 02:33:46 +00:00
brodsom
7168edca86
Put thread functions into thread class
2004-07-03 00:13: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
a799e5f44b
-Use C++ struct declaration style.
2004-05-24 17:22:35 +00:00
brodsom
dd5d8aba0a
-Replace stuff macros with either common stuff inlines or class inline functions
2004-05-24 11:03:54 +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
brodsom
877cce340b
- Convert *_thread_data macros to inline func
2004-05-20 00:56:59 +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
474897b867
Fix warnings
2004-05-04 16:01:28 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
brodsom
e0854daa99
Removing ib_stdio.h
2004-04-28 22:00:03 +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
robocop
e6187cecd2
Cleanup
...
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
robocop
b441cd9aef
Cleanup
2004-01-13 09:52:19 +00:00
arnobrinkman
9fd6b59750
Fix bug: "arithmetic exception, numeric overflow, or string truncation" on VIEW after restore.
...
This was caused if VIEW1 was referenced in VIEW2, but VIEW2 was restored before VIEW1.
Due that the calculated dbkey_length stored in RDB$RELATIONS for VIEW2 is wrong.
After all relations are restored a recalculation of dbkey_length for VIEWs is done.
This fix should also be added in the first release (SP ?) after FB1.5 final.
2004-01-09 22:34:09 +00:00
robocop
ad0b5c4de3
General cleanup
2003-12-22 10:00:59 +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
brodsom
78cdeadacb
Removing gdsold.h
2003-11-07 23:15:33 +00:00
brodsom
e698601fc7
Remove v3.3 to v4 restore
2003-11-06 23:24:54 +00:00
robocop
cda707bd36
const correctness and other related changes
2003-11-01 10:26:43 +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
robocop
baded9e14f
constant should use FB type
2003-10-05 06:20:47 +00:00
brodsom
e18ed56cba
Correction
2003-10-02 19:16:48 +00:00
brodsom
c0485b7c67
Macro cleaning
2003-10-01 18:11:23 +00:00
brodsom
bda7aa7cd6
Style and Corrections
2003-09-28 00:35:48 +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
skidder
44f76e1125
Make engine compile on Linux after Blas' macro claning
2003-09-24 15:36:34 +00:00
brodsom
5654796698
Macro cleaning
2003-09-23 19:47:50 +00:00
brodsom
c595b5fa4b
Style
2003-09-22 14:13:54 +00:00
brodsom
a2713837d2
Cleaning macros
2003-09-20 23:28:38 +00:00