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

227 Commits

Author SHA1 Message Date
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
hvlad
9d6b361f69 Eliminate unnecessary JRD_get_thread_data call in nbak.
Checked against B2_0_BV_Stable3 branch
2005-11-21 23:33:20 +00:00
robocop
2e49ce85c9 Misc. 2005-10-14 04:12:36 +00:00
alexpeshkoff
46dd9a90d6 1. reanimated -database switch in gsec\n 2. isc_file.cpp should now compile at AIX\n 3.Use PathName to store database name in jrd.cpp during attach/create 2005-09-30 16:16:39 +00:00
asfernandes
13910d5c73 Fix issue of SQLVAR.sqllen from non-system MBCS fields, thanks to Roman 2005-09-14 18:09:40 +00:00
alexpeshkoff
e832cd2c68 fixed BOFs in PIO functions 2005-09-08 16:41:56 +00:00
asfernandes
0b1eb55d62 Fixed SF field-test #1249187 - 2.0a3: String literals dest. for large CHAR fields truncated 2005-08-21 15:52:30 +00:00
dimitr
92415ce39f Fixed a bugcheck (and possibly an engine crash) during server shutdown.
Force a TIP based rollback instead of using a transaction-level savepoint in this case.
2005-07-25 05:03:26 +00:00
dimitr
0af3a3f462 Fixed one of the server shutdown bugs. More to come. 2005-07-24 18:48:45 +00:00
dimitr
c4ff5cf6b8 Expanded the routine comment. 2005-06-25 09:34:59 +00:00
dimitr
0ce1d52f3e Slightly changed (mostly cleaned up and fixed) the SS shutdown mechanics. 2005-06-24 11:14:51 +00:00
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