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

216 Commits

Author SHA1 Message Date
asfernandes
890494ac7c 1) Fixed SF #1016040 Missing external libraries causes engine exception
2) Use better error messages
2005-06-14 03:16:54 +00:00
dimitr
894fa1e011 Removed unused thread scheduling option. 2005-06-12 06:27:12 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
alexpeshkoff
5729790ed6 1. Applied class MetaName
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
robocop
c8de3fff0c Change misleading comment. 2005-05-02 09:10:06 +00:00
dimitr
559843c97d Fixed origin of the 100% CPU load when an I/O error causes a rollover to non-existing shadow.
Also fixed attempt to wait for the attachment-owned lock for the already purged attachment.
2005-05-02 07:01:33 +00:00
asfernandes
eabacfd9ad Apply Vlad's patch reverting to legacy behavior about overwrite of non-database files 2005-05-01 14:58:21 +00:00
robocop
b609407d9b We can live with static_cast for these cases. 2005-04-18 03:32:35 +00:00
alexpeshkoff
808422abaf fixed windows build 2005-04-14 17:06:14 +00:00
asfernandes
b5294dc7a9 Fixed SF #1155520 - Any user can replace databases created by others 2005-04-13 01:06:24 +00:00
alexpeshkoff
504ec492ab Shutdown SS without SYSDBA password 2005-04-11 15:33:18 +00:00
hvlad
f09ef16560 1. New switch for gbak -RECREATE_DATABASE [OVERWRITE].
Simple RECREATE_DATABASE is equal to CREATE_DATABASE,
    RECREATE_DATABASE OVERWRITE is equal to REPLACE_DATABASE.
2. gbak uses isc_dpb_overwrite to create database over existing files
3. engine overwrite existing files only if asked explicitly by
    user by setting isc_dpb_overwrite to 1
4. fixed unregistered bug - when gbak uses service manager and passed
    command line contains invalid switch. Service reports error and
    finish but not call Service::svc_started therefore response is not
    send and gbak is stalled forever
2005-04-09 18:44:50 +00:00
dimitr
4ec439dd14 1) Deliver trigger type to the compiler level
2) Disallow NEW context assignments for POST-triggers
2005-03-28 21:52:55 +00:00
robocop
331b974d4b Fix role parsing bug. I warned the committer five months ago, but it got lost among his duties, so I'm fixing it now with the same suggestion I gave then.
Demonstration:
SQL> connect isqltest.fdb role "your bug""""is here";
and see what you get inside options.dpb_role_name in jrd.cpp at line 946.
2005-03-15 02:09:58 +00:00
alexpeshkoff
f4cd5a154f Changed name to security2.fdb 2005-02-24 12:24:38 +00:00
robocop
8d4b89723f Welcome to paranoid programming. 2005-01-25 06:33:07 +00:00
alexpeshkoff
643c54fba5 verify DatabaseAccess in the same style&place for both attach and create 2004-12-20 17:44:25 +00:00
alexpeshkoff
8a2e6d6c59 Better way for server to authenticate itself in security database. 2004-12-19 15:24:59 +00:00
skidder
252fae8d3b Second attempt to fix backing up of stream blobs.
This time it should work with XNET and INET too.
Rollback earlier engine fix which now seems incorrect to me.
2004-11-30 20:17:39 +00:00
alexpeshkoff
49aab40955 1. rewritten flu.cpp using modern firebird classes library
2. fixed diagnostic about missing/unusable UDF module
2004-11-29 11:15:09 +00:00
robocop
381ca2754b Misc. 2004-11-27 06:51:58 +00:00
skidder
55c4e0ac85 CLIENT_ADDRESS and NETWORK_PROTOCOL variables support 2004-11-26 01:01:27 +00:00
alexpeshkoff
f762abf547 applied fixes, suggested by Claudio
made get_options method of class DatabaseOptions
2004-11-25 16:09:12 +00:00
alexpeshkoff
bdd3b32278 use ClumpletReader to parse dpb options 2004-11-24 18:26:24 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
hvlad
d1e720d9cb GC policy config entry don't need to be case-sensitive 2004-11-11 10:17:16 +00:00
skidder
1e26d6c80d CURRENT_DATABASE implementation. Established identity may also be used for isc_info_db_id datum 2004-11-11 05:37:52 +00:00
skidder
1fa9ec81c7 Use case-sensitive comparisons for GC policy configuration entires. stricmp does not exist on Linux. 2004-11-10 23:02:31 +00:00
robocop
cf0c42f971 Misc. 2004-11-10 05:19:20 +00:00
hvlad
aba34753cb Add config file parameter for the garbage collection policy 2004-11-09 12:59:37 +00:00
robocop
e2ed110d8c Misc. 2004-11-08 08:01:26 +00:00
alexpeshkoff
3bd02ee852 security fix
1. Use SHA1 hash instead of ENC_crypt.
2. Disable any remote (non-embedded) access to security.fdb.
3. Use services in gsec and isc_*_user() fucntions.
    In gsec switch -database replaced with -server.
4. Protect from attempts to brut-force accounts/passwords.
2004-11-07 14:50:53 +00:00
robocop
e5be73b048 Misc: extra semicolons do not help. :-) 2004-11-07 10:47:20 +00:00
dimitr
feb6b7e006 Replaced non-centralized datetime management with a new class. 2004-10-30 19:41:54 +00:00
robocop
202f9ab5db Misc. 2004-10-28 05:23:16 +00:00
skidder
b29f8356c5 Implement routines for convenient dumping of memory pools under debugger 2004-10-25 05:14:12 +00:00
skidder
02a0915156 Teach engine to work with larger record numbers - 64-bit internally, 40-bit externally 2004-09-28 06:28:38 +00:00
robocop
7dcb66a250 When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +00:00
alexpeshkoff
388503229c fixed problems with DatabseAccess verification during Create Database 2004-09-07 07:03:25 +00:00
alexpeshkoff
c3db4aaa97 added (and used in sources) template to change and restore default pool 2004-08-30 18:11:08 +00:00
alexpeshkoff
31039a254e next step preparing to allocate auto objects memory from appropriate pool 2004-08-16 12:28:43 +00:00
robocop
53c645ce82 Temporary fix for first problem reported by Adriano dos Santos Fernandes.
Server should continue working normally if gbak tries to restore a db in a forbidden path.
Now mutex is unlocked and server can continue working. However, engine doesn't unload the db so it still thinks there's an active connection.
The proper fix should come from Alex, that probably involves throwing an exception to activate the code inside the catch() section.
2004-07-30 05:56:35 +00:00
skidder
8f0cf89afb Correct problems with single-user maintenance mode (note it is used for GBAK restore process now) 2004-06-12 01:06:05 +00:00
alexpeshkoff
1591a54e5e Thread cleanup:
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
robocop
1332d98618 Literal strings should be treated as const char* 2004-06-05 09:37:18 +00:00
alexpeshkoff
9a34ce553c make bool (isEmpty/hasData) checks for string and stack safe 2004-05-27 16:26:52 +00:00
brodsom
64c1dee04e -Use C++ struct declaration style. 2004-05-24 17:31:47 +00:00
brodsom
75a0483d75 -Comment some common.h unused macros
-Replace VA_START macro with va_start function (it was already some places where it is not used)
2004-05-23 23:28:06 +00:00
brodsom
bed146ad19 -Replace *_thread_data macros with inline functions (jrd step 2) 2004-05-23 03:18:10 +00:00
brodsom
f4ca41fa3d -Replace *_thread_data macros with inline functions (jrd step 1) 2004-05-22 14:28:54 +00:00