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
brodsom
372c3de67d
-Replace & remove unneeded threading macro in jrd.h
...
-Move more threading selection to firebird.h
-Replace POSIX_THREADS with USE_POSIX_THREADS
2004-05-22 02:11:56 +00:00
brodsom
68cb86b274
- Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
...
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
b76a60e8b7
Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build)
2004-05-17 22:30:09 +00:00
brodsom
ee34db7e20
Macro cleaning (THREAD_*)
2004-05-15 00:58:46 +00:00
brodsom
9dbe1e64fe
-Remove casts unneeded after macro cleaning
2004-05-14 18:43:34 +00:00
robocop
802f244ec1
Misc changes
2004-05-09 05:48:33 +00:00
skidder
a8ebb7be3d
Apply lock handler fix to the case when multiple attachments are used inside Classic process. This is unusual, but possible case. Fix seems to be safe, but this is one of the most complex and sensitive parts of the engine
2004-05-08 02:57:06 +00:00
brodsom
ce7a5ced08
-Macro cleaning
2004-05-06 22:11:24 +00:00
brodsom
62a4b10c22
-Replace define with const
...
-Remove ifdef cplusplus from internal code
-Remove unused macros
2004-05-06 18:09:24 +00:00
brodsom
80b424e346
-Replace define with const
...
-Move SYS_ERR, ERRNO, H_ERRNO and INET_ERRNO(ERRNO in inet.cpp) macros to common.h
-Remove unused macros
2004-05-05 21:55:13 +00:00