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

375 Commits

Author SHA1 Message Date
hvlad
f955808a51 Frontport better fix for bug CORE-3266 : Race condition between async service detach request and running user trace service 2010-12-17 22:32:35 +00:00
alexpeshkoff
1183e9c771 Fixed CORE-3220: isc_info_svc_get_users returns error message in the result cluster 2010-11-08 16:16:36 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
alexpeshkoff
83d6a2f88c Restored a lot of changes, rolled back by me unintentionally 2010-10-12 11:36:51 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
robocop
98a2c6822d Warnings. 2010-09-24 09:53:51 +00:00
alexpeshkoff
b02f9aff61 gsec always worked only with SYSDBA - thx to Vlad 2010-07-23 14:01:54 +00:00
asfernandes
2c51032b1e Misc 2010-07-15 00:47:24 +00:00
robocop
5d2e4a1df9 Misc. 2010-07-10 08:33:19 +00:00
alexpeshkoff
88db8b2fbc ODS change: made RDB$USERS system table, added virtual table SEC$USERS 2010-07-09 12:51:05 +00:00
alexpeshkoff
ea1b1843d8 Cleaned up macro BOOT_BUILD, boot ObjModuleType in posix build and a lot of related steps in posix build 2010-05-18 13:32:30 +00:00
robocop
46c9571858 Misc. 2010-05-11 08:36:45 +00:00
alexpeshkoff
965b851b77 Fixed CORE-2984: gbak -v srv:db stdout creates a broken backup 2010-05-06 13:42:20 +00:00
alexpeshkoff
8b4d53703d Cleaned isc_dpb_sys_user_name and related things 2010-04-21 12:55:43 +00:00
robocop
0d99531cf9 I find it more readable this way. 2010-04-21 10:42:45 +00:00
asfernandes
b36b9764ce Misc 2010-04-16 02:31:36 +00:00
alexpeshkoff
88b8a40a04 1. Cleaned up most of SUPERSERVER usage.
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())

2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).

