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

1539 Commits

Author SHA1 Message Date
asfernandes
9394fea3ab Misc. 2012-01-05 01:07:06 +00:00
asfernandes
7c9fb70af3 Make UUID_TO_CHAR2 returns lower-cased strings, as the RFC specifies· 2011-12-30 14:38:03 +00:00
alexpeshkoff
e3f9db44cd Front-ported fix for CORE-3646: Segmentation fault in Linux 2011-12-29 17:48:59 +00:00
alexpeshkoff
c31aea58ed Diagnostics 2011-12-26 16:06:00 +00:00
hvlad
de723c9df7 Fixed mismatched parameters order 2011-12-26 13:35:26 +00:00
alexpeshkoff
6631bc93a9 Moved big integer implementation to common dir 2011-12-26 09:16:24 +00:00
asfernandes
359f74e73a Misc. 2011-12-24 18:08:13 +00:00
dimitr
e719c87753 Make locks unconditionally granted in the fair order. The legacy behavior is unsafe in the highly loaded systems. 2011-12-23 17:50:44 +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
asfernandes
b956356922 DDL refactor: ALTER EXTERNAL FUNCTION, ALTER INDEX, SET STATISTICS, CREATE SHADOW, ALTER ROLE, CREATE/ALTER DATABASE. 2011-11-22 16:33:25 +00:00
dimitr
7c124b4487 Small optimizations in the mover/converter code. 2011-11-05 18:07:04 +00:00
asfernandes
906ea4729e Misc. 2011-10-27 01:04:14 +00:00
alexpeshkoff
3513087d98 Fixed services to make them work with trusted auth emulator and old client 2011-10-20 12:20:33 +00:00
alexpeshkoff
9dab626467 Frontported fix for CORE-3589: Internal shared resource leak. Make trunk work with SystemV semaphores as shared mutexes/events. 2011-10-13 11:31:15 +00:00
alexpeshkoff
2390d0be30 Frontported fix for CORE-3627: Server crashes with access violation when inserting row into table with unique index 2011-10-12 09:57:30 +00:00
asfernandes
32fe5b0988 Avoid thrown exceptions in normal operation when loading non-existent ICU versions. This was a pain in the debugger. 2011-10-12 02:06:25 +00:00
alexpeshkoff
715df9d4d7 Porting - some Debians miss SA_SIGINFO, committed fixing it patch by Samuel Thibault 2011-10-11 10:29:35 +00:00
alexpeshkoff
ae198472d3 Fixed CORE-3576: Make ICU built with U_DISABLE_RENAMING load correctly - thanks to Treeve Jelbert 2011-10-11 06:46:53 +00:00
asfernandes
eb5689ef0e Misc. 2011-10-07 02:33:02 +00:00
dimitr
0130da039f Fixed the Windows build. 2011-10-05 17:14:35 +00:00
alexpeshkoff
70ddf7a875 Make services work correctly with multiple security databases 2011-10-04 12:51:57 +00:00
asfernandes
5ae632cf0b Feature CORE-1288 - Sub Procedures.
They're very simple for now. No access to parent variables nor to call neighbour procedures.

