alexpeshkoff
9431183e42
Implemented CORE-1667: Reading password from file/stdin
2008-11-30 17:11:56 +00:00
alexpeshkoff
2200a681f8
fixed some gcc warning
2008-11-28 18:49:07 +00:00
hvlad
b37e24cf14
Added phase of preliminary confirmation for fb_shutdown process
2008-11-25 10:16:53 +00:00
alexpeshkoff
d8ea120ded
AIX port - use FB_ prefix for alignment constants
2008-11-05 11:26:23 +00:00
robocop
3501396254
Get rid of longjmp and setjmp in qli. Due to uninitialized vars, I doubt they were working as expected, anyway.
2008-09-05 10:26:52 +00:00
alexpeshkoff
ff7cfc717e
Implemented Adriano's suggestion concerning fb_shutdown_callback() - added new parameter
2008-05-22 08:59:45 +00:00
asfernandes
3d8ad6c414
Correction
2008-05-19 12:10:43 +00:00
asfernandes
a5b53f36ed
Correction
2008-05-18 01:59:29 +00:00
alexpeshkoff
86cd8cb6b3
1. Added parameter 'shutdown reason' to fb_shutdown() API call. It's passed to shutdown
...
callback function, and helps to take correct action in it. This fixes CORE-1827: Win32
Embedded Server should pass control to application before calling exit(3).
2. Removed unneeded any more flag in isql and qli, used earlier to distinguish between
kinds of shutdown.
2008-05-16 11:31:57 +00:00
alexpeshkoff
0ba2ab7ea7
Make fb_cancel_operation() public API call. Related cleanup.
2008-04-29 09:55:41 +00:00
robocop
90394ca9c5
Misc.
2008-04-22 11:32:44 +00:00
dimitr
e50478c6b6
Misc.
2008-03-26 10:03:48 +00:00
alexpeshkoff
ed25245303
Applied shutdown changes, discussed in fb-devel a week ago.
2008-03-17 16:49:47 +00:00
alexpeshkoff
d8d8f6c60a
Fixed AV when QLI started. I wonder how could it ever work at all?
2008-03-12 12:33:21 +00:00
robocop
82b4aeb939
Cleanup, minimize casts and a bit better error reporting.
2008-03-10 09:08:12 +00:00
alexpeshkoff
7dacbbbd74
Make fb_disconnect_transaction, fb_shutdown and fb_shutdown_callback public API calls.
...
Related cleanup.
2008-03-03 17:47:09 +00:00
alexpeshkoff
00c63c1f8d
1. Make signals handling in yValve MT safe.
...
2. Introduce new private API calls, fb__shutdown() and fb__shutdown_callback().
3. Introduce fb_smp_server - binary to run superclassic on posix.
4. Various cleanups.
2008-02-28 18:42:30 +00:00
robocop
d5a3ea4a2c
Style
2008-02-02 17:07:19 +00:00
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