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

1029 Commits

Author SHA1 Message Date
hvlad
39ab4e7aa9 Frontported improvement CORE-3413 : Improve diagnostics of internal trace errors 2011-03-28 14:54:32 +00:00
asfernandes
146448b877 Misc 2011-03-06 01:06:36 +00:00
alexpeshkoff
7c8bacb692 Detect forced unload of plugin by OS when process is exited 2011-03-04 15:49:37 +00:00
hvlad
0bd7d05e71 Follow Alex changes 2011-03-02 23:42:58 +00:00
alexpeshkoff
0a7c3fc69d Fixed CORE-3369: first step to make it possible to specify non-default security database for specific database 2011-03-02 13:42:56 +00:00
asfernandes
8ee5d6965e Warnings 2011-02-09 21:25:46 +00:00
hvlad
a3302e4e57 Improvement CORE-3324 : ftracemgr should flush its output from time to time 2011-02-02 11:37:39 +00:00
hvlad
dca44e309d Make it compiles on Windows after Alex's changes. MSVC10 build will follow later. 2011-01-24 12:51:32 +00:00
asfernandes
ffb28dfc3d Misc 2011-01-22 17:15:52 +00:00
alexpeshkoff
f89ac854ef Getting ready to use 32 (not 31) page and transaction numbers 2011-01-21 17:55:04 +00:00
alexpeshkoff
511daaca67 warnings 2011-01-21 16:43:49 +00:00
alexpeshkoff
2cf062e317 Front-ported fix for CORE-3297: nbackup exits without info when firebird.conf is missing. Make all utilities run without firebird.conf - only server requires it's presence. 2011-01-19 17:24:49 +00:00
alexpeshkoff
ddaddccb97 Fixed bug, found by Adriano - destructor of statically allocated factory should better never be called 2011-01-17 12:17:24 +00:00
asfernandes
233093cee4 Misc 2011-01-16 02:16:15 +00:00
alexpeshkoff
d6fcde387b New plugin manager. Use it for all types of plugins. 2011-01-14 17:31:40 +00:00
asfernandes
c9ec26c0c3 Feature CORE-726 - Boolean data type 2010-12-18 02:17:06 +00:00
alexpeshkoff
56cffa651b Damyan's patch to enable changing firebird.log filename 2010-11-10 12:43:56 +00:00
alexpeshkoff
54105945cd Fixed fbguard - thanks to Damyan 2010-10-22 13:10:47 +00:00
hvlad
daaaa9609c Misc 2010-10-21 11:46:15 +00:00
hvlad
df8a6a2ff7 Corrections for new build system. Work in progress... 2010-10-20 22:00:34 +00:00
asfernandes
7b652bcb9a Misc 2010-10-15 01:55:57 +00:00
alexpeshkoff
1f79aca466 Frontported fix for CORE-3116: gsec outputs list of users to stderr instead stdout 2010-10-14 11:39:44 +00:00
alexpeshkoff
e82bdb3516 Frontported fix for CORE-3143: Segmentation fault may occur when user interrupts gstat 2010-10-14 11:14:30 +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
6bc78376a5 Forgotten changes 2010-10-12 09:35:39 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
hvlad
905427aff7 Fixed bug CORE-3168: exclude_filter doesn't work for <services></section> section of the Trace facility 2010-10-07 16:10:37 +00:00
asfernandes
2227426f2e Sub-task CORE-3147 - Fix SUBSTRING(SIMILAR) in regard to initial and final shortest matching specified in the standard 2010-10-03 00:50:17 +00:00
asfernandes
2cbc4e3675 Misc 2010-07-24 02:43:28 +00:00
alexpeshkoff
d24cd9cbd7 Implemented self-registering plugins format (same plugin can be easily linked statically
or as dynamic library, depending upon platform requirements). Self-registering plugins
need not export any functions, instead they call fb_register_plugin() on startup.

Reworked all user management to use self-registering plugins.

