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

76 Commits

Author SHA1 Message Date
robocop
fd7b507d19 More constants. 2005-01-05 02:06:31 +00:00
robocop
7be3904ce4 Bring some order to the gpre insanity that was using custom, disparate lengths for variables that should have the same length. 2005-01-03 08:07:41 +00:00
robocop
628b088d2c Treat string literals and string constants with more respect. 2004-11-10 04:26:45 +00:00
robocop
f80199d26d Treat string literals and string constants with more respect. 2004-11-08 03:33:26 +00:00
robocop
f264ecf391 Be more respectful of literal strings. 2004-10-30 05:30: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
16d3278eb8 Fix class/struct mismatch after Blas' cleanup 2004-05-29 04:48:42 +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
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
964219523c Move SQL_DIALECT constants from ibase.h to sqlda_pub.h and use it in gpre.h instead the full ibase 2004-05-20 00:58:55 +00:00
brodsom
c1db5a6a1e Avoid duplicated definition
Define macros for ifdefs without value
2004-05-18 21:54:33 +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
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +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
robocop
06a4df3708 A requiem for JOURNAL and WAL.
Instructions in the list.
2004-01-06 10:33:18 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +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
2e2319538c Rename usn struct to avoid collision with mingw headers (appear only after last changes) 2003-10-28 13:39:32 +00:00
brodsom
2c537bb58a Macro cleaning 2003-10-17 23:41:27 +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
b6c93778f4 const correctness and vars in scope 2003-10-07 09:58:26 +00:00
robocop
f8fadc0c40 const correctness and some variables in scope 2003-10-06 09:48:44 +00:00
skidder
235db035ce Ok, i'm joining Firebird destruction team with my cleanup:
1. Bring trace DSQL, DYN and BLR trace logging up-to-date
2. Remove redundant CSB pointer dereferences in BLR parser and request compiler
3. Convert RIGHT JOIN to LEFT JOIN early during BLR parsing
4. Check BLR syntax for unititalized contexts usage
5. Some type-safety and const-correctness fixes
2003-09-28 21:36:05 +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
aafemt
42dcca440e 'struct' cleanup 2003-09-11 10:36:45 +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
602c201989 -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:07:29 +00:00
aafemt
8798a33d84 ENUM removal 2003-08-22 10:56:55 +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
caa2c65b1e Add Fortran files and move GPRE_* defines from autoconf header to makefiles. 2003-02-27 16:55:56 +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
bellardo
7594e8b7b3 Added some of the "inlines" back. If the functions are really not meant to be inlined they need to be moved from the header file to an appropiate source file, and their declarations placed in the header file. Otherwise we get an overabundance of multiply defined symbols. 2003-02-13 23:39:49 +00:00
brodsom
45efaaa7e0 Remove inline keyword. 2003-02-13 22:49:16 +00:00