8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-28 02:43:03 +01:00
Commit Graph

64 Commits

Author SHA1 Message Date
robocop
d973e20600 Looking at gpre.c in FB1 and the usage of the variable fatal_env, it's evident that the conversion SEH->C++ try/except screwed the logic. The original idea was that CPR_abort will cause the program to exit gracefully, not to continue parsing, because it's useless and clutters the console with hundreds of messages. As far as I can test, when gpre cannot attach to the db, run-time failures can be detected by gpre_static or a false result is converted in exception. The new gpre_exception propagates up to the highest level where it allows the program to exit gracefully as it was in FB1. Until now, the behavior in FB1.5 & FB2 has been annoying. When we fail to connect to the db, anything more than we do is useless; we now will print a message, clean the house and exit. Hope everyone can compile my change. 2004-10-07 09:59:02 +00:00
brodsom
3bcf37fcd1 Assert or silence uninitialized warning 2004-08-26 21:44:11 +00:00
robocop
1332d98618 Literal strings should be treated as const char* 2004-06-05 09:37:18 +00:00
robocop
7b51928503 Style 2004-05-29 04:55:23 +00:00
brodsom
57f6bc46d5 -Join gpre globals in one struct (and remove some macros) and put not globals in the corresponding source.
-Use C++ struct declaration style.
2004-05-24 17:13:38 +00:00
brodsom
87099930b3 bad if 2004-05-13 22:34:27 +00:00
eku
3657b2eaab Fixed Blas' corrections. 2004-05-13 06:48:41 +00:00
brodsom
1ffe279896 -Avoid shadow warning 2004-05-12 19:39:17 +00:00
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +00:00
robocop
59b235cea3 Small corrections 2004-04-10 00:25:22 +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
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
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
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +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
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
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
brodsom
abe35ef6fe -Remove unneeded setjmp header 2003-11-18 12:39:12 +00:00
robocop
f55c6f6f8c const correctness and cleanup 2003-11-10 09:16:38 +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
brodsom
9b1df738ac Remove unneeded MINGW ifdef 2003-10-29 00:31:51 +00:00
robocop
8182b6cba2 const correctness and other tasks 2003-10-16 08:51:06 +00:00
brodsom
0fde011121 Macro cleaning 2003-10-15 01:18:01 +00:00
brodsom
938e66eb2f Macro cleaning 2003-10-14 22:22:32 +00:00
robocop
f8fadc0c40 const correctness and some variables in scope 2003-10-06 09:48:44 +00:00
brodsom
2aeb693d06 extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00
aafemt
7c3870cbe7 Gpre used during build doesn't need additional language modules 2003-09-24 10:39:20 +00:00
brodsom
e4d5e4b3f5 -Remove some macros or transform to inline
-Rename tok_quoted to tok_sglquoted
2003-09-12 16:35:40 +00:00
brodsom
882be4631a -BOOLEAN cleaning
-Rename rse to gpre_rse (Nickolay's request)
2003-09-12 02:21:53 +00:00
brodsom
e5393798af -Removing PYXIS
-Cleaning BOOLEAN
2003-09-11 02:13:46 +00:00
brodsom
1faaac2d34 -BOOLEAN cleaning
-Remove pfn_SQE_list_cb function casts
2003-09-10 19:48:53 +00:00
robocop
65df94f50a const correctness, almost minimal scope for variables, bool, etc.
Hope I did integrate others' changes correctly and totally.
2003-09-08 11:27:51 +00:00
brodsom
69698fc2eb Remove unneeded extern C 2003-09-06 00:52:10 +00:00
aafemt
1cee5265b8 'struct' cleanup 2003-09-05 10:14:08 +00:00
brodsom
4e135aaced -Fix for bug 7122 (TCS IDML_C_CHARSET_08 test) 2003-08-20 19:08:00 +00:00
brodsom
fb51d2c17d Patch for MinGW 3.0 2003-07-14 16:55:04 +00:00
dimitr
3fac72d57c Uniform tempfile naming. 2003-07-06 07:04:03 +00:00
brodsom
239c6deb30 New gpre -b option to be used in the msvc build process. It enable to set the base directory for compile time db without using sed. 2003-07-02 12:57:41 +00:00
brodsom
234684ac3d - Add some ifdefs to isolate better the langs 2003-04-02 12:07:10 +00:00
brodsom
c7e4ee4ab4 -Comment declared but undefined functions. (found with gcc never defined warnings) 2003-03-01 19:11:57 +00:00
brodsom
3989a5d22f Add PYXIS define to isolate pyxis code. When this change were tested enough, the pyxis code can be removed. 2003-02-27 16:05:18 +00:00
brodsom
e1051f6380 Move code from header to cpp and remove inline. 2003-02-16 00:55:09 +00:00
brodsom
6652d5a5bf Remove __BORLANDC__ define 2003-02-14 02:50:10 +00:00
dimitr
6e42d8c093 Fixed exception handling. 2003-02-13 12:01:28 +00:00
brodsom
175ebf3fd0 Remove JPN_ defines 2003-02-08 00:36:52 +00:00
eku
df8185c112 Removed hooks for BASIC/PL1 in gpre, as the support has been dropped
before IB4.
2002-12-06 13:44:53 +00:00
eku
6f051cbb7d Disabled gpre's BASIC and PL/1 support in configure. There's no such
implementation.
2002-12-03 13:58:40 +00:00
eku
2274ed0734 gpre's built-in lannguage support is now an autoconf option. C/C++ are
mandatory, all others are optional. Default all=off.
Type 'configure --help' for details.
2002-12-02 11:17:04 +00:00