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

217 Commits

Author SHA1 Message Date
alexpeshkoff
b2da448e8c Fixed problems, noticed by Claudio and Adriano 2010-05-17 10:01:34 +00:00
alexpeshkoff
965b851b77 Fixed CORE-2984: gbak -v srv:db stdout creates a broken backup 2010-05-06 13:42:20 +00:00
dimitr
9774b2ce29 Correction. 2010-04-18 00:36:30 +00:00
asfernandes
6aaede8bd3 Fixed CORE-2898 - CHAR_TO_UUID and UUID_TO_CHAR works different in big/little endian architectures 2010-03-05 01:18:55 +00:00
alexpeshkoff
e5017f1a12 Extend format of firebird configuration file with a set of additional parameters for any parameter.
Use traditional firebird configuration files format in all places (intl, trace, etc.).
Add per-database configuration facility to aliases.conf (currently 15 parameters from firebird.conf).
2010-02-28 18:00:51 +00:00
asfernandes
7937d6d0e2 Misc 2010-02-13 20:01:12 +00:00
robocop
02c7dcdbf8 Misc. 2010-02-13 08:26:23 +00:00
dimitr
aa973c04bc Added more statictics to the GSTAT output. Still work in progress. 2010-02-11 07:12:49 +00:00
dimitr
7358c86db7 Correction. 2010-01-26 10:09:59 +00:00
asfernandes
0057047932 Misc 2009-12-30 00:50:39 +00:00
robocop
fc62cfe6e7 Misc. 2009-12-28 11:46:55 +00:00
hvlad
fde013f1a0 More detailed statistics : fragments, big records and blobs info are now available when records analisys is performed. 2009-12-28 09:34:18 +00:00
alexpeshkoff
b3ff195a64 Cleanup - two flags are always set to true starting with ODS > 10 2009-12-22 10:30:49 +00:00
hvlad
a2af0c8e9e ODS change : implemented SCN inventory pages to make diffrential backup faster not reading pages which was not changed since previous backup.
Corresponding nbackup and validation code changes also done.
PAG code refactored a bit.
2009-12-20 23:13:01 +00:00
alexpeshkoff
4f249d5269 Frontported - fixed delivery of status vector from service thread 2009-12-18 12:42:26 +00:00
hvlad
559494bfd3 A couple of ODS changes :
- abandon page checksums and use page number for validation
- PIP have now pip_used field to track number of allocated pages
- two more flag bits per data page is now reserved on pointer page. One is for the swept flag and second is still not used but makes calculations easy
- misc changes
Don't forget to rebuild your DBs !
2009-12-14 09:46:16 +00:00
robocop
409ab220b0 - Eliminate the LOG page.
- Eliminate the useless bumped transaction
- Close the gaps in flags related to indices (btr_* in ods.h)
- Close the gaps in header page clumplets types (HDR_* in ods.h)
- Close the gaps in header page flags (hdr_* in ods.h)
Please do a full rebuild.
2009-11-28 08:04:04 +00:00
robocop
9834b32286 Get rid of obsolete field for replay logging. 2009-11-20 11:29:47 +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
8bfa0a37a2 Feature CORE-1952: deprecate Implementation IDs, easing new ports; ODS change - BOOT build needed 2009-11-13 18:29:06 +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
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
robocop
6bf88e472a Style. 2009-06-23 14:45:39 +00:00
robocop
2a8bb95ff4 CORE-1411 and CORE-1412. 2009-06-23 14:45:20 +00:00
robocop
10c08b5c2c Style. 2009-06-22 08:55:54 +00:00
hvlad
b0d1a53c8c Fixed bug CORE-2519 : GSTAT output is incorrect for tables with more than 2 billion records 2009-06-21 16:41:33 +00:00
robocop
913ded5189 in_sw_tab_t data member in_sw_state is bool. 2009-06-07 10:13:57 +00:00
asfernandes
b8c3b0dda6 Misc 2009-05-27 01:36:00 +00:00
robocop
c7b74a3144 Style. 2009-05-24 05:24:59 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
hvlad
b67dc6586e Let gstat service detect engine shutdown and stop its work 2009-02-24 10:06:11 +00:00
robocop
096d8e78e6 Trying to be more consistent in the detection of headers (HAVE_* macros). 2009-02-08 11:38:00 +00:00
asfernandes
f532f6975e Misc 2009-01-21 15:42:45 +00:00
robocop
f61e25af15 Style. 2009-01-18 11:29:24 +00:00
robocop
fda9c3bc75 Style. 2009-01-05 08:22:58 +00:00
robocop
7aa0ac1cd4 Shut up compiler warnings (unreferenced vars, uninitialized vars, etc). 2008-12-31 09:36:57 +00:00
robocop
d11c994960 Style. 2008-12-31 05:06:08 +00:00
asfernandes
582d837778 Remove trailing spaces from epp files - I had forgot them 2008-12-20 23:50:22 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
asfernandes
744e83f240 Misc 2008-12-03 01:05:53 +00:00
alexpeshkoff
9431183e42 Implemented CORE-1667: Reading password from file/stdin 2008-11-30 17:11:56 +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
44511acf29 Avoid duplicate Service::finish() call - thanks to Roman Simakov 2008-06-26 10:58:35 +00:00
robocop
255f413540 Gstat doesn't need to alter its switches table (thanks Vlad for confirmation). 2008-06-12 09:03:55 +00:00
asfernandes
84603f1169 Misc 2008-05-25 01:39:16 +00:00
robocop
a84cc0ec05 Cleanup. 2008-05-23 13:27:47 +00:00
robocop
5777ff76fa More VC6 cleanup. 2008-05-14 13:11:41 +00:00
robocop
1cdd4e4126 Clean the sources from VC6 hacks. 2008-05-14 05:17:53 +00:00
alexpeshkoff
7ff8e4d2be Fixed CORE-1879: Server uses wrong authentication method 2008-05-04 13:38:02 +00:00
asfernandes
e18ac3cb53 Misc 2008-04-24 01:53:40 +00:00
robocop
888c5d539f Cleanup. 2008-04-22 13:01:18 +00:00
robocop
05271261e1 Style. 2008-04-19 11:11:10 +00:00
alexpeshkoff
e3d7732078 Fix for CORE-1805: do not let svc_status blink during utility operation, instead copy it at service exit time 2008-04-07 10:52:34 +00:00
asfernandes
f0299cfb29 Misc 2008-04-03 01:11:26 +00:00
alexpeshkoff
aafed20fe1 Fixed problems with shutting down actively running engine - related with CORE-1805. 2008-04-02 14:26:17 +00:00
dimitr
13f5cc92e1 Major cleanup of the old-style blk and allocator-based blk_type. 2008-03-19 16:09:00 +00:00
robocop
83dc6bde8f Constness 2008-02-02 17:07:37 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
f25819fb19 The merge continued. 2008-01-16 07:55:28 +00:00
robocop
2d2b8cf718 Misc. 2007-11-17 10:18:10 +00:00
asfernandes
54b36766c0 Misc 2007-11-17 00:38:16 +00:00
paulbeach
7602a29b94 HPUX Port 2007-11-12 14:26:44 +00:00
dimitr
bc7145e622 Fixed CORE-1398, CORE-1399, CORE-1400. 2007-08-03 05:21:53 +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
alexpeshkoff
d63491e3c5 Finished gcc-warnings cleanup 2007-04-11 16:05:40 +00:00
robocop
22decb76f7 Misc. 2007-04-10 10:04:00 +00:00
alexpeshkoff
1932c8f4e7 added switch -trusted to most of firebird utilities 2007-04-07 08:47:58 +00:00
robocop
e71a03261c This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash. 2007-03-28 04:20:36 +00:00
robocop
87c9f2bcc4 Apply solution for CORE-1129. Thanks to Bill Oliver.
I didn't change install_reg, install_svc and fbcpl's fbdialog.
2007-02-15 10:35:09 +00:00
asfernandes
e2b5f28f5f Misc 2007-02-11 16:57:19 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
dimitr
6c3b5555be Fixed CORE-959. This is a hack, but hopefully a better one than in v1.5. 2006-12-06 18:24:12 +00:00
alexpeshkoff
028ab3c597 fixed AV related with SVC_TRMNTR in services 2006-07-27 14:24:09 +00:00
robocop
ae51945b18 Misc. 2006-05-20 03:31:05 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
robocop
1f84bac700 Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc. 2006-02-23 05:08:26 +00:00
hvlad
73dcebc962 Replace "../jrd/jrd_time.h" with "../common/classes/timestamp.h" 2006-02-03 13:13:27 +00:00
robocop
f86bdc14b4 I want to continue compiling FB2 successfully with my tools, if you don't object.
:-)
2006-01-25 07:04:13 +00:00
hvlad
46d9ffb4bf 1. Add isc_dpb_no_garbage_collect to gfix attachment to not force a sweep
2. Fix unregistered bug - wrong statistics if relation\index data is longer than 2^32 bytes length
3. Fix unregistered bug - average index key length rounded to integer value
2006-01-21 15:30:02 +00:00
alexpeshkoff
d1ee840d60 fixed gcc warning(s) 2006-01-16 16:49:15 +00:00
robocop
b3823f7597 Gstat should display the Win32 error text, not the error code in English versions. 2005-12-17 02:26:40 +00:00
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
robocop
8f082b0532 Gstat will have problems if it has to seek to a db page beyond 4GB from BOF, because we detect a problem that didn't happen. I put the check that appears in my old VC6 MSDN examples and that matches Vulcan's logic. 2005-09-26 08:43:49 +00:00
dimitr
6430c7ac10 Moved the ODS checking routine from ods.h to a separate module. 2005-08-16 13:39:26 +00:00
dimitr
7a343b8162 Moved the Services API into the engine on threadable platforms. 2005-08-10 14:47:42 +00:00
robocop
6c89683142 Totally misc. 2005-07-31 00:45:38 +00:00
dimitr
cd20fb8b39 Fixed ODS decoding in GSTAT. 2005-06-27 18:36:29 +00:00
dimitr
668907912f Changed the ODS encoding, messaging and protection rules. 2005-06-26 16:11:59 +00:00
robocop
3c4e69f196 Replace legacy isc_(encode/decode)_date by isc_(encode/decode)_timestamp. 2005-05-03 04:11:57 +00:00
robocop
7817290a56 Forget the log: it belongs to one of the merry friends WAL and JOURNAL that we deprecated and deleted for v2. 2005-01-03 08:16:18 +00:00
robocop
24742873ad fb_string.h is moved to common/classes. 2004-12-17 05:41:47 +00:00
robocop
12aa83a573 Local variable overrode global, useless variable. 2004-12-16 03:05:14 +00:00
alexpeshkoff
387e678cca applied Clumplet* classes to dpb where possible 2004-12-09 19:19:47 +00:00
robocop
af6a16107a Misc. 2004-11-30 06:18:39 +00:00
robocop
bb170bd3b6 isc_interpret is fb_interpret again.
Please do a full rebuild.
2004-11-28 01:03:05 +00:00
skidder
3e26513b38 fb_interpret->isc_interpet, deprecate isc_interpete, clean interface a little bit 2004-10-25 03:53:03 +00:00
robocop
31ba754981 After talking to Ann, decided to disable several items:
- obsolete items like WAL and JOURNAL (cleaned in the past)
- crud from attempts never finished like the shared cache manager for Classic
- DSQL nodes that aren't used. This allowed freeing some keywords.
The functionality was disabled by commenting the code. No code has been deleted.
2004-10-03 04:49:04 +00:00