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

1018 Commits

Author SHA1 Message Date
hvlad
65a1f44442 Improvement CORE-4345: Ability to trace stored functions execution 2014-02-19 23:16:47 +00:00
alexpeshkoff
26b090c93b Added access to configuration interfaces from IMaster and support for getting configured directories 2014-02-12 11:20:55 +00:00
robocop
2810026363 Misc and warnings. 2013-12-29 00:35:50 +00:00
asfernandes
7bb6f550ee Misc. 2013-12-25 23:36:56 +00:00
alexpeshkoff
d0a916138f Fixed CORE-4298: fbsvcmgr doesn't recognise sts_record_versions and other sts switches 2013-12-19 13:48:17 +00:00
alexpeshkoff
64b4f89d43 Changed syntax of user definition operators according to discussion in devel
Added virtual table sec$user_attributes with parsed user's attributes
Implemented CORE-2004: Ability to alter user inactive/active
Implemented CORE-2063: Added CREATE OR ALTER USER operator
Implemented CORE-3931: Ability to set comment for the user
2013-12-17 14:20:25 +00:00
asfernandes
8e73b1cb28 Misc. 2013-12-14 23:59:55 +00:00
alexpeshkoff
40de1dabb0 Implemented CORE-4290: Extensible property support which can add properties (name-value pairs) to users 2013-12-06 17:10:10 +00:00
roman-simakov
366a58e3a7 Hope the last fix of nbackup host case insensitive cutting. Sorry. 2013-12-06 15:58:47 +00:00
roman-simakov
2c8a258ae5 Sorry. More correct fix for case insensitive mode. 2013-12-06 15:12:46 +00:00
roman-simakov
592c89dbea Make comparing of host name case-insensitive 2013-12-06 14:58:07 +00:00
roman-simakov
57d68d8c54 Ignoring port for localhost in nbackup. Added check for localhost and error message if non localhost provided. 2013-12-05 10:15:17 +00:00
asfernandes
9c9dd72977 Misc. 2013-11-24 03:21:11 +00:00
alexpeshkoff
d6297bebd4 Fixed some gcc warnings 2013-11-19 13:19:11 +00:00
alexpeshkoff
83db69c849 Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type. 2013-11-18 12:20:23 +00:00
alexpeshkoff
120b10a78a Implemented CORE-4263: Database linger 2013-11-14 16:16:24 +00:00
alexpeshkoff
5a054cca16 Fix found by Jim Starkey man-in-themiddle attack on ATTACH packet.
That packet may contain database name, command line for service and/or some other important and critical information.
To avoid such attack wire encryption is started before attaching database or service manager, right after connect.
Also should fix a number of issues found in Alpha1 regarding services attach.
2013-10-16 12:53:04 +00:00
alexpeshkoff
b84835d590 Fixed CORE-4163: Configuration fbtrace.conf contains syntax errors (make trace use native order of config file keys) 2013-09-18 16:03:43 +00:00
alexpeshkoff
5806aeb714 Comment 2013-09-18 16:01:18 +00:00
hvlad
b9f34c1b46 Fixed bug CORE-4225 : Server crashes when attempting to trace activity on database having a db-level trigger 2013-09-18 13:48:22 +00:00
alexpeshkoff
8999c92392 Make firebird use as default ICU present on the host 2013-07-29 13:00:23 +00:00
paul_reeves
71ac4c2f80 Fix for CORE-4020
Instantiate cpl applet methods with LPARAM instead of long.
2013-07-05 09:38:51 +00:00
alexpeshkoff
b813a35d33 Avoid adding incompatible info item to pure info requests 2013-06-24 08:36:46 +00:00
alexpeshkoff
b9a96911ca Avoid extra atomic operations when assigning pointer to the object with pre-incremented counter (like returned from the function) to reference-counted pointer holder 2013-04-17 11:16:06 +00:00
dimitr
3031034302 Moved ThreadData into the namespace + small cleanup. 2013-04-13 15:07:51 +00:00
alexpeshkoff
8780552b94 Added support for changing configuration (client and embedded) from API 2013-04-04 13:17:57 +00:00
alexpeshkoff
e4356e4b46 Added operator include to config files 2013-03-27 11:45:02 +00:00
alexpeshkoff
63e6eb01b5 Make gsec take into an account settings from firebird.conf 2012-12-29 10:53:24 +00:00
alexpeshkoff
c7454a49a5 Work in progress (committed due to SF upgrade). Checked only on SS.
1. Frontported fix for CORE-3935 and CORE-3993.
2. Added debugging support for mutexes and rwlocks in Vulcan style.
Unfortunately after last 'svn up' build asserts in JrdStatement:71.
2012-12-14 17:59:02 +00:00
hvlad
4875c235a7 Fixed Windows build after recent Alex's changes 2012-11-03 10:55:16 +00:00
alexpeshkoff
4ca6e669fe 1. Fixed CORE-3786: Firebird 2.5.1 Hangs on MacOSX 10.7 (Lion) on DB create after reboot.
2. Cleanup: avoid functional style in stuff exception.
2012-11-01 11:40:18 +00:00
alexpeshkoff
8a9c4e720c misc 2012-10-03 09:19:37 +00:00
hvlad
6b15cd96ec Missed include 2012-10-01 07:41:11 +00:00
hvlad
8f537e0d45 Fixed bug CORE-3934 : Value of log_sweep parameter in trace configuration is ignored by trace plugin (assumed always true) 2012-09-24 07:07:56 +00:00
dimitr
9f2a992078 Implemented:
CORE-2780: Include client library version and protocol version in mon$attachments
CORE-2187: Return the Hostname in mon$attachments
CORE-3779: Report OS user name in MON$ATTACHMENTS
+ some cleanup.
2012-09-12 07:45:51 +00:00
asfernandes
ba9f68d5d0 Misc. 2012-08-13 01:20:32 +00:00
hvlad
710205b599 Make consistent usage of CRT routines in windows builds (perror() not aware of Win32 errors).
Unify file IO API usage across POSIX\WIN32 platforms (use common read()\write() routines).
Avoid usage of (questionable) gbak code in other utility.
2012-08-12 21:10:01 +00:00
hvlad
9124f5e188 Front ported improvements
CORE-3656 : Support for sweep information in Trace API, and
CORE-2668 : Write note into log when automatic sweep is started
Also per-table stats is enabled at transaction level (see thread_db::bumpRelStats)
2012-08-02 08:55:21 +00:00
alexpeshkoff
3e80805d5d Removed debugging code 2012-07-16 10:40:43 +00:00
asfernandes
b31f4d9b94 Frontport UUID fixes (CORE-3238 and CORE-3887). 2012-07-11 01:56:37 +00:00
asfernandes
e600b93773 Misc. 2012-06-29 01:47:40 +00:00
alexpeshkoff
477e14a820 Implemented CORE-2666: Make it possible to use API to do remote backups/restores 2012-06-20 11:47:30 +00:00
alexpeshkoff
2c27cf6017 Frontported fix for CORE-3769: The message 'Unknown tag (4) in isc_svc_query() results' appears when fbtracemgr is interrupted by Ctrl-C 2012-06-04 16:53:56 +00:00
alexpeshkoff
2a01e4bcf9 Implemented CORE-3861: Make it possible to encrypt database
Also some cleanups, the most important are:                                                                                                                   
- meaningful ctor on Jrd::Lock, helping to avoid code dup                                                                                                     
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
hvlad
7a2aac632f Misc 2012-05-26 21:44:12 +00:00
asfernandes
07557dc297 Misc. 2012-05-26 18:05:56 +00:00
robocop
844b15bd13 Misc and style. 2012-05-20 10:00:52 +00:00
robocop
642d506cd9 Change txn numbers to unsigned and commit after Vlad's review. If the compile-time checks (to ensure enough room for the new txn type) are too ugly, they may be deleted. 2012-05-19 12:04:37 +00:00
hvlad
d78703c9ae Improvement CORE-3539 : TRACE: add ability for logging ERRORs that occur in runtime (lock conflicts, PK/UK/FK violations et al) 2012-05-15 07:56:24 +00:00
asfernandes
fa861b6e95 Misc. 2012-04-05 18:28:44 +00:00
hvlad
453e9d9ae1 Correct reference counting for log writer in trace plugin.
Also fixed few AVs.
2012-03-30 13:52:11 +00:00
dimitr
a76dd8d3e7 Fixed CORE-3791: Performance degrades when actively working with databases bigger than the available RAM amount. 2012-03-27 07:24:55 +00:00
alexpeshkoff
1ceb4847e1 Make plugins use passed instance of master interface, not one got from fb_get_master_interface(). This helps in case when >1 fbclient libraries is loaded by process. 2012-03-26 11:34:52 +00:00
alexpeshkoff
e0eda0c873 Fixed use of UTF8 strings in services 2012-03-15 15:05:31 +00:00
alexpeshkoff
a82cc97e5e Fixed delivery of errors from gstat service 2012-03-15 15:03:19 +00:00
dimitr
c3a3ccfb8f Integrated the jumping information natively into the index bucket.
WARNING: This is an ODS change, databases must be recreated.
2012-03-14 14:35:55 +00:00
alexpeshkoff
2f7c526728 Implemented CORE-3788: Make all utilities follow same rules when expanding database name 2012-03-14 08:46:27 +00:00
alexpeshkoff
57e70420f0 Fixed CORE-3762: gsec returns 0 return code on some errors 2012-03-01 17:01:44 +00:00
alexpeshkoff
4e795f4047 Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports. 2012-03-01 08:55:43 +00:00
alexpeshkoff
c881c9bc6c Always define appropriate macro before including pthread.h 2012-02-29 07:08:01 +00:00
dimitr
104814f721 Slightly refactored the b-tree nodes. This commit includes cleaning up ods.h from the runtime (in memory) structures and encapsulating the b-tree nodes implementation inside their corresponding objects. To be continued. 2012-01-26 07:01:45 +00:00
robocop
21cd78a0fd Cleanup: unused functions, parameters & variables. 2012-01-24 03:37:43 +00:00
robocop
e2914070b9 Misc. 2012-01-19 04:54:39 +00:00
alexpeshkoff
db80e18dc7 Fixed CORE-3658: FBSVCMGR connects to server as OS user name rather than value of ISC_USER environment variable 2011-12-30 14:11:24 +00:00
alexpeshkoff
c31aea58ed Diagnostics 2011-12-26 16:06:00 +00:00
alexpeshkoff
e093442122 Enable passwords >9 bytes in gsec. Remove old warning. 2011-12-26 14:51:25 +00:00
alexpeshkoff
7fb8ebd3a9 Fixed CORE-1898: Increase the password length from 8 characters, CORE-3372: Simplify process of non-default security database creation 2011-12-23 12:43:58 +00:00
asfernandes
1bb24e6c08 Fixed CORE-3238 - Makes GEN_UUID return a compliant RFC-4122 binary UUID and introduce CHAR_TO_UUID2 and UUID_TO_CHAR2 to convert UUIDs from/to string also complying with the RFC. 2011-12-20 14:30:41 +00:00
hvlad
8938c616ff Update documentation 2011-11-14 23:10:30 +00:00
asfernandes
eb5689ef0e Misc. 2011-10-07 02:33:02 +00:00
alexpeshkoff
70ddf7a875 Make services work correctly with multiple security databases 2011-10-04 12:51:57 +00:00
alexpeshkoff
68bb1e1563 Avoid segfault when transaction is missing 2011-09-23 16:09:57 +00:00
asfernandes
9c84e1a03f Misc. 2011-06-15 00:47:19 +00:00
alexpeshkoff
18ef64b242 Fixed UnloadDetector in a case when it gets linked in non-plugin module 2011-06-14 11:34:26 +00:00
alexpeshkoff
40348295e1 Used upgradeInterface() in a number of places.
Fixed memory leak when unloading module, related with upgraded interfaces.
Fixed timer on posix to be high resolution.
Better diagnostic in services.
2011-06-10 12:53:51 +00:00
alexpeshkoff
c4c34a72b2 Fixed CORE-3199: nackup fails due to O_NOATIME flag in database open 2011-06-01 12:16:49 +00:00
alexpeshkoff
32ffebb3bf Fixed CORE-3250: Cannot start firebird server under any username other than "root", "firebird" , "interbas"or "interbase" 2011-06-01 10:52:28 +00:00
alexpeshkoff
ffbf088273 Fixed CORE-3462: Add metadata only restore to Services API 2011-06-01 10:38:41 +00:00
alexpeshkoff
3ef46d7fa8 Frontported fix for CORE-3482: nbackup ctrl-c segfaults and leaves db locked (delta file continues to grow) 2011-05-25 12:59:41 +00:00
alexpeshkoff
4641d2de68 Better interfaces hierarchy: all of them are derived from IVersioned 2011-05-19 16:24:46 +00:00
asfernandes
8aca17dd5e Misc 2011-05-15 15:37:51 +00:00
hvlad
2bc113987e Adjusted CPL applet with current binaries names and paths.
Make it show error even when there is no registry information.
2011-05-10 13:36:47 +00:00
hvlad
e3a6969eab Adjusted instreg, instsvc and fbguard with current binaries names and paths 2011-05-10 13:03:11 +00:00
alexpeshkoff
4c3f87d6bd Continued renaming interfaces. Added comments 2011-04-08 15:18:50 +00:00
alexpeshkoff
5c88e478f6 Use better names for a number of objects according to Vlad's suggestion 2011-04-07 17:16:00 +00:00
hvlad
252cf23f68 Fixed potential buffer overflow. Thanks to Claudio. 2011-04-06 17:44:43 +00:00
robocop
85eb47dc58 Misc, style, etc. 2011-04-02 04:55:21 +00:00
alexpeshkoff
9ef53b65e0 Remove reference counting where not appropriate 2011-03-31 13:44:22 +00:00
asfernandes
63912bbe57 Misc 2011-03-30 20:35:28 +00:00
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