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
hvlad
73dcebc962
Replace "../jrd/jrd_time.h" with "../common/classes/timestamp.h"
2006-02-03 13:13:27 +00:00
robocop
8f1a076123
Skip system objects: exceptions, blob filters and procedures.
2006-01-29 03:23:34 +00:00
alexpeshkoff
ca70704563
fixed gcc warning(s)
2006-01-16 15:39:55 +00:00
robocop
b67b0219ab
Change from getenv to readenv. This is still getenv in Linux/UNIX but GetEnvironmentVariable in Windows.
2006-01-14 04:48:59 +00:00
robocop
2a499fb72d
Totally misc.
2006-01-13 22:25:05 +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
7e6dedd0bc
Correction.
2006-01-10 08:31:29 +00:00
dimitr
8e37fbe3ac
Minor cleanup + solved one of the GCC4 compile issues.
2006-01-09 19:57:32 +00:00
alexpeshkoff
70045882f5
let use services to backup security database
2005-12-05 11:45:39 +00:00
alexpeshkoff
62a24d46e4
1. Moved data structures, written to database file, into ods.h.
...
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
asfernandes
710fce2c2d
1) Make "total" to Claudio taste :-)
...
2) Fix error found by Vlad
2005-11-17 11:32:38 +00:00
dimitr
cf1162c563
Avoid buffer overruns when restoring corrupted data (always check for the declared length).
...
Look at remote/xdr.cpp for example.
TODO: print a warning during backup in this case.
2005-11-15 08:48:16 +00:00
asfernandes
2e697c6b94
Fix problem of empty arguments passing garbage in SPB
2005-11-11 00:43:20 +00:00
robocop
614939d186
Gbak must write always the system flag when creating objects.
...
This is the first step before we are able to make rdb$system_flag field mandatory in the future.
2005-11-04 05:20:56 +00:00
asfernandes
98150e31c9
Fixed problem of GBAK adding a garbage byte to SPB, when called with -SE. Reproducable with:
...
gbak -C -SE service_mgr c:\t.fbk localhost:c:\t.fdb
2005-10-29 14:57:28 +00:00
alexpeshkoff
34a9df7e8f
fixed restore of database with broken foreign keys
2005-09-14 05:58:04 +00:00
dimitr
efb3268658
Fixed wrong defines, thanks to Claudio.
2005-08-13 08:19:22 +00:00
dimitr
7a343b8162
Moved the Services API into the engine on threadable platforms.
2005-08-10 14:47:42 +00:00
dimitr
59cfb104ff
Let's report we're creating an index before we do so, not after.
2005-06-03 08:40:21 +00:00
asfernandes
0b53d89e57
Removed unsense code noticed by Claudio
2005-05-29 14:38:52 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
hvlad
af740ca41a
1. Fixed bug #908319 2. Fixed inability to restore into nonexisting file with -se switch used
2005-05-14 13:45:01 +00:00
robocop
8c381ef54b
Better fixes related to field-test bug #1173988 , first part.
...
Also, a new, more accurate message has been added to the restoration process.
2005-05-03 04:09:26 +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
1c83cfaaad
Cleanup. No need to test if sizeof() is bigger than zero.
2005-04-18 03:25:56 +00:00
robocop
d0115322ac
Misc.
2005-04-18 03:24:34 +00:00
dimitr
fdda592e98
Fixed bug when a computed column of blob/array type zeroes the first column of the table being restored.
...
In short words, some data were lost during restore.
2005-04-13 11:46:14 +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
dimitr
e2f0e554e6
More correct fix for restore.
2005-01-20 11:29:15 +00:00
robocop
1718ae5a45
Misc.
2004-12-26 04:09:06 +00:00
robocop
d65307b497
Style.
2004-12-24 08:52:39 +00:00
alexpeshkoff
f0787d47d7
fixed bug in my last commit, noticed by Claudio
2004-12-13 12:06:55 +00:00
robocop
fddf92395e
Misc.
2004-12-10 22:54:16 +00:00
alexpeshkoff
387e678cca
applied Clumplet* classes to dpb where possible
2004-12-09 19:19:47 +00:00
robocop
0dd1aced53
Misc.
2004-12-09 02:50:47 +00:00
skidder
d16f031af7
Fix for another problem with backing up stream blobs - zero-length stream blob may have non-zero segment count
2004-12-02 00:42:43 +00:00
robocop
c18561f19c
Misc.
2004-12-01 08:16:13 +00:00
skidder
e1cf1f66e6
Cure regressions introduced by Ann's cleanup in Firebird 1.0
2004-12-01 00:02:52 +00:00
skidder
252fae8d3b
Second attempt to fix backing up of stream blobs.
...
This time it should work with XNET and INET too.
Rollback earlier engine fix which now seems incorrect to me.
2004-11-30 20:17:39 +00:00
skidder
0955e56ed8
Do not store system functions in backup files
2004-11-29 20:27:34 +00:00
robocop
bb170bd3b6
isc_interpret is fb_interpret again.
...
Please do a full rebuild.
2004-11-28 01:03:05 +00:00
robocop
037c7270c4
fb-checkins shows that I didn't commit the correct version of the file.
2004-11-10 08:16:35 +00:00
robocop
2a212c1372
Avoid backup corruption with too long file names.
2004-11-10 04:33:37 +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
59114e7e4c
Fix possible buffer overrun.
2004-10-30 05:41:25 +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
ab4dd5d2a2
reinterpret_cast downgraded to static_cast
2004-10-18 07:17:48 +00:00
robocop
4cf152ec65
Misc.
2004-10-07 09:19:25 +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
77814b6cf5
Unused crud
2004-10-07 08:23:53 +00:00
robocop
3529bbf70c
Put an assertion, just in case.
2004-09-26 11:19:31 +00:00
robocop
362f95df8a
Got rid of some casts that were driving me nuts on each compilation
2004-09-22 08:54:42 +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
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
robocop
0b86ae4ae8
Got rid of some silly back and forth cast: to call MVOL_init_read or MVOL_init_write, callers forced char* vars to UCHAR*, but then those MVOL functions internally forced those params again to char*.
...
Fixed some indentation in loops, too.
2004-08-29 06:53:31 +00:00
robocop
cd22792829
misc
2004-08-29 06:47:59 +00:00
brodsom
4b7731ee0e
Assert on non initialized variable
2004-08-26 19:09:07 +00:00
robocop
614f908558
Delete useless line and avoid memory leak after talking to Dmitry Yemanov.
2004-08-21 09:16:26 +00:00
robocop
a2e14cfe22
Totally misc changes
2004-07-06 05:54:13 +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
robocop
949830d0c6
1.- const correctness
...
2.- style
3.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h,
first round. No circular dependencies found through MSVC. Still pending dyn* and grant.epp files.
2004-06-29 04:37:59 +00:00
skidder
8f0cf89afb
Correct problems with single-user maintenance mode (note it is used for GBAK restore process now)
2004-06-12 01:06:05 +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
robocop
1332d98618
Literal strings should be treated as const char*
2004-06-05 09:37:18 +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
brodsom
75a0483d75
-Comment some common.h unused macros
...
-Replace VA_START macro with va_start function (it was already some places where it is not used)
2004-05-23 23:28:06 +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
9e204004d6
-Avoid shadow warning
2004-05-12 21:47:36 +00:00
robocop
802f244ec1
Misc changes
2004-05-09 05:48:33 +00:00
brodsom
b335e32d88
Obsolete compiler message
2004-05-05 13:59:10 +00:00
brodsom
474897b867
Fix warnings
2004-05-04 16:01:28 +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
e0854daa99
Removing ib_stdio.h
2004-04-28 22:00:03 +00:00
aafemt
4b99822fc9
Right headers include sequence
2004-03-24 11:06:22 +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
skidder
2851f76d35
Fix warnings
2004-03-14 05:51:54 +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
skidder
86c709e7b8
Kill unneeded volatile
2004-03-11 05:44:32 +00:00
robocop
e6187cecd2
Cleanup
...
Some bug fixes
Style
2004-03-07 07:58:55 +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
eba78e4574
Fix 64-bitness warnings
2004-03-01 01:29:26 +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
2fa67d46bc
Cleanup
...
Reduce reinterpret and C casts
Fix isql so it can show all predefined blob types in readable form.
2004-02-24 05:34:44 +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
arnobrinkman
a0a636a375
Change rdb$db_key recalculation to the right solution, Thanks to Oleg.
2004-02-16 23:24:31 +00:00
skidder
58697f7cc7
Oops. Committed wrong file version
2004-02-06 07:31:01 +00:00
skidder
2802bfb2c5
Preserve blob type (streamed/segmented) over backup/restore process.
2004-02-06 07:07:46 +00:00
robocop
663e3b16e7
Cleanup
2004-02-02 11:02:12 +00:00
skidder
08eee5ebaa
Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static.
2004-01-21 07:18:30 +00:00
robocop
b441cd9aef
Cleanup
2004-01-13 09:52:19 +00:00
arnobrinkman
22cf637640
Don't forget that a system_flag also can be NULL what also meant no system relation.
...
Thanks to Claudio for attention.
2004-01-12 18:56:47 +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
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
fsg
25a0180642
First changes to get it compiled under linux again.
...
FSG
2003-12-27 17:59:59 +00:00
dimitr
358b7caad1
Oooops, sorry.
2003-12-22 18:26:37 +00:00
dimitr
3ca23b5789
Another bugfix by Oleg Loa. Never terminate the server when GBAK is running as a service.
2003-12-22 18:00:08 +00:00
robocop
ad0b5c4de3
General cleanup
2003-12-22 10:00:59 +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
robocop
84062732d8
More cleanup
2003-12-03 08:19:24 +00:00
robocop
a94dbd85fd
const correctness and other minor items
2003-11-18 07:58:35 +00:00
brodsom
ad2dee472e
-Removing uneeded headers (WIN_NT)
2003-11-16 11:41:25 +00:00
brodsom
6e8e00c191
-Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes
2003-11-16 01:44:51 +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
robocop
db77ffa605
const correctness, variables in scope, cleanup, etc.
2003-11-07 08:06:35 +00:00
brodsom
e698601fc7
Remove v3.3 to v4 restore
2003-11-06 23:24:54 +00:00
brodsom
ff070a16a8
Replacing assert with fb_assert
2003-11-03 23:59:24 +00:00
brodsom
4832ad1b2c
- Decrease SUPERSERVER ifdefs (join & use common error)
...
- Remove obsolete code
- Fix warning in mvol.cpp
2003-11-03 01:12:14 +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
c8e2ddfe40
style
2003-10-05 06:23:04 +00:00
robocop
baded9e14f
constant should use FB type
2003-10-05 06:20:47 +00:00
brodsom
8a7d7d294e
extern cleaning
2003-10-02 19:20:55 +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
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
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
brodsom
678df5af51
Cleaning macros
2003-09-18 21:56:26 +00:00
brodsom
30f79b34f8
-Cleaning headers
2003-09-15 16:32:22 +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
brodsom
c20e144628
-Style
2003-09-15 02:03:54 +00:00
brodsom
aa111a0f89
-Style
2003-09-15 01:50:15 +00:00
brodsom
cc979ca279
-Style
...
-Cast corrections
2003-09-14 01:08:18 +00:00
brodsom
ba7b5fdcf9
-Remove GDS_VAL and GDS_REF
...
-BOOLEAN Cleaning
-Fix tab indent in restore and backup
2003-09-12 23:25:16 +00:00
robocop
1cd8e831d5
const correctness, variables in scope, bool, formatting, less casts, etc.
2003-09-12 09:04:38 +00:00
brodsom
7c7c2758dc
BOOLEAN cleaning
2003-09-10 17:52:12 +00:00
dimitr
a5daca2246
A bit more information from gbak.
2003-09-08 12:44:01 +00:00
brodsom
8db51e6eba
Remove unneeded extern C
2003-09-08 01:51:41 +00:00
brodsom
6bf80ee9fe
-Fix wrong struct removal.
2003-09-03 16:31:28 +00:00
brodsom
d7f0660b35
-Remove NULL_B_FIL macro
2003-08-28 14:42:12 +00:00
brodsom
602c201989
-Remove NULL_PTR
...
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:07:29 +00:00
brodsom
452201261b
-Remove NULL_PTR
...
-Remove unneeded casts
2003-08-28 10:39:26 +00:00
aafemt
4584a7ce47
removing word 'struct' from variable declarations as obsolete
2003-08-27 10:20:07 +00:00
robocop
dac8740003
Fix SF Bug #750659
2003-08-21 11:02:33 +00:00
brodsom
b85d5373e6
-Fix wrong format in a recent commit (Please review the warnings before commits)
2003-08-19 11:09:00 +00:00
aafemt
9dbf56310a
sdl is UCHAR again
2003-08-15 10:23:46 +00:00
robocop
6e37a7e3e6
Since stringstream is no longer used, remove the header.
2003-08-13 11:07:32 +00:00
skidder
f2469e3399
Close can of worms opened by Mike Nordell when he attempted to use STL to write portable code
2003-08-12 17:32:01 +00:00
skidder
f3348c4502
Apply FreeBSD patches by Tomas Skoda
2003-08-11 11:21:21 +00:00
brodsom
eda11719e5
-Patch cast warnings and add a compiler message.
2003-08-10 22:52:48 +00:00
dimitr
045f5239b7
Fixed gbak version string.
2003-07-31 15:34:51 +00:00
aafemt
b672867147
sdl is a plain char again. Some cleanup around it
2003-07-24 10:21:42 +00:00
eku
766caa1242
Fixed compilation on SINIX-Z (Thanks to Dmitry Yemanov).
2003-07-17 11:49:04 +00:00
brodsom
499337fda5
Split utilities dir
2003-07-15 02:43:36 +00:00
brodsom
8feff51688
Remove depends (unused and unmaintained)
2003-07-08 23:38:30 +00:00
brodsom
fda73f91a4
Changes only inside #ifdef DEBUG.
...
Needed to be able to build with -DDEBUG on gcc.(there are also some format corrections)
2003-06-30 10:48:03 +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
skidder
2588debc89
Correct workaround of GCC 3.2 bug. Weirdness of our code fixed.
2003-06-03 10:26:59 +00:00
aafemt
1f0206c7ea
Workaround for GCC 3.2 bug
2003-06-03 10:14:11 +00:00
alexpeshkoff
69baac9c66
Fixed bug with stdin/stdout use in win32 version of gbak
2003-05-02 16:04:56 +00:00
aafemt
e5146fd644
Introduce of ISC_STATUS_ARRAY
2003-04-16 10:18:51 +00:00
aafemt
b3436b5cd7
STATUS -> ISC_STATUS
2003-04-10 06:32:58 +00:00
brodsom
da5cd97b78
- Fixes for burp warnings.
2003-04-07 21:51:21 +00:00
brodsom
c246f9d897
Avoid signed unsigned comparison
2003-04-03 17:19:10 +00:00
brodsom
a52456e969
Move definitions only used by gspit to spit.cpp
2003-04-03 08:51:16 +00:00
dimitr
67d61c78b7
Rolled back part of my previous commit. In fact, only one line fix was required.
2003-03-22 06:18:04 +00:00
dimitr
fa6f9a83e5
Fixed (porting?) bugs related to GBAK and Services API.
2003-03-21 16:19:16 +00:00
dimitr
b6ec9228e2
no message
2003-03-20 09:32:16 +00:00
brodsom
a63a61951c
Remove unneeded/unused code
2003-03-18 01:35:11 +00:00
brodsom
4e0799f990
Remove LOC_DOUBLE macro (mips || next remains)
2003-03-13 00:49:47 +00:00
skidder
c9f7caa51d
Make backup/restore process work when invoked via Services API on Classic engine
2003-03-09 21:16:25 +00:00
brodsom
0323ac8b05
Put unused vars and functions inside NOT_USED_OR_REPLACED ifdef
2003-03-04 00:00:31 +00:00
brodsom
4591e47003
-Comment declared but undefined functions. (found with gcc never defined warnings)
...
-Add ifdef for output_netware.
2003-03-01 19:06:54 +00:00
brodsom
0bf30f1e26
Use the same ifdef for function declarations and definitions. (found with gcc never defined warnings)
2003-03-01 17:35:07 +00:00
brodsom
bf206c60ef
Change gds_assert to fb_assert (gds_assert is a synonym for fb_assert)
2003-02-28 23:32:57 +00:00
brodsom
6e567674b6
New macro defined in firebird.h to remove compiler dependencies from cpp sources.
2003-02-27 21:44:48 +00:00
brodsom
46b759d9d2
Move old borland make files to builds directory
2003-02-19 13:12:38 +00:00
brodsom
3b486dfb95
Move def files to builds directory
2003-02-19 13:07:13 +00:00
aafemt
133a7095e3
Some cleanup
2003-02-19 05:18:29 +00:00
brodsom
14ce7a705b
Remove W4 warnings (remains from ODS 5 and 7)
2003-02-18 11:38:40 +00:00
brodsom
6dcac4ac01
Remove W4 warnings (initialized but unused var)
2003-02-17 23:45:29 +00:00
brodsom
6975a74c15
Remove W4 warnings (remains from ODS 5 and 7)
2003-02-17 23:22:31 +00:00
dimitr
6e42d8c093
Fixed exception handling.
2003-02-13 12:01:28 +00:00
dimitr
9efdc8b096
CONST -> const
2003-02-13 09:19:08 +00:00
brodsom
5e63f2cecc
Remove GUI_TOOLS define
2003-02-11 20:17:56 +00:00
brodsom
b3bf7cd13c
Remove an old trick
2003-02-11 19:03:11 +00:00
eku
813397dd25
Fixed a "search and replace" error from my previous check-in.
2003-02-10 13:40:46 +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
brodsom
03a2badde5
New charsets (....)
2003-01-25 03:12:46 +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
nmcc
090bc9737e
Fix new compiler error in sparc specific code.
2002-12-29 01:45:24 +00:00
skidder
9b57d8b649
Several little changes to make engine compilable again on Linux
2002-12-16 21:19:51 +00:00
alexpeshkoff
a83fcfeab9
Sorry for wrong DATABASE directive :-(
2002-12-16 16:25:09 +00:00
alexpeshkoff
79478b73be
Rename all links to why.cpp handle to struct why_hndl *
2002-12-16 15:24:35 +00:00
dimitr
2c204c7ca5
no message
2002-12-11 09:48:27 +00:00
eku
5b8ffd81c2
Removed unused variables.
2002-12-10 11:53:53 +00:00
hippoman
9a8f0768b9
Changed struct fld and FLD to local module names
2002-11-30 17:45:02 +00:00
kkuznetsov
6ae11fea4e
*** empty log message ***
2002-11-25 15:28:45 +00:00
kkuznetsov
451ca397ca
Fix compile error on SOLX86
2002-11-25 15:23:03 +00:00
dimitr
65bfa31081
The type of service invokation never must be specified by the client tool. It should be defined by the server only.
2002-11-23 11:39:43 +00:00
hippoman
7387e6fb70
changed nod,tra,req,trg,rel,ctx,prc struct names to local module names
2002-11-20 23:18:16 +00:00
skidder
fca1b6c9d8
Move xdr_hyper to the correct place and remove duplicate definitions
2002-11-19 15:37:55 +00:00
hippoman
62cf7d7a88
change TRA,REQ,TRG,REL,CTX or PRC, to module local names.
2002-11-17 00:04:19 +00:00
dimitr
5f61e44ddc
Global names change:
...
FBOK=>FB_SUCCESS
FAILURE=>FB_FAILURE
xxx_FBOK=>xxx_SUCCESS
2002-11-14 08:33:08 +00:00
kkuznetsov
6887f405ab
Renaming all occurences of SUCCESS to FBOK
2002-11-13 15:01:21 +00:00
eku
53a096ea35
Cleanup
2002-11-12 12:16: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
tamlin
bd2751ed2c
const correctness, 64-bit backup reporting (currently disabled by macro TMN_THINKS_NS_SHOULD_FIX_THIS until msg DB is updated)
2002-10-29 16:31:02 +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
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
dimitr
fb7eff39ef
Commited Ignacio's fix for uninitialized variables in burp.
2002-10-22 08:05:57 +00:00
bellardo
0eaf588b49
renamed header files jrd/math.h and jrd/time.h to jrd/jrd_math.h and
...
jrd/jrd_time.h.
2002-09-27 00:20:12 +00:00
eku
6c5a7db3b9
Fixed compiler warnings.
2002-09-25 13:08:25 +00:00
eku
6380cea068
Removed compiler warnings. Fixed more SIG_FPTR issues. Use GNU C to check
...
format strings against arguments.
2002-09-24 12:57:10 +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
eku
f359a95a52
Added / replaced ifdef's around unistd.h with the define HAVE_UNISTD_H
...
generated by autoconf.
2002-08-26 12:18:16 +00:00
skywalker
d89b1a0842
Changes to make fb2 compile super version for linux
2002-07-29 15:37:59 +00:00
skywalker
89e06a1b43
Merge final changes from fb1 tree.
2002-07-06 05:32:02 +00:00
skywalker
5220bc3d26
Merge changes from fb1
2002-06-29 05:39:38 +00:00
dimitr
f063aa768b
Fixed another bug with INT64 array slices. Thanks to Artem Petkevych.
2002-06-27 10:14:54 +00:00
bellardo
aca99866a7
Fixed warnings.
2002-04-04 05:32:02 +00:00
seanleyne
e134ef027f
Code cleanup of obsolete EPSON port
2002-02-16 02:21:35 +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
tamlin
80f7fb6dd4
New C++ memory pool
2001-12-24 02:51:06 +00:00
bellardo
7dfce99342
First round of changes to FB2 to get the Darwin build working again.
2001-08-04 22:48:18 +00:00
skywalker
73591b7d17
More changes to straighten out compile, fix up makefiles to build
...
into GEN_ROOT directory
2001-08-01 08:11:52 +00:00
skywalker
4c4bc9a95c
Global changes for new Makefile and firebird2 compile on linux
2001-07-29 23:43:24 +00:00
bellardo
6681f4852e
More changes to convert FB2 to c++. This time is files that have been renamed
...
and some conflict resolutions on files edited by more than one person at once.
2001-07-12 06:32:05 +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
9587c717b3
ongoing cleanup
2001-05-24 14:54:26 +00:00
tamlin
9a776a604e
First steps towards a C++ conversion.
2001-05-23 13:26:42 +00:00