Removed system table RDB$USERS. PLG$USERS is not created automatically by plugin, but
will be later (work in progress).
2010-07-23 12:04:18 +00:00
alexpeshkoff
589ad6e5b8 Fixed gcc warning - No newline at end of file 2010-07-22 09:36:15 +00:00
asfernandes
2c51032b1e Misc 2010-07-15 00:47:24 +00:00
dimitr
943faa01d7 Misc. 2010-07-13 10:31:58 +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
6cbefa1f46 Introduced class SharedMemory - base class for everything, using IPC. Related to CORE-3035. 2010-06-25 11:55:11 +00:00
hvlad
d2a886930d Corrections for index stats 2010-05-21 08:19:00 +00:00
hvlad
ee2be8aca8 Improvement CORE-3008 : Add attachment's CHARACTER SET name into corresponding trace records 2010-05-19 16:25:50 +00:00
hvlad
335e3ad769 Fixed bug CORE-2981 : Error in Trace plugin (use local symbols in query) 2010-05-19 07:33:15 +00:00
hvlad
a2eed872f0 Fixed invalid output of index stats in 32-bit builds 2010-05-19 07:25:13 +00:00
alexpeshkoff
a54c08f97a Fixed distribution output 2010-05-17 13:28:50 +00:00
alexpeshkoff
9585fb58d0 misc 2010-05-17 13:10:26 +00:00
alexpeshkoff
b03e2fd97c Fixed CORE-3000: Error on delete user "ADMIN" 2010-05-17 10:11:39 +00:00
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
alexpeshkoff
8b4d53703d Cleaned isc_dpb_sys_user_name and related things 2010-04-21 12:55:43 +00:00
dimitr
9774b2ce29 Correction. 2010-04-18 00:36:30 +00:00
asfernandes
68e67d1453 Misc 2010-03-30 00:25:52 +00:00
robocop
351dc8a19c Misc. 2010-03-28 03:47:26 +00:00
hvlad
b8bffbdbe2 Frontport more fixes for bug CORE-2934 : Memory leak in FB2.5 trace plugin 2010-03-27 20:06:31 +00:00
asfernandes
11a3746970 Misc 2010-03-25 02:10:57 +00:00
hvlad
26faad378b Fixed bug CORE-2934 : Memory leak in FB2.5 trace plugin 2010-03-24 13:12:31 +00:00
hvlad
9685411cbd Fixed bug CORE-2940 : Trace output could contain garbage data left from filtered out statements 2010-03-23 20:06:25 +00:00
alexpeshkoff
bbc3b37116 Fixed CORE-2928: Buffer overflow in gsec 2010-03-17 09:55:06 +00:00
asfernandes
2b788805ab Simplificate the pattern matchers templates 2010-03-14 20:58:50 +00:00
robocop
be3660d221 Misc. 2010-03-07 04:30:35 +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
e344287aa0 Make all configuration files case-sensitive 2010-03-04 12:52:01 +00:00
asfernandes
06e6e0531b Misc 2010-03-04 02:16:55 +00:00
alexpeshkoff
8f1ef6517d false/true are also recognized with new format - restored them in sample file 2010-03-02 14:09:22 +00:00
asfernandes
77a2706b73 Misc 2010-03-01 02:14:36 +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
4f9b9161b4 Feature CORE-2006 - SUBSTRING with regular expression (SIMILAR TO) capability 2010-02-21 01:47:54 +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
asfernandes
281d382185 Misc 2010-02-06 01:32:53 +00:00
alexpeshkoff
49a4e3fb88 Frontported fix for freebsd and related OSs, including CORE-2825 2010-02-04 16:05:08 +00:00
hvlad
7d01039c87 Improvement CORE-2821 : Add indication about log size limit for trace API 2010-02-01 10:37:49 +00:00
dimitr
7358c86db7 Correction. 2010-01-26 10:09:59 +00:00
robocop
1d87d749f0 Misc. 2010-01-26 08:20:27 +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
asfernandes
0057047932 Misc 2009-12-30 00:50:39 +00:00
dimitr
1c89567357 Support the -D switch on Windows. 2009-12-29 10:54:08 +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
hvlad
1aeb2b90ea Better name for FIRST_SCN_PAGE constant 2009-12-28 09:08:32 +00:00
asfernandes
e2171a1d67 Fix Linux SS build 2009-12-25 00:13:46 +00:00
robocop
6e2ea898dc I copied this code from another place, but I'm not sure how to proceed in case of errors. 2009-12-24 11:49:15 +00:00
asfernandes
2d62037b2a Misc 2009-12-23 21:43:37 +00:00
alexpeshkoff
b3ff195a64 Cleanup - two flags are always set to true starting with ODS > 10 2009-12-22 10:30:49 +00:00
asfernandes
dd6331f002 Some fixes; Misc. 2009-12-22 00:08:49 +00:00
alexpeshkoff
0b0650370a Fixed error reporting in nbackup 2009-12-21 11:58:29 +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
robocop
8e5d0e1f0a Trying to reflect better what nbackup options do. 2009-12-19 09:17:02 +00:00
alexpeshkoff
24bd207732 Enhanced fbsvcmgr usage print - list all known switches if -? is specified 2009-12-18 16:34:01 +00:00
alexpeshkoff
3d7a990876 Frontported detection of missing/invalid parameter in fbsvcmgr 2009-12-18 14:15:26 +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
robocop
21d04cce26 Correction. 2009-12-17 10:45:19 +00:00
robocop
a30ae25df0 Misc. 2009-12-17 10:44:32 +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
a2b325bf63 It was bad idea to try to make fbsvcmgr more intellectual than it should be - rolled back part of my changes 2009-12-16 12:34:17 +00:00
alexpeshkoff
bf962923ae Fixed an issue with gsec compatibility with previous versions 2009-12-16 11:45:28 +00:00
alexpeshkoff
3b95a6b5b4 Fixed an issue with gsec compatibility with previous versions 2009-12-16 11:25:50 +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
139b2652df Comments. 2009-12-04 08:30:26 +00:00
robocop
d713a7d896 Misc. 2009-12-03 03:37:18 +00:00
asfernandes
7d52a84520 Misc 2009-12-02 00:35:55 +00:00
hvlad
950bcd8809 Implement improvement CORE-2767 : Add ability to the trace plugin to configure traced services events on per-service name basis 2009-12-01 14:45:36 +00:00
alexpeshkoff
ee5a1fba50 Fixed CORE-2779: User list header is displayed at the end of each returning data call to fbsvcmgr 2009-12-01 12:01:27 +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
asfernandes
3f5aded4e3 Misc 2009-11-28 01:44:42 +00:00
alexpeshkoff
20ed6c6d22 Fixed use of fbtrace with any ICU version 2009-11-26 16:46:19 +00:00
robocop
3b333371ef Warnings. 2009-11-25 08:38:12 +00:00
robocop
9834b32286 Get rid of obsolete field for replay logging. 2009-11-20 11:29:47 +00:00
hvlad
9e4b2fd1fa Correction of example 2009-11-16 14:32:19 +00:00
robocop
f7957e6910 Totally misc. 2009-11-16 09:03:49 +00:00
robocop
1386adcf90 Style. 2009-11-16 08:06:31 +00:00
asfernandes
aa254c0e64 Misc 2009-11-16 01:20:35 +00:00
alexpeshkoff
2910384ebe additions for CORE-2748 2009-11-15 13:09:40 +00:00
robocop
6f0d002188 Misc. 2009-11-14 09:19:45 +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
robocop
55d60892ca Warnings. 2009-11-05 08:29:33 +00:00
dimitr
38edeee1ce Fixed regression for test "bugs.core_1076" introduced by some cleanup.
User first/middle/last names have nothing to do with SQL identifiers and their length is limited by 32 characters.
2009-10-05 14:29:39 +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
hvlad
70c4a4e7e9 Catch AdminException and re-throw known for us Firebird::Exception descendant 2009-10-02 13:20:51 +00:00
alexpeshkoff
ecbf4312a1 Implemented CORE-2644: Make lock table expandable on HPUX 2009-09-28 16:03:44 +00:00
asfernandes
d4e407cb3f Misc 2009-09-24 02:11:10 +00:00
hvlad
deb6f181d5 Better error diagnostics for trace configuration. 2009-09-23 22:10:24 +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
robocop
43962281d4 Misc and isolate the win9x code even more. 2009-09-02 04:23:02 +00:00
alexpeshkoff
9629eafccd Use per-thread circular strings buffers instead common and per-attachment combination 2009-09-01 09:20:24 +00:00
skidder
aca5a83a46 Fixed CORE-2609: Update support for Windows 98/ME and NT4.0 2009-08-30 19:00:46 +00:00
asfernandes
f4bfb5dbb3 Style of new/changed code; usage of static; misc 2009-08-30 03:04:34 +00:00
skidder
2b9fa8cf4e Support for filesystem cache size management needed to work with large databases on modern Windows hosts (64-bit - starting with XP, 32-bit - starting with Vista) 2009-08-29 19:55:23 +00:00
robocop
3a2cad793b Comment unused enum. 2009-08-20 06:11:51 +00:00
robocop
8ce0cf3e79 Style. 2009-08-16 05:25:30 +00:00
robocop
20e0801fe4 Misc. 2009-08-15 11:52:36 +00:00
robocop
ee40c31cb7 Comments. 2009-08-15 11:46:48 +00:00
hvlad
291d0524a1 Fixed wrong variable usage : varibale "p" changed its value in loop and no longer points to the end of send buffer 2009-07-29 08:54:34 +00:00
asfernandes
6377356940 Misc 2009-07-23 00:56:28 +00:00
robocop
8cb338c96d Misc. 2009-07-21 09:46:11 +00:00
alexpeshkoff
4506ae61bc Solaris 9 patch from SAS 2009-07-21 08:58:28 +00:00
dimitr
8575424454 Fixed the service restart option issue reported by Gabor Boros in fb-devel. 2009-07-20 19:20:31 +00:00
robocop
00b3876180 Switches changed to SvcSwitches to allow code that resembles other utilities (needed also for impending commit after 2.5). 2009-07-18 12:13:21 +00:00
robocop
cfb9403481 Warnings. 2009-07-17 09:06:03 +00:00
asfernandes
5063bafc36 Misc 2009-07-15 03:13:16 +00:00
alexpeshkoff
fe4aec8a12 Fixed CORE-2550: Bus error when working with DB_KEY on bigendian machines. Introduced dtype_dbkey inside engine. 2009-07-09 14:04:42 +00:00
robocop
934e627305 Style. 2009-07-08 01:16:25 +00:00
robocop
ba89580753 CORE 2540: Utilities need a more coherent way to show help and version
Now all utilities react to -z for version and -? for help (qli was left for another time)
CORE-2541: Too many hardcoded messages in nbackup (done partially)
2009-07-07 10:25:50 +00:00
asfernandes
8ddb32bda3 Misc 2009-07-04 23:06:05 +00:00
robocop
762701021c Misc. 2009-07-03 14:11:13 +00:00
robocop
2c3ed40674 Style. 2009-07-03 12:59:55 +00:00
robocop
f7bf07d9be Style. 2009-07-03 11:02:17 +00:00
robocop
32fa446bbb Style. 2009-07-03 10:57:17 +00:00
robocop
c7cf42720a Style. 2009-07-03 10:44:55 +00:00
robocop
67c4d03965 Style. 2009-06-28 11:59:30 +00:00
robocop
17386d0b04 Avoid variableshadowing. 2009-06-27 06:57:34 +00:00
asfernandes
5dda9c1677 Misc 2009-06-27 03:03:56 +00:00
robocop
2766f8866f Misc. 2009-06-26 04:11:56 +00:00
hvlad
0c45db9a1e Replace hard-coded array with isc_info_svc_timeout by correct endianess code.
Make service poll loop correctly terminate on Ctrl+C pressed by user.
2009-06-25 22:33:17 +00:00
robocop
56671546e3 CORE-756 and CORE-2528. 2009-06-25 10:05:27 +00:00
asfernandes
097b0ca2c2 Misc 2009-06-25 02:29:13 +00:00
hvlad
9ba34ee2cc New feature 2524 : Command line utility to work with Trace Service
Source code
2009-06-24 13:05:51 +00:00
robocop
72293a7f69 Style. 2009-06-24 12:11:17 +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
asfernandes
dfec954860 Revert this change. HEAD was fine. 2009-06-19 14:38:23 +00:00
paulbeach
6c773c109d O_DIRECT and MacOSX problem (lack of) - better ifdefs (I hope) 2009-06-19 14:14:31 +00:00
paulbeach
fa6e39de52 O_DIRECT and MacOSX problem (lack of) 2009-06-19 13:04:30 +00:00
asfernandes
78f400fc5b Misc 2009-06-09 00:56:58 +00:00
robocop
b4a695a031 Misc. 2009-06-08 12:15:19 +00:00
robocop
913ded5189 in_sw_tab_t data member in_sw_state is bool. 2009-06-07 10:13:57 +00:00
robocop
2e3ce0d23d Misc. 2009-06-07 09:49:58 +00:00
asfernandes
f8eb935eb7 Misc 2009-06-06 18:13:57 +00:00
robocop
68f44cb6a6 Misc. 2009-06-02 09:18:59 +00:00
robocop
51d3c9b756 Let's use more typical #ifdef to test macros instead o #if. 2009-05-29 11:27:41 +00:00
asfernandes
b8c3b0dda6 Misc 2009-05-27 01:36:00 +00:00
asfernandes
2cafed53f7 Fix AV in trace when UNICODE collation is not found - thanks to Alex 2009-05-27 00:09:52 +00:00
robocop
9c79a67883 Style. 2009-05-25 07:32:39 +00:00
robocop
c7b74a3144 Style. 2009-05-24 05:24:59 +00:00
asfernandes
8595742987 Misc 2009-05-20 00:45:45 +00:00
robocop
4bae43779f Some #if should be #ifdef instead. 2009-05-17 11:25:50 +00:00
robocop
4d468895ea Misc & style. 2009-05-17 11:20:43 +00:00
alexpeshkoff
e6cf9a69be Fixed bug, reported by Dmitry privately - in isc_sync per attachment buffer can not be used for strings 2009-05-08 08:36:18 +00:00
robocop
4120f2c768 More constants instead of hardcoded numbers. 2009-05-06 09:18:21 +00:00
alexpeshkoff
cef41b3286 1. Solaric/Sparc SunProCC port.
2. Cleanup SOLARIS_MT threading model.
2009-05-05 08:06:37 +00:00
asfernandes
38a2912669 Misc 2009-05-03 21:57:13 +00:00
robocop
8edd8a7cd9 Style and misc. 2009-05-03 14:19:35 +00:00
robocop
7a60a85ff9 Misc. 2009-05-03 14:09:40 +00:00
robocop
e5b226f7a7 More unused params; style. 2009-05-02 13:00:09 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
robocop
2d7cb94844 Unused params
Some BLR checks
2009-04-28 13:08:04 +00:00
alexpeshkoff
27cfaa8c45 Solaris port 2009-04-28 10:57:59 +00:00
robocop
6016b5b6c0 Misc. 2009-04-26 13:51:56 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
asfernandes
7be7979f3f Misc 2009-04-25 20:36:07 +00:00
robocop
679c73f358 Delete unused function params 2009-04-24 15:52:40 +00:00
alexpeshkoff
f4ac9d56b5 More posix_fadvise related improvements, misc 2009-04-23 11:07:17 +00:00
alexpeshkoff
af23324f8c posix_fadvise() does not return error code in errno 2009-04-22 06:59:26 +00:00
alexpeshkoff
25bd6e8ca5 Trivial replacement at utilities level for complete server-side function 2009-04-16 11:51:56 +00:00
robocop
1452ca21c1 Misc. 2009-04-15 06:40:17 +00:00
asfernandes
f87989041b Avoid temporary string creation - thanks to Claudio 2009-04-08 00:47:08 +00:00
asfernandes
da1eaae928 1) Improvement CORE-2404 - Match database names using correct INTL and platform rules for trace
2) Small INTL refactoration
2009-04-04 22:38:56 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
alexpeshkoff
35a6b10918 Removed debug print 2009-04-03 09:39:18 +00:00
hvlad
6082b218be Correct processing of escaped backslash when expanding logfile name pattern.
Bit better error message when regexp processing in trace config is failed.
2009-03-26 22:28:21 +00:00
asfernandes
38ac4ab183 Use SIMILAR TO regexp (with sed syntax for replacements) for trace config 2009-03-26 16:33:21 +00:00
hvlad
75e2751c50 Remove code already present in ISC_mutex_init, thanks to Adriano.
Remove some debugging code.
2009-03-13 13:41:08 +00:00
asfernandes
5f74beed6d Misc 2009-03-13 02:43:04 +00:00
asfernandes
a72750038a Do not use namespaces in header files 2009-03-13 02:35:47 +00:00
alexpeshkoff
816fa4d309 Fixed platforms that do not have O_NOATIME option 2009-03-12 12:04:41 +00:00
hvlad
829176bb0e Performance :
1. Replace FileObject by PluginLogWriter
2. Replace stack variable "line" by class member "record" to reduce need of memory re-allocation at every traced event.
2009-03-12 08:23:12 +00:00
hvlad
1c85ea4017 Implement more efficient and simple log writer for trace plugin 2009-03-12 08:16:34 +00:00
asfernandes
9234c4bf85 Misc 2009-03-07 03:09:48 +00:00
alexpeshkoff
a6e066505b Fixed CORE-2316: Throttling Nbackup on large databases 2009-03-06 17:56:05 +00:00
robocop
fab6a3a6cf Get rid of superflous parentheses. 2009-02-28 11:57:40 +00:00
robocop
2011fab246 Misc and comments. 2009-02-25 05:39:46 +00:00
hvlad
b67dc6586e Let gstat service detect engine shutdown and stop its work 2009-02-24 10:06:11 +00:00
asfernandes
edfdc10156 Use regex.h header of our extern/regex, and not the one from a completelly different POSIX system library 2009-02-21 22:09:04 +00:00
asfernandes
517f426392 Misc 2009-02-15 18:05:38 +00:00
robocop
67f9b3b656 Style (approx 100 columns per line as maximum). 2009-02-15 13:53:10 +00:00
robocop
5d92adab7b Let's better avoid the mutex taken forever when system_call_failed::raise is called and let its release be managed automatically. 2009-02-15 13:45:38 +00:00
asfernandes
f0de59cde9 Misc 2009-02-13 21:08:56 +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
67839aae66 Correction. 2009-02-13 08:11:31 +00:00
hvlad
a378308e1f Optimize a bit 2009-02-12 11:13:53 +00:00
hvlad
5dfb53a13d Try to show numeric parameters correctly 2009-02-11 21:48:48 +00:00
hvlad
1c573d9ff2 Misc 2009-02-11 14:02:26 +00:00
hvlad
6983baea22 Pass Firebird's root directory to the trace plugin with initialization info.
Allow to use relative and/or empty filenames as audit log file.
Ensure root directory ends with separator when it is used.
2009-02-11 11:36:49 +00:00
asfernandes
628eb5b557 Misc 2009-02-09 01:43:49 +00:00
robocop
096d8e78e6 Trying to be more consistent in the detection of headers (HAVE_* macros). 2009-02-08 11:38:00 +00:00
robocop
a18dc0519f Misc, style, fixing dangerous warnings, constness, etc. 2009-02-08 11:23:46 +00:00
dimitr
872a100b86 Fixed CORE-1923: "instsvc remove" returns 1 when succefully executed. 2009-02-07 19:36:18 +00:00
asfernandes
1f57b387a6 1) Replace usage of GetFileSize (trick error returning) by GetFileSizeEx - Vlad, please review if errors need to be thrown here.
2) Get rid of a numeric overflow
2009-02-05 14:23:59 +00:00
alexpeshkoff
0abb1c8fab AIX port - rem_addr is used in AIX's include files 2009-02-04 07:16:21 +00:00
alexpeshkoff
92c28bf93a make it compile on linux 2009-02-03 11:12:54 +00:00
hvlad
9d54b1a319 Avoid hardcoded numbers when nice named constant exist. 2009-02-02 22:57:05 +00:00
hvlad
bd735075ab fseek did not returned current position 2009-02-02 22:25:03 +00:00
alexpeshkoff
a8e3353145 Do not use exotic fgetpos() 2009-02-02 15:04:08 +00:00
asfernandes
cd6bd290a3 Misc 2009-02-02 13:59:24 +00:00
hvlad
0ac70bed5e Fixed few mistakes in printf formats. Use QUADFORMAT for numbers when applicable. 2009-02-02 09:01:42 +00:00
hvlad
2581247be0 Corrections 2009-02-02 08:21:47 +00:00
asfernandes
612c108e3e Misc 2009-02-02 03:35:52 +00:00
hvlad
130c67bf0f Trace plugin 2009-02-01 22:10:36 +00:00
hvlad
115602ff06 Trace services support 2009-02-01 22:10:12 +00:00
dimitr
1b3927b026 1) Globally named per-database shmem regions.
2) Slightly reworked monitoring internals.
3) Encapsulated the event manager, many internal changes there.
4) Various cleanup, etc.
2009-01-28 12:27:18 +00:00
asfernandes
f532f6975e Misc 2009-01-21 15:42:45 +00:00
robocop
f61e25af15 Style. 2009-01-18 11:29:24 +00:00
alexpeshkoff
fa5d7a8366 Use faster method to receive bytes from firebird.log 2009-01-16 15:07:34 +00:00