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
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