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

55 Commits

Author SHA1 Message Date
robocop
628b088d2c Treat string literals and string constants with more respect. 2004-11-10 04:26:45 +00:00
robocop
4638daee13 Wrong macro to inline function conversion (but harmless) 2004-10-30 05:36:08 +00:00
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
robocop
1332d98618 Literal strings should be treated as const char* 2004-06-05 09:37:18 +00:00
robocop
a65ccddbd4 Misc changes:
- const
- variables in scope
- style
- a duplicate function deleted
- some unneeded casts removed
2004-06-03 07:31:10 +00:00
robocop
6bd3865ffd Cleanup 2004-05-29 04:54:20 +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
1ffe279896 -Avoid shadow warning 2004-05-12 19:39:17 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +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
663e3b16e7 Cleanup 2004-02-02 11:02:12 +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
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
brodsom
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +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
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
54fb6ea92a Fix indents 2003-09-13 12:22:11 +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
brodsom
d5a2afadec Fix last Dmitry commit 2003-09-05 14:55:59 +00:00
aafemt
1cee5265b8 'struct' cleanup 2003-09-05 10:14:08 +00:00
brodsom
8624a7c209 -Use NULL instead 0 for null pointers
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
brodsom
47542a44ea -Format & casts warning fixes
-Isolate unused code with ifdefs
-Code style corrections
-Remove two unneeded NULL casts
2003-08-09 18:00:14 +00:00
brodsom
db5f756773 -b option for exec sql 2003-07-04 16:19:37 +00:00
brodsom
2ab0bde05d Add special action to be used in dyn_def.cpp. 2003-07-02 18:58:41 +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
02ba0533b9 Put par_quoted string inside PYXIS. function is only used when PYXIS is defined 2003-03-03 08:27:33 +00:00
brodsom
3fafc21191 -Add some needed PYXIS defines (found with gcc warnings)
-Add one needed FTN_BLK_DATA define (found with gcc warnings)
2003-03-01 12:10:16 +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
5ca686dd37 Remove some of the PYXIS remains 2003-02-14 14:56:09 +00:00
dimitr
6e42d8c093 Fixed exception handling. 2003-02-13 12:01:28 +00:00
brodsom
93db70528a Remove UNDEF define. 2003-02-10 23:44:53 +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
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
hippoman
9a8f0768b9 Changed struct fld and FLD to local module names 2002-11-30 17:45:02 +00:00
hippoman
62cf7d7a88 change TRA,REQ,TRG,REL,CTX or PRC, to module local names. 2002-11-17 00:04:19 +00:00
hippoman
72673d7b03 * Changed NOD struct name to GPRE_NOD. 2002-11-11 19:19:43 +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