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

250 Commits

Author SHA1 Message Date
dimitr
871967363c Started the merge. More tomorrow. 2008-01-15 20:15:58 +00:00
robocop
c2d32e4825 Cleanup from Bill Oliver. 2007-10-27 06:09:00 +00:00
alexpeshkoff
8274d3213d Fixed CORE-867 - all utilities now hide password from "ps" as soon as possible 2007-04-25 14:10:47 +00:00
asfernandes
58c7f356d4 Misc 2007-04-12 02:20:36 +00:00
alexpeshkoff
d63491e3c5 Finished gcc-warnings cleanup 2007-04-11 16:05:40 +00:00
robocop
22decb76f7 Misc. 2007-04-10 10:04:00 +00:00
asfernandes
03f0a55b10 Misc 2007-04-06 18:02:17 +00:00
robocop
345b422633 Inject UserBlob into QLI (not in all places). 2007-04-06 10:10:10 +00:00
robocop
6b4ec2b1d4 Corrections from Adriano. 2007-04-01 13:02:46 +00:00
asfernandes
33c3fd3799 Misc 2007-04-01 00:35:59 +00:00
robocop
e71a03261c This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash. 2007-03-28 04:20:36 +00:00
robocop
63a80b0db6 Misc. 2007-02-23 05:55:37 +00:00
robocop
1053a35548 Some code changes (no functional change expected). 2007-02-22 09:58:56 +00:00
paulbeach
65279c6b97 Fix crash in QLI using the following SQL command. insert into relationx select * from relationy 2007-02-21 10:51:14 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
aafemt
e6151fd57f Warnings 2006-09-01 10:51:57 +00:00
robocop
56d19d8f53 Centralize detection of those pesky implicit domains.
There may be more cases that can use the new function.
2006-08-31 08:01:24 +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
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
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
skidder
2851f76d35 Fix warnings 2004-03-14 05:51:54 +00:00
skidder
6ad25cc4c7 Tricky one. Line continuation extended single-line comment and broke the build 2004-03-08 03:02:04 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +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
skidder
14bfcc7019 Fix build after Claudio cleanup 2004-02-21 09:24:14 +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
skidder
07c34616c6 Engine fully builds on Linux AMD64 now 2004-01-22 06:51:37 +00:00
robocop
b441cd9aef Cleanup 2004-01-13 09:52:19 +00:00
robocop
06a4df3708 A requiem for JOURNAL and WAL.
Instructions in the list.
2004-01-06 10:33:18 +00:00
fsg
e3ba8c5f42 Some changes to get it compiled under linux.
Use const declarations for BLANK etc. in isql.h again.
FSG
2004-01-03 14:12:45 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
robocop
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
brodsom
27cbcdd73e -Removing some unneeded headers (WIN_NT) or explaining why are needed 2003-11-16 12:57:23 +00:00
brodsom
9b7994233c -Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes 2003-11-16 01:52:44 +00:00
brodsom
c5253ae8a5 -Replace gds__ constants with isc_ contants
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
robocop
f55c6f6f8c const correctness and cleanup 2003-11-10 09:16:38 +00:00
brodsom
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
robocop
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +00:00
robocop
35396625f5 const correctness
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +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
9b1df738ac Remove unneeded MINGW ifdef 2003-10-29 00:31:51 +00:00
robocop
d0752cf884 Style 2003-10-20 10:08:01 +00:00
brodsom
46648c1662 Solve assertion failure in tests 2003-10-17 12:55:17 +00:00
robocop
8182b6cba2 const correctness and other tasks 2003-10-16 08:51:06 +00:00
robocop
480c1ee968 const correctness 2003-10-08 08:42:48 +00:00
stryqx
bd8c3bf757 Fix build with gcc 3.3 2003-10-07 10:33:51 +00:00
brodsom
bac69c42fc extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:20:50 +00:00
brodsom
c0485b7c67 Macro cleaning 2003-10-01 18:11:23 +00:00