Tests at http://firebird.cvs.sourceforge.net/viewvc/firebird/fbtcs/GTCS/tests/FB_SQL_SUBPROC_1.output.
2011-10-02 22:11:41 +00:00
robocop
80f24db67c Misc. 2011-08-18 06:53:17 +00:00
asfernandes
e1c4f46df2 Misc. 2011-08-13 17:07:01 +00:00
alexpeshkoff
b76a2d8c47 Getting ready for support of multiple security databases in services 2011-08-09 12:11:17 +00:00
alexpeshkoff
ff14d4a2aa Misc 2011-08-08 07:12:32 +00:00
robocop
1b9b26fcdc Misc. 2011-08-06 05:49:13 +00:00
hvlad
afedf9bcbb Correction : don't miss minor == 0 when trying ICU versions 2011-08-05 08:35:45 +00:00
asfernandes
e02533bcba Use exception-safe code. 2011-08-05 02:21:18 +00:00
asfernandes
4675f8d2d2 Fix build. 2011-08-05 02:10:05 +00:00
asfernandes
f54d6e411b Misc. 2011-08-05 02:09:05 +00:00
dimitr
46bcf76808 Cleanup. 2011-08-03 12:13:18 +00:00
alexpeshkoff
40ef6666d5 Enabled use of any available on the target system ICU version for non-collation calls 2011-08-02 11:54:30 +00:00
alexpeshkoff
417b13b2a2 Make diagnostics about wrong array subscript a bit better 2011-08-02 09:26:49 +00:00
robocop
59b3dc1c2b Misc. 2011-07-30 07:14:00 +00:00
asfernandes
93aa34bddb Fixed the INSERT INTO ... SELECT bug reported by Ivan Prenosil in fb-devel. 2011-07-25 01:40:29 +00:00
asfernandes
c1da0c0e8a Correction for symlinks with relative path. 2011-07-24 22:15:33 +00:00
alexpeshkoff
0e896529b0 Front-ported Darwin port changes 2011-07-18 10:57:21 +00:00
asfernandes
cb38cfe114 Correction and improvement to the config system. 2011-07-14 15:56:40 +00:00
robocop
e3f52f2520 Misc. 2011-07-07 07:58:02 +00:00
asfernandes
577e9e4b7e Misc. 2011-07-02 22:10:07 +00:00
hvlad
c994f7e32a Make legacy (security database based) user management plugin consistent :
- binary name changed from user_management.dll to legacy_usermanager.dll (on Windows only, POSIX will follow soon)
- registration name was changed from "Legacy_Auth" to "Legacy_UserManager" (see UserManager setting in firebird.conf)
2011-06-30 13:17:04 +00:00
alexpeshkoff
13e0341fea Use interface-based API in remote server. Use stable "next" pointers in yvalve. 2011-06-29 09:41:47 +00:00
asfernandes
47489fa71b Misc. 2011-06-26 18:48:00 +00:00
robocop
5ad96271e6 Misc. 2011-06-24 06:34:16 +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
hvlad
ab4e88d49e Missed FB_CARG 2011-06-13 11:08:26 +00:00
robocop
2fcbc4f430 Misc. 2011-06-11 06:09:39 +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
320f7c86b6 Fixed segfault in DEV_BUILD 2011-06-08 09:27:04 +00:00
alexpeshkoff
6249be4f9f Fixed posix build 2011-06-08 06:38:32 +00:00
hvlad
e6329b0663 Make TA work with 2.1 clients and not crash. Thanks to Alex. 2011-06-07 12:59:52 +00:00
asfernandes
f14ec26183 Misc. 2011-06-04 02:18:55 +00:00
asfernandes
64b3a55a80 Fixed CORE-3416 - Inserting Käse into a CHARACTER SET ASCII column succeeds. 2011-06-03 19:12:42 +00:00
asfernandes
e2bd4d0e55 Fixed CORE-3511 - Unquoted role names with non-ASCII characters passed in DPB are upper-cased wrongly. 2011-06-03 14:19:54 +00:00
asfernandes
5ffa6c77c8 Move v3 public include files to src/include/firebird. 2011-06-02 15:57:08 +00:00
asfernandes
7ad98cd292 Work in progress on the external engines API changes. 2011-06-01 01:44:54 +00:00
asfernandes
2c9dd7e1ff Misc. 2011-05-28 02:05:45 +00:00
alexpeshkoff
2f85b664d7 Avoid deadlocks in timers. Fixes use of timers to delay plugin modules unload. 2011-05-27 11:31:29 +00:00
hvlad
99c9c8e2db Enabled background threads (garbage collector and cache writer).
Introduced special kind of system attachments used in this threads and show its activity in monitoring.
2011-05-27 07:57:16 +00:00
asfernandes
62846d2e68 Make synchronization primitives work in the POSIX build. 2011-05-23 15:33:19 +00:00
asfernandes
717ef9c486 Misc. 2011-05-21 19:11:03 +00:00
asfernandes
19cbed237b Misc. 2011-05-21 18:56:02 +00:00
alexpeshkoff
e01eb34b0e Atomic operations: use gcc builtin functions instead asm, fix atomic_ops library use 2011-05-20 16:45:31 +00:00
alexpeshkoff
4641d2de68 Better interfaces hierarchy: all of them are derived from IVersioned 2011-05-19 16:24:46 +00:00
alexpeshkoff
85b3b5cf95 Interface for 2PC (distributed transactions coordinator) 2011-05-19 11:38:38 +00:00
mapopa
b95234da44 cleanup comment EKU: obsolete, replaced by _FILE_OFFSET_BITS 2011-05-19 11:12:20 +00:00
asfernandes
fb6c81f0dc Fix warning. 2011-05-14 21:44:07 +00:00
asfernandes
e4d1311b63 Correction. 2011-05-13 01:23:53 +00:00
asfernandes
d0c2265105 Misc. 2011-05-10 01:12:14 +00:00
hvlad
fef1f49c94 Shared page cache implementation 2011-05-09 10:15:19 +00:00
asfernandes
7915153e51 Misc. 2011-05-07 19:33:46 +00:00
hvlad
f40d569f3f Don't use placement new[] as its behavior is inconsistent between compilers 2011-05-03 12:03:16 +00:00
asfernandes
48fa5193e7 Invert the functionality of addSlash to fixPath. It was creating paths with double slashes in config files.
The right way to create paths in others places is with PathUtils::concatPath, and it don't need what addSlash was doing.
2011-04-30 18:23:04 +00:00
hvlad
8b635ddf38 Some refactoring and cleanup. 2011-04-30 11:38:00 +00:00
asfernandes
0b2ffeae81 Misc. 2011-04-30 02:28:31 +00:00
hvlad
eecde7801c Windows version of PlatformAtomicPointer 2011-04-29 19:11:43 +00:00
alexpeshkoff
c076b1d8c1 Added delay before unloading plugin module after last reference to that module outside plugin manager is gone 2011-04-29 16:24:27 +00:00
alexpeshkoff
b77154b2b5 Cleanup: make fb_atomic be the single file working with atomic operations and membars 2011-04-29 15:50:04 +00:00
hvlad
b0b1db9fc1 Typo and missed cast 2011-04-29 12:03:52 +00:00
hvlad
ff490e8f6a Cleanup and some comments 2011-04-29 11:34:35 +00:00
hvlad
59c4f7bb9f Let PlatformAtomicCounter::setValue() returns old value on Windows too 2011-04-29 11:12:29 +00:00
alexpeshkoff
09ecefd320 Fixed posix build 2011-04-29 09:25:06 +00:00
dimitr
dafd8c894e Misc. 2011-04-28 16:59:29 +00:00
hvlad
388ed56602 correction 2011-04-28 14:39:19 +00:00
hvlad
c65bbf74ca Preparing for the shared page cache : new sync objects ported from Vulcan 2011-04-28 14:35:58 +00:00
alexpeshkoff
256cb1e853 1. Use reference counted stable in global pool objects instead PublicHandle's validation.
2. Avoid massive segfaults when closing heavily loaded server.                                                                                 
3. Restored logic in YValve required for correct shutdown.                                                                                    
4. Do not change externally visible request body when preparing it.
2011-04-25 17:47:56 +00:00
hvlad
a98fb23229 Frontported fix for regression introduced by me in patch for CORE-3326 - too many unnecessary calls of ISC_check_process_existence().
Added defines to switch usage of fast mutex off if necessary.
2011-04-25 12:56:27 +00:00
asfernandes
abbc8975c2 Correction. 2011-04-18 19:21:34 +00:00
asfernandes
7cf1a31bda Misc 2011-04-17 16:04:43 +00:00
robocop
ac7cb9019f Misc. 2011-04-17 05:02:26 +00:00
asfernandes
27515ef82c Do not count selected records for IStatement::getAffectedRecords. 2011-04-16 21:59:19 +00:00
asfernandes
73543914c7 Misc. 2011-04-15 02:51:29 +00:00
asfernandes
c42405a0b4 License. 2011-04-14 13:21:21 +00:00
asfernandes
c63493ffba Added metadata support to IStatement. 2011-04-14 01:03:43 +00:00
asfernandes
b4056a0463 Misc 2011-04-13 15:09:18 +00:00
alexpeshkoff
437d841cfa Rolled back my commit using IBlrMessage interface. Replaced with single plain structure FbMessage. 2011-04-13 12:41:40 +00:00
hvlad
60b1b19a20 Let config file detects literals "true", "yes" and "y" as TRUE boolean values. 2011-04-12 12:47:33 +00:00
alexpeshkoff
bbf146f918 Renamed a number of functions to match Dmitry's requirement 2011-04-11 11:12:21 +00:00
alexpeshkoff
9a4689d3e9 Use interface IBlrMessage instead passing C++ class pointer to API interface's functions 2011-04-08 16:43:05 +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
asfernandes
e01b9567a9 Fixed CORE-3427 - Server crashing with UTF8 blobs. 2011-04-05 18:02:28 +00:00
asfernandes
03ce334e2b Misc 2011-04-04 13:37:47 +00:00
robocop
be6852c25b Misc, style, etc. 2011-04-02 04:50:25 +00:00
robocop
8838103d0e Explicit and others. 2011-04-02 04:16:48 +00:00
robocop
02cca7f6cb Fix legacy code. 2011-04-02 04:13:03 +00:00
robocop
62a1685618 Misc. 2011-04-02 04:11:41 +00:00
asfernandes
b688dc04a8 Misc 2011-04-01 02:05:19 +00:00
alexpeshkoff
9ef53b65e0 Remove reference counting where not appropriate 2011-03-31 13:44:22 +00:00
dimitr
b8d5f6f24a Applied patch for CORE-3412: Array with BOOLEAN. Bug in sdl_desc [sdl.cpp]. Thanks to Dmitry Kovalenko. 2011-03-30 08:14:42 +00:00
asfernandes
e4658d76c3 Misc 2011-03-20 16:24:46 +00:00
alexpeshkoff
7761fcd22f Fixed CORE-3397: Unresolved symbols in intl and trace libraries 2011-03-18 17:48:20 +00:00
hvlad
72a9eb2fc8 Missed initialization 2011-03-18 13:11:32 +00:00
hvlad
d018caf680 Missed code 2011-03-18 12:28:58 +00:00
asfernandes
6534883d94 Misc 2011-03-18 02:00:11 +00:00
alexpeshkoff
f6914b8db0 Added timer-related interfaces. Added helper method to wait for plugin to be released on shutdown. Misc stability changes in PluginManager. 2011-03-16 11:04:04 +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
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
0193d90f6c Fix definition and usages of fb_assert. 2011-02-26 16:03:36 +00:00
hvlad
d756a02f89 Fixed bug CORE-3351 : Windows client could put 10054 error messages into firebird.log at connection time 2011-02-15 10:10:57 +00:00
dimitr
1c1e858227 Sorry, but I've got tired of these endless warnings. 2011-02-06 16:19:55 +00:00
asfernandes
7800060e22 Misc 2011-02-04 23:58:10 +00:00
hvlad
8fa43498d5 Fixed bug CORE-3326 : Fast mutex could be left in locked state by dead process 2011-02-02 12:11:05 +00:00
hvlad
7df6fb552f Correction for previous commit 2011-02-02 11:56:48 +00:00
hvlad
0c73f2caef Fixed bug CORE-3325 : At high load it is possible that new process could fail to map shared memory 2011-02-02 11:51:24 +00:00
alexpeshkoff
172cc477d3 Fixed order of function calls, thanks to Dmitry Kovalenko 2011-01-31 14:05:12 +00:00
asfernandes
248ddfa04a Misc 2011-01-28 00:58:32 +00:00
alexpeshkoff
eb11598570 Implement Thread::kill for posex threads. Do not support separate Thread::closeHandle - move it inside kill and waitForCompletion 2011-01-24 16:36:29 +00:00
hvlad
433114a847 Refactor open events cache to avoid atexit handler which could crash process on DLL unload. 2011-01-24 14:10:14 +00:00
hvlad
1e6135ec40 Fixed main reason of AV at engine DLL unload time. More fixes will follow soon. 2011-01-24 13:20:25 +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
a6f11f4add Avoid use of negative block size for small blocks 2011-01-21 17:18:40 +00:00
alexpeshkoff
511daaca67 warnings 2011-01-21 16:43:49 +00:00
alexpeshkoff
02391c5932 Unavoidable casts when working with printf() return value 2011-01-21 16:38:49 +00:00
alexpeshkoff
33f4aa923a fixed bug in my previous commit 2011-01-20 09:18:37 +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
24713815b8 misc 2011-01-19 16:58:54 +00:00
alexpeshkoff
e5b62e9789 Misc 2011-01-19 07:15:00 +00:00
asfernandes
768ab2d6fb Misc 2011-01-17 19:28:45 +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
alexpeshkoff
8cab237153 cleanup 2011-01-16 17:45:25 +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
b53812548a Damyan's patch for MIPSEB 2010-11-22 15:44:33 +00:00