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

231 Commits

Author SHA1 Message Date
robocop
f80199d26d Treat string literals and string constants with more respect. 2004-11-08 03:33:26 +00:00
robocop
e5ac2effd4 Misc. 2004-11-08 03:09:27 +00:00
alexpeshkoff
1c87838c7f added new dpb parameters 2004-11-07 14:20:58 +00:00
robocop
4638daee13 Wrong macro to inline function conversion (but harmless) 2004-10-30 05:36:08 +00:00
robocop
f264ecf391 Be more respectful of literal strings. 2004-10-30 05:30:08 +00:00
robocop
739fc568f7 Misc. 2004-10-23 00:54:26 +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
da2a5c1abc Finalize Nickolay's rollback of my changes to get MSVC6 compiling HEAD. 2004-10-04 04:59:05 +00:00
skidder
3e6b170862 Roll back implementation of Claudio suggestion for consturctor of BID structure. It forced addition of constructors for message structures generated by GPRE which is not correct 2004-10-03 20:18:13 +00:00
robocop
31ba754981 After talking to Ann, decided to disable several items:
- obsolete items like WAL and JOURNAL (cleaned in the past)
- crud from attempts never finished like the shared cache manager for Classic
- DSQL nodes that aren't used. This allowed freeing some keywords.
The functionality was disabled by commenting the code. No code has been deleted.
2004-10-03 04:49:04 +00:00
robocop
f2020d8896 Let's gpre be more CPP friendly when defining ports (at least with MSVC6)
Ref: object with constructor inside struct should have that struct given a type name.
2004-10-03 04:43:43 +00:00
robocop
8df7b14f19 The custom symbol_length is equivalent to fb_utils::name_length. 2004-09-26 07:42:53 +00:00
robocop
7dcb66a250 When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +00:00
robocop
c70d7875c6 Finally got to solve my own indication in the code from months ago 2004-09-22 08:52:47 +00:00
robocop
61a7173a3c Style 2004-08-27 04:50:00 +00:00
brodsom
3bcf37fcd1 Assert or silence uninitialized warning 2004-08-26 21:44:11 +00:00
robocop
b60c0e4cab Misc: format 2004-08-21 09:29:46 +00:00
brodsom
f2067a4154 -Correction 2004-06-11 03:10:41 +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
robocop
738be5fe40 Style: opening braces too far to the right 2004-06-03 07:42:31 +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
f8f159dc9e Changing some variables that have a trailing underscore to allow conflict with C++ keywords or engine structs. 2004-05-31 02:34:35 +00:00
robocop
7b51928503 Style 2004-05-29 04:55:23 +00:00
robocop
6bd3865ffd Cleanup 2004-05-29 04:54:20 +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
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
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
4a9ba0b5f3 Macro cleaning 2004-05-18 21:54:56 +00:00
brodsom
c1db5a6a1e Avoid duplicated definition
Define macros for ifdefs without value
2004-05-18 21:54:33 +00:00
brodsom
87099930b3 bad if 2004-05-13 22:34:27 +00:00
brodsom
0b8d03c787 -Avoid shadow warning 2004-05-13 09:46:01 +00:00
eku
3657b2eaab Fixed Blas' corrections. 2004-05-13 06:48:41 +00:00
brodsom
996b40079f -Avoid shadow warning 2004-05-13 00:33:17 +00:00
brodsom
1ffe279896 -Avoid shadow warning 2004-05-12 19:39:17 +00:00
robocop
802f244ec1 Misc changes 2004-05-09 05:48:33 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
a549091c94 - Split sqlda.h to avoid duplicated definitions between ibase.h and sqlda.h
- Replace define for constants
- Remove contants.h where not used.
2004-04-30 22:47:16 +00:00
brodsom
2c0ab256cf Removing duplicated definitions between
ibase.h and blob_filter.h
ibase.h and constants.h
2004-04-29 17:48:39 +00:00
brodsom
ecc97c8009 Style 2004-04-28 23:29:25 +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
robocop
68c038d132 More cleanup. Get rid of obsolete files, too. 2004-03-30 08:34:14 +00:00
robocop
faa41f7b3b Cleanup 2004-03-30 04:10:52 +00:00
alexpeshkoff
c96bdc369a dropped unneeded conversion of all requests to/from blk* 2004-03-20 14:31:57 +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