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

50 Commits

Author SHA1 Message Date
asfernandes
a5ff7ca091 Misc 2008-12-01 01:26:27 +00:00
alexpeshkoff
9431183e42 Implemented CORE-1667: Reading password from file/stdin 2008-11-30 17:11:56 +00:00
robocop
d50c65a3d9 Close some of my favorite B.O.'s since FB1. To be reviewed by Vlad. 2008-10-21 06:17:03 +00:00
dimitr
0a9e8c8382 Implemented CORE-1751. The changes include:
1) Make memory counters aggregated.
2) Add attachment pool and allocate appropriate resources out of this pool.
3) Always release attachments explicitly (via destructor).
4) Always delete user requests prior to attachment deletion.
5) Introduce memory usage counters per every monitoring object.
6) Misc refactoring.
Some pieces are still incomplete (although everything basically works), but I'd like to get feedback and testing sooner rather than later.
2008-05-06 08:46:39 +00:00
asfernandes
f49017d2ff Misc 2008-03-01 15:08:11 +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
alexpeshkoff
19b903f0c5 fixed posix build 2008-02-14 11:52:59 +00:00
dimitr
12c4322ab9 The merge continued. 2008-01-16 06:11:50 +00:00
dimitr
a47a191154 Cleanup after Alex's commit. 2007-11-15 13:50:49 +00:00
alexpeshkoff
b87d1f2418 Make it buildable with old SDK 2007-11-15 13:28:08 +00:00
asfernandes
2550e82d24 Misc 2007-11-02 15:13:47 +00:00
robocop
076d6778b9 Misc. 2007-10-29 08:30:49 +00:00
robocop
7feced9cd9 Make compilation possible in VC6.
Simplify code.
2007-10-29 03:20:33 +00:00
asfernandes
76f3f85b80 Misc 2007-10-29 00:19:27 +00:00
skidder
4f1b37669c Allow local protocol to work with servers running both under restricted accounts (e.g. Vista regular user) and unrestricted accounts (e.g. LocalService) 2007-10-28 14:23:20 +00:00
skidder
e554bb22e9 Correction 2007-10-28 09:03:43 +00:00
skidder
6cd78729bc Correction as per Adriano suggestion. Firebird client library links to Advapi32.dll only by mistake now. If somebody fixes that it could break privilege checking code 2007-10-28 08:53:37 +00:00
skidder
44b0e24005 Restore the ability broken around FB 2.0.2 to run server under Vista and (hopefully) 2000/XP restricted accounts as application. This change may break the build against old Platform SDK, please replace SE_CREATE_GLOBAL_NAME constant with the hardcoded string in this case. 2007-10-27 20:48:41 +00:00
robocop
78e090ec4a Still trying to adjust isql to fix CORE-1261 completely: now it needs to understand that
RDB$PRIMARY<n> are implicit index names and shouldn't be part of a script.
2007-10-04 09:20:04 +00:00
asfernandes
a8355d8e8f Misc 2007-09-16 16:15:19 +00:00
robocop
e256254154 Fix CORE-1465 2007-09-16 09:02:53 +00:00
alexpeshkoff
ccf3fdd53b Fixed posix build 2007-05-17 12:30:04 +00:00
dimitr
1aa2ecfcb3 Changed the logic a bit to please Claudio. 2007-05-16 08:38:24 +00:00
dimitr
bc7c4d0054 Added remote process name to the monitoring data. Applications are allowed to override this value via DPB. 2007-05-16 07:54:33 +00:00
skidder
91fa2c7080 Fix MSVC8/Win32 build. IMO, these things where not nice:
- Target-dependent global typedefs
- Target-dependent stuff in COMMON .cpp files
2007-04-26 19:30:15 +00:00
alexpeshkoff
064a298fd4 misc comment 2007-04-26 08:51:04 +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
cd56397a51 Misc 2007-02-25 21:25:33 +00:00
robocop
63a80b0db6 Misc. 2007-02-23 05:55:37 +00:00
robocop
a12b0ac1db Make a simpler resource management for Windows registry handles and local memory allocation. 2007-02-22 09:52:02 +00:00
asfernandes
ce9986d3e6 Misc 2007-02-21 00:02:00 +00:00
hvlad
54fd5ce4b1 Moved ISC_prefix_object_name into fb_utils::prefix_kernel_object_name to avoid a need to add isc.cpp to all projects which can read config file 2007-02-20 15:39:01 +00:00
asfernandes
4d0252d980 Misc 2006-09-01 01:27:55 +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
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
alexpeshkoff
32ef4f5b67 fixed compilation after changes in exception 2006-01-07 16:58:23 +00:00
robocop
eb03e65ddc Source code comments. 2005-09-27 07:47:11 +00:00
robocop
bdf5dea379 Close vulnerability #3 in gds__interprete's new version.
Traditional sprintf could write past the end of buffer.
2004-10-04 04:44:52 +00:00
robocop
d61df6f212 Introducing our snprintf to avoid writing
SNPRINTF(...);
buffer[sizeof(buffer) - 1] = 0;
Makes a provision to detect overruns in systems that lack the snprintf familty.
Comments welcome
2004-09-26 11:17:39 +00:00
robocop
821a83eaba Take advantage of the full range in name_length(), in case we need it.
In most platforms, int <==> ptrdiff_t
2004-09-26 07:38:34 +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
robocop
c3660458b4 Added a comment, in case it's not obvious 2004-09-20 08:37:11 +00:00
robocop
5dce94f59f Collapsed an example of Borland's advanced copy/paste technique that repeats routines in different files into a single function. 2004-09-15 03:49:52 +00:00
robocop
22d2a488d1 Preach with the example and change the license to the IDPL 2004-07-10 03:17:02 +00:00
alexpeshkoff
eb23cf8796 string cleanup 2004-03-31 18:10:22 +00:00
eku
4cbef7b979 Fixed compilation problems with size_t. It's primarily defined in sys/types.h 2004-01-13 13:40:20 +00:00
stryqx
f7d06df281 Fix build on FreeBSD. 2004-01-12 00:56:03 +00:00
brodsom
36acb09df9 Fix MINGW build 2004-01-07 00:32:02 +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
efa538a4ca adding obviously missing files, thanks Arno. 2003-12-31 10:33:02 +00:00