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

925 Commits

Author SHA1 Message Date
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