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

181 Commits

Author SHA1 Message Date
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
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
robocop
ae51945b18 Misc. 2006-05-20 03:31:05 +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
hvlad
73dcebc962 Replace "../jrd/jrd_time.h" with "../common/classes/timestamp.h" 2006-02-03 13:13:27 +00:00
robocop
9dae55a311 Beware of PC_ENGINE in qli: it's used to protect code meant to be marked with EXPRESSION_INDICES instead, therefore probably all places should be enabled unconditionally. At least with one change (this one) it now shows expression indices correctly. 2006-01-26 08:00:41 +00:00
robocop
0d2479158b Misc. 2006-01-17 07:52:14 +00:00
alexpeshkoff
d1ee840d60 fixed gcc warning(s) 2006-01-16 16:49:15 +00:00
alexpeshkoff
17fe0fbbec ported fix from vulcan 2006-01-16 16:46:40 +00:00
alexpeshkoff
729969be72 ported fix from vulcan 2006-01-16 10:01:27 +00:00
dimitr
1293d9fd97 Fixed bug related to expression indices vs. collates, reported by Ivan. 2006-01-15 16:04:39 +00:00
robocop
b67b0219ab Change from getenv to readenv. This is still getenv in Linux/UNIX but GetEnvironmentVariable in Windows. 2006-01-14 04:48:59 +00:00
robocop
1e6d89ebfc Comment excessive dependencies on license.h. 2006-01-07 00:31:37 +00:00
alexpeshkoff
da6eb10cf4 fixed a warning 2005-12-02 16:49:39 +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
robocop
8302f8034d Solve problem with QLI and SQL quoted identifiers created previously. 2005-10-04 08:00:23 +00:00
robocop
83c918dcc5 Misc. 2005-09-03 05:56:35 +00:00
robocop
6bf95490fb Archeology: enable QLI to handle NUMERIC, DECIMAL and BIGINT in definitions. No dialect check made. 2005-09-03 05:52:02 +00:00
robocop
9d59a7ccc5 Try to convince QLI to handle quoted identifiers.
It acts for now as if dialect 3 is the only one available WRT names enclosed in double quotes.
2005-08-19 06:07:12 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
robocop
7ba9d079f6 Little simplification. 2005-03-26 05:40:24 +00:00
robocop
d65307b497 Style. 2004-12-24 08:52:39 +00:00
robocop
2814294027 Misc. 2004-12-16 03:03:13 +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
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
robocop
628b088d2c Treat string literals and string constants with more respect. 2004-11-10 04:26:45 +00:00
robocop
2ec848a3b9 Treat string literals and string constants with more respect. 2004-11-08 05:38:42 +00:00
robocop
c5d4c16c5d Treat string literals and string constants with more respect. 2004-11-08 05:17:30 +00:00
robocop
4cf152ec65 Misc. 2004-10-07 09:19:25 +00:00
robocop
6828d6fa42 Delete wrong comment. 2004-09-26 11:18:33 +00:00
robocop
9344289ef7 Replace custom routine by common logic 2004-09-26 07:48:29 +00:00
robocop
840bf14b36 If we are using namespace fb_utils, it doesn't make sense to prefix functions in it with fb_ again. Mechanical replacement made one by one (no bulk automatic changes). 2004-09-26 01:49:52 +00:00
brodsom
e2ea495397 Avoid final comma 2004-08-24 23:00:17 +00:00
robocop
c77040ff97 Style and const 2004-06-06 05:25:32 +00:00
robocop
1332d98618 Literal strings should be treated as const char* 2004-06-05 09:37:18 +00:00
fsg
1622af9f66 Fixes issues spotted by Claudio 2004-06-04 06:55:38 +00:00
fsg
08f9f20489 First step to allow qli to work with relations containing bigints
It is possible now to copy table contents between databases, insert bigints via qli and show works nearly as expected.
Displaying bigints and evaluation of expressions containing bigints still doesn't work.
2004-06-03 14:00:59 +00:00
robocop
79066ce156 1.- Const correctness
2.- Style
3.- Ancient coding error: two places with
if (symbol->sym_type = SYM_database)
where indeed
if (symbol->sym_type == SYM_database)
but I don't know if somebody has experienced the bug.
2004-05-29 05:07:29 +00:00
robocop
9cda37f9b2 const correctness 2004-05-29 05:03:08 +00:00
brodsom
1d9e007baa -Join qli globals in dtr.h
-Use C++ struct declaration style.
2004-05-24 17:20:44 +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
cc1c25f7ae Macro cleaning 2004-05-16 01:42:11 +00:00
brodsom
c8db819ac5 Replace defines with consts 2004-05-07 07:57:46 +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
1824343930 Cleanup.
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
aafemt
381df2bf9a Fix by Vladimir Tsvigun 2004-03-25 07:44:27 +00:00
robocop
958f9e31aa Cleanup
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +00:00