8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 19:23:02 +01:00
Commit Graph

225 Commits

Author SHA1 Message Date
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