3. Small posix build cleanup.
2010-04-15 14:40:27 +00:00
asfernandes
eb9eef9d77 Misc 2010-01-24 15:18:43 +00:00
alexpeshkoff
55e717f810 Moved authentication code from engine to remote listener.
Get ready for authentication plugins.
2010-01-22 14:55:11 +00:00
alexpeshkoff
f2753b7e86 Frontported changes to make -Direct switch of nbackup accept on/off parameter 2009-12-18 14:06:28 +00:00
alexpeshkoff
4f249d5269 Frontported - fixed delivery of status vector from service thread 2009-12-18 12:42:26 +00:00
asfernandes
b525f3b54f Misc 2009-12-16 21:52:01 +00:00
alexpeshkoff
1bb19c721d Added switch to nbackup, controlling direct access to database file 2009-12-16 17:28:52 +00:00
alexpeshkoff
c569345201 Some more changes suggested by Claudio 2009-12-16 13:40:26 +00:00
alexpeshkoff
3b95a6b5b4 Fixed an issue with gsec compatibility with previous versions 2009-12-16 11:25:50 +00:00
asfernandes
7d52a84520 Misc 2009-12-02 00:35:55 +00:00
alexpeshkoff
5a5489ab40 Fixed CORE-2778: SegFault in services when using same handle in different threads 2009-12-01 11:45:32 +00:00
robocop
44c469b51a Misc. 2009-12-01 05:35:54 +00:00
alexpeshkoff
dde6cc6686 CORE-2728 - we anyway do not receive errors from service in svc_status when detaching 2009-11-30 12:43:59 +00:00
alexpeshkoff
34d79c9c3f Fixed CORE-2728: Access Violation when trying to add an user that already exists 2009-11-30 12:10:47 +00:00
asfernandes
a3dd1d0482 Misc 2009-11-26 00:20:59 +00:00
robocop
2ffcc8b2ce Style. 2009-11-25 04:06:48 +00:00
robocop
3abd26ab61 Comments. 2009-11-24 11:44:53 +00:00
robocop
1386adcf90 Style. 2009-11-16 08:06:31 +00:00
asfernandes
cefe295ad9 Misc 2009-11-14 01:20:33 +00:00
alexpeshkoff
4f54fd68e8 Frontported improvement CORE-2748: allow gsec to grant RDB$ADMIN role in the security database 2009-11-13 19:00:09 +00:00
alexpeshkoff
8bfa0a37a2 Feature CORE-1952: deprecate Implementation IDs, easing new ports; ODS change - BOOT build needed 2009-11-13 18:29:06 +00:00
asfernandes
f2cd6b7ec2 Misc 2009-11-12 01:38:48 +00:00
robocop
08a33d50cc Unfortunately several of these are intertwined:
CORE-462 	 New option in addition to -V switch to specify a custom verbose interval
CORE-2540 	 Utilities need a more coherent way to show help and version
CORE-2541 	 Too many hardcoded messages in nbackup
CORE-2542 	 qli and nbackup accept arbitrary input after the first letter of an option
CORE-2543 	 nbackup may hide the real cause of failure
CORE-2545	 Lack of several validations in gbak
CORE-2547 	 Utilities need to honor their minimum number of characters to recognize an option
CORE-2565 	 Many hardcoded messages in Trace Manager
Moving functions that don't depend on preprocessing to iutils.cpp in isql is the only alien change here.
2009-11-05 09:03:41 +00:00
verbguy
8192bf7723 fix a bunch of 64-bit sign extension warnings, reported by Sun Studio option, -xport64=implicit 2009-11-04 15:15:57 +00:00
alexpeshkoff
fbda7f245e Fixed CORE-2439: Add FIX_FSS_DATA and FIX_FSS_METADATA into the server 2009-10-05 10:26:59 +00:00
asfernandes
dbed23fafc Misc 2009-10-03 00:52:23 +00:00
alexpeshkoff
dbbea09f2b Fixed CORE-2657: Ability to get any permissions (including SYSDBA) working with services 2009-10-02 16:44:00 +00:00
alexpeshkoff
2898df57a1 Fixed assertion in jrd8_service_query=>successful_completion, status was saved in bad place 2009-09-22 13:01:58 +00:00
alexpeshkoff
60a115efc2 Fixed CORE-2601: fine tuning of the installation directories does not work in configure 2009-09-11 10:49:46 +00:00
alexpeshkoff
9629eafccd Use per-thread circular strings buffers instead common and per-attachment combination 2009-09-01 09:20:24 +00:00
asfernandes
5063bafc36 Misc 2009-07-15 03:13:16 +00:00
dimitr
013dd30e99 Totally misc. 2009-07-13 15:19:26 +00:00
alexpeshkoff
caf50ce2b3 Fixed CORE-2526: Server can be shut down disregarding services' connections 2009-07-13 12:09:37 +00:00
hvlad
e2a24eed4d Correct typo in assertion 2009-06-22 07:11:39 +00:00
asfernandes
26c1892310 Misc 2009-06-20 18:46:59 +00:00
robocop
6bfacad413 CORE-2509. Took the opportunity to fix several data types. 2009-06-18 12:07:07 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
asfernandes
e707efaa1d Misc 2009-04-16 01:09:12 +00:00
robocop
dea57e9099 Get rid of SCO. 2009-04-15 06:29:00 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
alexpeshkoff
2c270ab9db Fixed set/drop admins mapping in security2.fdb 2009-03-04 12:44:25 +00:00
asfernandes
b204a1e54f Misc 2009-02-21 17:43:07 +00:00
alexpeshkoff
2ea767b2d1 Ignore exceptions in catch() block - to be reviewed by Vlad 2009-02-19 18:09:01 +00:00
alexpeshkoff
f49f37d700 always uppercase service user name - should make trace happy 2009-02-19 15:41:08 +00:00
alexpeshkoff
0d99a0d6c4 Implemented CORE-2322: added gsec and services support to control SYSDBA-like access of windows domain administrators to security database 2009-02-13 13:05:50 +00:00
robocop
05feaac2d9 Frontport fix for CORE-2313. 2009-02-09 12:22:04 +00:00
asfernandes
628eb5b557 Misc 2009-02-09 01:43:49 +00:00
robocop
a18dc0519f Misc, style, fixing dangerous warnings, constness, etc. 2009-02-08 11:23:46 +00:00
hvlad
a656b92d1d Fixed mistake, noted by Claudio 2009-02-04 13:07:09 +00:00
asfernandes
612c108e3e Misc 2009-02-02 03:35:52 +00:00
hvlad
115602ff06 Trace services support 2009-02-01 22:10:12 +00:00
hvlad
cc26c104f4 Fixed few small glitches 2009-02-01 21:53:58 +00:00
asfernandes
f532f6975e Misc 2009-01-21 15:42:45 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33:59 +00:00
asfernandes
cd010ff939 Misc 2009-01-17 19:07:07 +00:00
robocop
6eba92022d Misc. 2009-01-17 10:33:35 +00:00
alexpeshkoff
f5214489e7 Fixed server shutdown when reading firebird.log 2009-01-16 16:29:12 +00:00
alexpeshkoff
1156d574e0 Optimized services performance when transfering big amounts of data to user 2009-01-16 15:42:33 +00:00
alexpeshkoff
bd680bcb47 Solaris port 2008-12-28 15:26:05 +00:00
asfernandes
5a85277726 Misc 2008-12-25 14:25:01 +00:00
robocop
762d7e1392 Style. 2008-12-25 06:09:37 +00:00
robocop
2fadc0e456 Style. 2008-12-22 09:00:05 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
alexpeshkoff
b3a854629c more checks - thanks to Claudio 2008-11-23 14:04:41 +00:00
alexpeshkoff
0c47a1c508 cleanup 2008-11-20 17:23:06 +00:00
asfernandes
2a757281c6 Misc 2008-10-31 00:02:49 +00:00
alexpeshkoff
cdc4458dec Fixed CORE-2158: AV in client/embedded library when unloading it 2008-10-29 17:05:22 +00:00
alexpeshkoff
9b69175326 Improvement CORE-1107: Services API extension for new (single, full) shutdown modes 2008-09-16 14:19:09 +00:00
asfernandes
7a5b0121d8 Misc 2008-09-14 23:17:58 +00:00
robocop
180916807d Misc. 2008-09-12 11:05:35 +00:00
alexpeshkoff
c0614a1bbc Use more carefull way to merge vectors - never have partially-copied arguments 2008-09-11 13:08:01 +00:00
alexpeshkoff
a3c947ea76 Renamed Service's methods according to Claudio's request to reflect data movement direction 2008-09-11 11:51:25 +00:00
alexpeshkoff
370ed679ec Refactored services code 2008-09-11 09:03:08 +00:00
asfernandes
f49c1afd8f Warning 2008-09-08 15:16:52 +00:00
alexpeshkoff
6e7c4db680 fixed shutdown using fbmgr 2008-09-08 14:07:19 +00:00
asfernandes
0f387a9bee Misc 2008-09-06 18:42:55 +00:00
alexpeshkoff
de1cc4f41a Fixed broken by me this week use of status vector in services - thanks to D.Kovalenko 2008-09-05 11:41:00 +00:00
robocop
b36b4dc179 Misc. 2008-08-31 06:24:24 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
asfernandes
4aa6ecbaf1 Misc 2008-07-06 18:08:23 +00:00
alexpeshkoff
5ac5869661 CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come. 2008-07-03 12:02:54 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
robocop
6a439b2866 Solved CORE-1911 in a simple albeit not very clever way.
svc.cpp only needs to read the gbak switches table, but burp.cpp needs to toggle the in_sw_state field, hence I made the global instance a constant and copied it to a local array inside burp.cpp's "gbak" function.
2008-05-23 13:05:35 +00:00
alexpeshkoff
796e02d2a5 1. Cleanup - use constants ISC_USER/ISC_PASSWORD instead of always repeated string constants.
2. Let services uses environment and OS auth when run embedded.
2008-05-19 13:58:37 +00:00