dimitr
c68587fe66
1. Virtual tables
...
2. ODS 11.1, procedure type and relation type
2006-07-17 17:44:18 +00:00
asfernandes
5a4862f17f
Misc
2006-07-02 22:42:12 +00:00
robocop
2fbc33febb
We had to bring new force to the project (Michal Kubecek) to remember us that fopen() returns NULL on failure. After his fix, I found more cases that we overlooked for years.
2006-07-01 08:53:50 +00:00
alexpeshkoff
0f7cbececb
applied Damyan's patch for gcc 4.0.1
2006-06-23 08:33:33 +00:00
robocop
541fe6c579
It seems that all of Jim's hand-made parsers have had the same bug for 20 years in compilers that treat the "char" type as signed byte internally: they get random character attributes because they apply negative indices (obviously out of bounds) to the array of char attributes for any char value greater than 127. And all of them do their work in slightly but almost equal way... tell me about code redundance! This without losing time fixing unused stuff like jrd/jlx.c.
2006-06-08 05:15:37 +00:00
dimitr
7cc12e8489
1) Reworked memory management in SORT. Now we're pools aware there.
...
2) Reworked error handling in SORT and its callers.
3) Replaced DLS+SortMem with the generic TempSpace class.
4) Replaced GDS temp file management with the TempFile class.
5) Various cleanup.
2006-05-31 08:53:00 +00:00
alexpeshkoff
b056a118b5
1. Avoid use of STL
...
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
robocop
ebe0a75026
Simplification.
2006-05-04 00:02:58 +00:00
robocop
07f4bed382
I don't want another "interprete", so I rename "defered" to "deferred".
2006-05-02 00:04:12 +00:00
alexpeshkoff
2c7a5997cd
fixed gcc warning(s)
2006-01-18 11:54:00 +00:00
robocop
4f5cb7e3f6
Misc.
2006-01-07 01:32:10 +00:00
robocop
1e6d89ebfc
Comment excessive dependencies on license.h.
2006-01-07 00:31:37 +00:00
robocop
3e6585d99e
Misc.
2005-12-11 08:32:27 +00:00
robocop
187b320513
Forward-port Ann's enhancement to gpre to allow more range for identifiers (more changes may be needed in the future to complete the feature).
2005-12-09 05:07:57 +00:00
robocop
2d00d59c8c
Misc.
2005-11-30 06:12:53 +00:00
alexpeshkoff
62a24d46e4
1. Moved data structures, written to database file, into ods.h.
...
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
dimitr
d58a557d63
Fixed a number of issues for Dialect 1 and Dialect 3 (string arithmetics) + some cleanup.
...
The issues are:
1) '1.5' / '0.5' doesn't work in Dialect 1
2) avg ('1.5') doesn't work in Dialect 1
3) 5 * '1.5' produces INT result instead of DOUBLE PRECISION in Dialect 1
4) sum ('1.5') produces NUMERIC(15, 2) result instead of DOUBLE PRECISION in Dialect 1
5) - '1.5' doesn't work in Dialect 1
6) '1.5' * '0.5' and '1.5' / '0.5' are not forbidden in Dialect 3
2005-08-06 05:36:30 +00:00
asfernandes
0815ad2770
Make gpre_boot work without -lang_internal switch
2005-06-22 22:23:05 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
alexpeshkoff
0601ed34a6
fixed declarations of gds__temp_file() parameter -
...
buffer overflows were possible
2005-05-14 10:42:58 +00:00
kkuznetsov
d1a41d7eb2
SOLARIS cleanup
2005-02-17 12:51:13 +00:00
kkuznetsov
06cc818d15
Fix including FTN_fini refences into gpre_boot while configured with fortran
2005-02-10 10:21:53 +00:00
robocop
15c5bc67d0
Fix SF Bug #527677 for gpre and the ANSI85 switch.
2005-01-19 08:59:23 +00:00
robocop
1b420b2e9b
Fix SF Bug #1103740
...
Both quoted and non-quoted cursors should be checked for duplication.
Now, duplicate quoted identifiers used for cursors will get something like:
(E) gpretest.e:29: symbol a_nice_long_long_long_cusor_name_for_customer is alrea
dy in use
2005-01-17 08:55:03 +00:00
robocop
a696b411c2
Fix SF Bug #1103683 for gpre.
...
Now, database aliases can't be longer than 31 bytes. Example:
EXEC SQL
SET DATABASE "DB0" = COMPILETIME "G:\\DB\\Firebird\\examples\\EMPLOYEE.GDB"
Here DB0 can be longer provided that it doesn't go beyond 31 bytes. As pointed out by Paul Beach, it makes little sense to have a reference that's longer than the physical path of the db.
2005-01-17 06:48:18 +00:00
robocop
e094566e16
Fix SF Bug #1103670 .
...
Now, quoted cursor names can be opened, closed and reopened in gpre without losing their names.
2005-01-17 06:43:49 +00:00
robocop
04f8bb10c8
Fix error message.
2005-01-17 05:41:08 +00:00
robocop
f05c19c9b8
Fix more inconsistencies in gpre related to SF Bug #1103666 , supposedly caused by the starfishes.
2005-01-17 05:39:13 +00:00
robocop
6a2ecc3fd3
Fix more inconsistencies in gpre related to SF Bug #1103666 .
...
The others were fixed as part of fixing SF Bug #504978 about truncation of variables.
2005-01-17 05:31:12 +00:00
robocop
ae780ca62d
Misc.
2005-01-17 05:22:10 +00:00
robocop
0d4bd2e497
Fix SF Bug #504978 . Restore gpre ability to work with variables up to 63 bytes in length. Now that the lengths are expressed by constants instead of random values in each place, the limit may be increased further. The problem happened between IB5 and IB6 at Borland.
2005-01-17 05:02:09 +00:00
robocop
8c1f26cc01
Misc.
2005-01-12 05:50:52 +00:00
robocop
165e4a186d
Fixing more inconsistencies.
2005-01-07 04:00:19 +00:00
robocop
3eacd85d2a
Let's prevent accidental modification of some params.
2005-01-05 08:25:24 +00:00
robocop
5877cba380
Misc.
2005-01-05 04:02:19 +00:00
robocop
0cd5c8b716
1.- More constants.
...
2.- Support for BASIC language was dropped a lot of time ago.
2005-01-05 04:00:33 +00:00
robocop
bfd96a4936
More constants.
2005-01-05 03:58:49 +00:00
robocop
fd7b507d19
More constants.
2005-01-05 02:06:31 +00:00
dimitr
c990ed78e4
Fixed the build.
2005-01-04 10:53:44 +00:00
robocop
ef602283bf
More constants.
2005-01-04 05:19:37 +00:00
robocop
0077efa78f
Misc.
2005-01-03 08:11:29 +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
d65307b497
Style.
2004-12-24 08:52:39 +00:00
robocop
365de0fa48
Misc.
2004-12-16 03:10:20 +00:00
robocop
2814294027
Misc.
2004-12-16 03:03:13 +00:00
robocop
fddf92395e
Misc.
2004-12-10 22:54:16 +00:00
alexpeshkoff
387e678cca
applied Clumplet* classes to dpb where possible
2004-12-09 19:19:47 +00:00
robocop
f550ca480f
Misc.
2004-12-09 02:53:19 +00:00
robocop
0dd1aced53
Misc.
2004-12-09 02:50:47 +00:00
robocop
3d232f30ca
Overwrote the good version of the file thanks to the CVS Id tag.
2004-11-28 04:59:31 +00:00
robocop
979355b025
Misc.
2004-11-28 03:43:42 +00:00
robocop
d6535351a2
Misc: style.
2004-11-24 09:22:07 +00:00
robocop
83881d9243
Fix with double quotes handling in case someone still uses gpre and COBOL.
2004-11-10 04:32:11 +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
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