alexpeshkoff
2a5e7e7f32
Implemented CORE-672: "Over the wire" connection encryption
2012-02-24 12:39:27 +00:00
asfernandes
07f2d7117e
Misc.
2012-02-20 21:52:29 +00:00
robocop
5d2a0118c0
I don't see the point in creating temporary strings in these cases.
2012-02-15 03:43:06 +00:00
asfernandes
e51ddc7a38
Misc.
2012-01-29 02:53:44 +00:00
robocop
32712c2c40
Misc and cleanup
2012-01-27 09:10:12 +00:00
asfernandes
819da0f942
Fixed problem with default collation.
2012-01-25 17:46:44 +00:00
alexpeshkoff
6b88a478c3
Avoid presence of a lot of unneeded stuff like exceptions and pools in fbudf. This also fixes segfault when library is unloaded.
2012-01-25 13:49:08 +00:00
alexpeshkoff
d694457a91
Simplify .h-file dependencies
2012-01-25 09:19:10 +00:00
dimitr
88336dfde3
Cleaned up and slightly refactored the XDR logic.
2012-01-25 07:13:53 +00:00
robocop
21cd78a0fd
Cleanup: unused functions, parameters & variables.
2012-01-24 03:37:43 +00:00
robocop
a12820300f
Move hardcoded message to the msg db.
2012-01-24 03:04:28 +00:00
asfernandes
ed3d7ed720
Misc.
2012-01-20 01:42:03 +00:00
robocop
0cf9a89faa
Some paranoid checks for extreme cases.
2012-01-19 08:07:59 +00:00
robocop
5ad1da3891
Simplification.
2012-01-19 05:42:04 +00:00
robocop
e2914070b9
Misc.
2012-01-19 04:54:39 +00:00
robocop
0738b570ec
Helper method.
2012-01-17 12:33:10 +00:00
dimitr
51c0e87146
Removed support for the remote protocol versions prior to v10.
2012-01-06 11:25:17 +00:00
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
alexpeshkoff
a5c6b04441
This should fix first problem in BSD build
2010-11-22 08:23:38 +00:00
asfernandes
7b579d2f85
Fixed a source of many warnings when using clang
2010-11-21 21:22:20 +00:00
asfernandes
b46abf3984
Misc
2010-11-21 02:36:57 +00:00
alexpeshkoff
d5afc7aaeb
Correction for improvement CORE-3248: Set unused bytes of varchar values in message buffer to 0
2010-11-19 17:35:24 +00:00
alexpeshkoff
e51722e906
misc
2010-11-19 17:09:05 +00:00
dimitr
fbb34b249f
Front ported CORE-3059: RemoteFileOpenAbility fails on Windows.
2010-11-18 11:40:10 +00:00
asfernandes
1f92097d59
Misc
2010-11-13 01:50:12 +00:00
alexpeshkoff
1c5fc68b1f
Fixed CORE-3229: Records: "operating system directive open failed, Too many links" in firebird.log
2010-11-12 12:19:53 +00:00
alexpeshkoff
9c81026641
Fixed CORE-3212: Error compile 2.5 for FreeBSD
2010-11-11 13:56:13 +00:00
alexpeshkoff
56cffa651b
Damyan's patch to enable changing firebird.log filename
2010-11-10 12:43:56 +00:00
alexpeshkoff
de453fcfd3
Check for presence of ICU development package in configure, related cleanup
2010-11-08 18:12:03 +00:00
asfernandes
045c090a38
Misc
2010-11-06 18:56:46 +00:00
alexpeshkoff
db866e3a45
Make fb_string's length limit type-dependent
2010-11-04 16:22:42 +00:00
alexpeshkoff
3c4a864677
Clean up usage of inline keyword in my old code
2010-11-04 15:28:08 +00:00
alexpeshkoff
0ab6c4abf7
Avoid throwing C++ exceptions from authentication plugins
2010-10-28 08:02:42 +00:00
alexpeshkoff
ae516016bf
Fixed performance issues when creating and destroying pools
2010-10-27 09:49:16 +00:00
asfernandes
b5cfdbf513
Misc
2010-10-27 00:32:58 +00:00
alexpeshkoff
3fc570d729
Patches from Damyan Ivanov
2010-10-25 15:48:35 +00:00
asfernandes
5c7e5ce634
Misc
2010-10-22 01:24:31 +00:00
hvlad
4182eb6781
Warning
2010-10-21 11:46:39 +00:00
hvlad
df8a6a2ff7
Corrections for new build system. Work in progress...
2010-10-20 22:00:34 +00:00
hvlad
6ebcb6311f
Change names of monitoring and trace shared memory to allow FB3 to run simultaneously with previous versions of engine
2010-10-20 21:59:10 +00:00
alexpeshkoff
b31eb6fdf5
Changed libraries' names. Improved a bit ModLoader.
2010-10-19 13:48:56 +00:00
alexpeshkoff
605e08944c
Fixed issues, found by clang
2010-10-15 15:53:38 +00:00
alexpeshkoff
8a9a09b0c5
CORE-3184: Committed Damyan's patch - support HW IDs from 2.5
2010-10-15 09:08:25 +00:00
alexpeshkoff
6d962037cb
Fixed issue, detected by clang++ compiler
2010-10-14 06:11:15 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
hvlad
a16f3c4ea8
Corrections for new build system. Work in progress...
2010-10-13 09:23:01 +00:00
asfernandes
91384eb587
Misc
2010-10-12 17:40:27 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
asfernandes
18a6a6b4f9
More consts
2010-08-13 15:22:00 +00:00
asfernandes
38a4fb7be2
Misc
2010-08-11 15:33:06 +00:00
asfernandes
dadc0f560c
Const correction for EVL, EXE and they subsystems. Adjustments to CMP and OPT.
2010-08-09 15:48:51 +00:00
alexpeshkoff
14962fb831
Damian's patch for additional CPUs under linux
2010-08-09 13:56:20 +00:00
robocop
4677d74e9b
Misc.
2010-08-09 11:50:12 +00:00
hvlad
087a7f7cda
Fixed bug CORE-3100 : Wait mode and lock timeout of external transaction of EXECUTE STATEMENT not matched to corresponding parameters of local transaction
2010-08-07 21:18:23 +00:00
asfernandes
3197757f00
Rename misleading TriStateType class name to Nullable
2010-07-29 00:20:53 +00:00
asfernandes
0b7c21172a
Refactor CREATE/ALTER/DROP/RECREATE TABLE and DROP VIEW commands
2010-07-26 02:37:57 +00:00
hvlad
2c6529c303
Correction.
2010-07-24 11:22:57 +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
dimitr
5c1c5ee7a9
Fixed the old bug which was left unnoticed until RC3 where Pair<MetaName, MetaName> was used as a key for a b-tree.
...
At the first glance, it promises only wrong ordering of items, but in fact it trashes the b-tree internals and crashes the server :-(
It's unregistered and undocumented, but being a very recent RC3 only regression, let's leave it this way.
I suppose the intended code should be !(v.first < this->first), but we have the operator == defined, so I used a simpler form.
2010-07-08 10:44:35 +00:00
asfernandes
20b0bbaf82
Refactor CREATE/ALTER/DROP DOMAIN
2010-07-06 00:49:33 +00:00
asfernandes
ab834d2ec1
Fixed CORE-3038 - The insert failed because a column definition includes validation
2010-06-12 16:28:11 +00:00
alexpeshkoff
c985b0a87d
Mac port - use dispatch semaphores
2010-06-08 13:35:46 +00:00
asfernandes
e37d097240
Misc
2010-05-22 02:00:45 +00:00
alexpeshkoff
74a4aaacb6
Moved not auth-specific part of interface declaration to separate file
2010-05-20 15:02:31 +00:00
alexpeshkoff
ea1b1843d8
Cleaned up macro BOOT_BUILD, boot ObjModuleType in posix build and a lot of related steps in posix build
2010-05-18 13:32:30 +00:00
alexpeshkoff
b2da448e8c
Fixed problems, noticed by Claudio and Adriano
2010-05-17 10:01:34 +00:00
asfernandes
d6e4b53865
Misc
2010-05-08 02:25:58 +00:00
alexpeshkoff
965b851b77
Fixed CORE-2984: gbak -v srv:db stdout creates a broken backup
2010-05-06 13:42:20 +00:00
skidder
f540236674
Re-introduce access to DSQL debugging facility accidentally made inaccessible by Dmitry Y. during Firebird 2.5 development cycle. Also document it firebird.conf and enable it in PROD_BUILD. It is rather hard to debug DSQL compiler issues without intermediate trace output.
2010-05-01 13:47:39 +00:00
robocop
b682a6c39c
Misc.
2010-04-21 10:41:22 +00:00
asfernandes
c0165e8c91
Dmitry changed that default value recently. So it seems the old one got wrong while syncing the code.
2010-04-16 01:44:10 +00:00
alexpeshkoff
88b8a40a04
1. Cleaned up most of SUPERSERVER usage.
...
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())
2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).
3. Small posix build cleanup.
2010-04-15 14:40:27 +00:00
dimitr
8c00b7c251
Fixed CORE-2966: Wrong results or unexpected errors while sorting a large data set.
2010-04-13 07:01:02 +00:00
dimitr
e0179c672d
Cleanup. Let's finally use a single (and standard) behavior of the allocator.
2010-04-08 09:35:39 +00:00
dimitr
63babe1492
Changed the default page cache size for Classic, as discussed in fb-devel.
2010-04-08 04:15:08 +00:00
asfernandes
fe9bf02848
Refactor user and system functions nodes
2010-04-05 18:43:11 +00:00
dimitr
c8863d86b1
Fixed fbclient/fbembed being loaded from non-FB-instance location.
2010-03-29 10:54:18 +00:00
alexpeshkoff
f5970e2fca
Cleanup SUPERCLIENT - always use same method to get automatic pool
2010-03-24 12:11:59 +00:00
robocop
d0a9add6d0
Totally misc.
2010-03-24 07:02:30 +00:00
alexpeshkoff
26f9b12d04
Cleanup - SUPERCLIENT, never needed here to avoid throwing something in fbudf library now. To be explicit marked used methods (which really never throw something) as "throw()"
2010-03-22 18:27:17 +00:00
dimitr
d3b0f4db34
A (temporary?) solution to prevent dependencies from SUPERCLIENT/EMBEDDED in the root directory determination.
...
To be reconsidered later, if necessary.
2010-03-21 09:50:39 +00:00
robocop
28eb2aba81
Style.
2010-03-15 06:39:09 +00:00
asfernandes
d3ad05b7eb
Misc
2010-03-14 15:33:06 +00:00
alexpeshkoff
c933ba6af6
Make config files case-insensitive
2010-03-11 14:46:19 +00:00
asfernandes
9463ffe238
Misc
2010-03-08 01:21:24 +00:00
robocop
be3660d221
Misc.
2010-03-07 04:30:35 +00:00
alexpeshkoff
34cf00e326
Removed RootDirectory parameter from firebird.conf and enabled use of vulcan-style macro in it
2010-03-05 17:21:18 +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
d6fcd8eb63
It was bad idea to make two TempSpace related parameters per-database - rolled back some changes
2010-03-03 15:02:01 +00:00
alexpeshkoff
fdbf8dd2bc
Make this variable volatile - thanks to Adriano
2010-03-02 15:13:55 +00:00
alexpeshkoff
c8071aee27
comments
2010-03-02 14:52:55 +00:00
alexpeshkoff
e3d3d8e3fb
Moved template function to .h file
2010-03-02 14:48:37 +00:00
alexpeshkoff
aee38abecd
Clear value here - thanks to Claudio
2010-03-02 14:25:54 +00:00
hvlad
692878348e
Lets be independent from internal representation of time_t type
2010-03-02 10:23:37 +00:00
hvlad
05f3d82854
Lets report missing file name ;)
2010-03-01 09:03:00 +00:00
hvlad
7e437dd384
Fixed Windows build after recent changes
2010-03-01 08:19:47 +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
5cb37fda71
Misc
2010-02-11 01:08:20 +00:00
alexpeshkoff
8f86a54bbd
const correctness
2010-02-08 13:39:37 +00:00
robocop
7ffc4d001f
Misc.
2010-02-08 07:57:33 +00:00
robocop
be4ecc52c6
Leave this clause in two lines for easier debugging, please.
2010-02-08 07:57:08 +00:00
alexpeshkoff
08a8ee9f42
Make InitInstance release objects, created by it
2010-02-07 15:13:28 +00:00
alexpeshkoff
239e9708bb
Always convert arg_cstring to arg_string when saving strings in circular buffer
2010-02-07 13:17:41 +00:00
alexpeshkoff
50f1294ec3
Fixed copy of cstring in status vector
2010-02-07 10:16:04 +00:00
asfernandes
a454b705d0
Misc
2010-01-28 15:01:57 +00:00
robocop
2b13bcfa2a
Style.
2010-01-27 04:33:36 +00:00
robocop
446097fe8e
Be explicit, change "qualifier" to "package" in QualifiedName (needed anyway if/when schemas are added).
2010-01-27 04:32:27 +00:00
alexpeshkoff
da12b517a5
Make ctor/assign with explicitly given bytes count more generic
2010-01-26 15:14:47 +00:00
robocop
1d87d749f0
Misc.
2010-01-26 08:20:27 +00:00
robocop
94b6451014
Allow QualifiedName to interact with StatusArg.
2010-01-26 07:32:12 +00:00
asfernandes
eb9eef9d77
Misc
2010-01-24 15:18:43 +00:00
alexpeshkoff
dc3f505ccb
Cleanup, suggested by Claudio
2010-01-24 15:16:23 +00:00
alexpeshkoff
fa6607bd24
Fixed unregistered bug - invalid datetime2string conversion, reported by Claudio
2010-01-23 14:14:16 +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
2faab16698
Misc
2010-01-21 02:51:32 +00:00
robocop
14b9cbab5a
Totally misc.
2010-01-20 08:25:37 +00:00
hvlad
abfb67edbb
Fixed bug when huge memory chunk (more than 2GB) is released
2010-01-19 12:50:43 +00:00
asfernandes
7de2c38703
Misc
2010-01-09 22:15:18 +00:00
asfernandes
72fab0e317
Update way to deliver parameterized exceptions so the client doesn't need special handling
2010-01-08 14:13:12 +00:00
asfernandes
be859980ea
Feature CORE-832 - Parameterized exceptions
2010-01-07 00:16:50 +00:00
asfernandes
7e18d760ab
Fix segmentation fault running tcs SVC_API_SWEEP_DB
2010-01-02 21:34:39 +00:00
robocop
dc978c61e9
Style.
2010-01-02 02:02:17 +00:00
asfernandes
e13a0e3865
Misc
2010-01-01 20:23:52 +00:00
asfernandes
fc370c986e
A new way to use PreparedStatement. That one preserves code readability and is very like the preprocessed code.
2009-12-31 17:08:07 +00:00
alexpeshkoff
443f261abf
Introduce isc_dpb_version2 - format is WideTagged.
2009-12-30 15:24:16 +00:00
alexpeshkoff
4f58f8ef67
removed wrong assertion
2009-12-30 15:16:32 +00:00
hvlad
a3ab95f8f6
All memory allocations should be ALLOC_ALLIGMENT aligned.
...
It fixed bug in Win64 DEBUG build.
2009-12-29 12:46:53 +00:00
dimitr
00bc7b9025
Cleanup the deprecated configuration stuff.
2009-12-28 13:27:10 +00:00
asfernandes
dd6331f002
Some fixes; Misc.
2009-12-22 00:08:49 +00:00
robocop
13a8d5488f
Get rid of the obsolete option CompleteBooleanEvaluation in the config file. We always do short-circuit boolean logic.
2009-12-21 07:01:24 +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
alexpeshkoff
c569345201
Some more changes suggested by Claudio
2009-12-16 13:40:26 +00:00
alexpeshkoff
3b95a6b5b4
Fixed an issue with gsec compatibility with previous versions
2009-12-16 11:25:50 +00:00
robocop
dae574f7f1
Misc, style and unused vars.
2009-12-13 10:41:53 +00:00
aafemt
83261600c1
Fix MinGW build
2009-12-13 09:43:02 +00:00
asfernandes
a035a92ce2
Misc
2009-12-06 02:40:03 +00:00
asfernandes
e99a07bffd
Remove usage of tdbb (and tdbb->tdbb_status_vector) in the lock manager
2009-12-06 01:34:57 +00:00
asfernandes
7a78601ef2
1) Use metadata character set in DSQL cache
...
2) Make exceptions in metadata charset and convert them to the client charset - this should fix CORE-2431
3) Support for "internal" (engine) DSQL statements and use in COMMENT ON
2009-12-05 14:21:52 +00:00
robocop
44c469b51a
Misc.
2009-12-01 05:35:54 +00:00
alexpeshkoff
34d79c9c3f
Fixed CORE-2728: Access Violation when trying to add an user that already exists
2009-11-30 12:10:47 +00:00
asfernandes
9ec1c36a55
Cleanup
2009-11-28 19:39:23 +00:00
robocop
9af5ae7f8d
Style.
2009-11-23 05:24:29 +00:00
robocop
f7957e6910
Totally misc.
2009-11-16 09:03:49 +00:00
asfernandes
1e794dc51d
Fix typo
2009-11-15 18:38:34 +00:00
robocop
b9106f313b
Warnings.
2009-11-14 09:20:54 +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
0b2a994c27
Misc
2009-11-13 01:36:09 +00:00
verbguy
6fe23f8f33
commit missing Solaris inline assembly routines - SPARC and AMD64
2009-11-10 15:53:38 +00:00
verbguy
09b03c3196
fix Sun Studio build - int64_t type name is unknown
2009-11-10 15:16:30 +00:00
alexpeshkoff
ae14324dbe
Added license
2009-11-06 18:09:00 +00:00
asfernandes
87e274b76a
Misc
2009-11-06 01:21:14 +00:00
alexpeshkoff
1742eca1f3
Use correct type in class instead adding static_cast<> here and there
2009-11-05 11:56:26 +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
robocop
01237d509d
Misc.
2009-11-05 08:27:03 +00:00
hvlad
996ce01cb5
Fix Win32 build
2009-11-04 15:48:17 +00:00
hvlad
cd4502a7bb
Make WIN32 build work. To be reviewed by Alex.
2009-11-04 15:18:38 +00:00
robocop
f9a571343f
Misc.
2009-11-04 13:05:30 +00:00
alexpeshkoff
bc99c22556
Some hanges suggested by Claudio, also fixed compile errors
2009-11-04 11:37:10 +00:00
robocop
1990db7c9c
Misc (hope the change is for better).
2009-11-04 10:51:27 +00:00
alexpeshkoff
c40737ca56
cleanup unused NDEBUG macro
2009-11-04 10:04:33 +00:00
alexpeshkoff
d91792c9e2
Added initialization - thanks to Adriano
2009-11-04 09:50:37 +00:00
alexpeshkoff
27ca1a00dd
Added forgotten new file - thanks to Adriano
2009-11-04 09:39:25 +00:00
asfernandes
bcee7417c4
1) Misc; 2) Fix bad indenting
2009-11-04 00:20:56 +00:00
verbguy
5148da5cd8
fix Sun Studio error, "a union member cannot have a user-defined assignment operator," per Adriano's suggestion
2009-11-03 15:02:11 +00:00
alexpeshkoff
00affefdb0
Small fixes after changing memory manager
2009-11-03 13:33:53 +00:00
alexpeshkoff
4dc99001af
Vulcan improvement - keep reason of locking to be viewed by debugger
2009-11-03 13:31:24 +00:00
alexpeshkoff
2d0701f96e
Merged vulcan memory pools
2009-11-03 13:30:37 +00:00
robocop
a8b74e0a3b
CORE-1712: Another B.O. bites the dust.
2009-11-03 10:00:57 +00:00
verbguy
5e904927f7
front port recent 2.5 HPUX changes
2009-11-02 21:08:58 +00:00
asfernandes
4a3d198ade
Misc
2009-10-31 01:46:06 +00:00
robocop
b304b96224
Misc.
2009-10-30 10:43:42 +00:00
asfernandes
ed0e0daeb3
- External Engines implementation.
...
- Plugins API.
- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.
- Fixed CORE-2699 - Common table expression context could be used with parameters.
- Introduce ODS 12.0.
- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
asfernandes
5f852e3bd1
Misc
2009-10-08 00:21:27 +00:00
alexpeshkoff
7d08867e27
Fixed CORE-2669: Enhance diagnostics in case of status vector overflow
2009-10-07 08:22:01 +00:00
alexpeshkoff
749675cf6d
Cleanup
2009-10-06 12:51:34 +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
alexpeshkoff
d0f2c3a623
Assertion added
2009-09-30 08:51:04 +00:00
asfernandes
90dfb9a411
Misc
2009-09-30 01:10:11 +00:00
verbguy
56f291e05f
HP-UX changes - 64-bit atomic counters, support for HP-UX 11 v2, and small tweak of build options
2009-09-29 19:13:51 +00:00
alexpeshkoff
b19dacee16
Ported fix for CORE-2634: Performance regression when restoring database with big metadata
2009-09-29 10:35:16 +00:00
verbguy
45bbbe0613
Improvement CORE-2619: make Solaris 10 atomic counters 64-bit
2009-09-28 17:14:24 +00:00
robocop
19323b3801
Misc.
2009-09-22 09:44:03 +00:00
alexpeshkoff
0396da5147
Improvement CORE-2619: make atomic counters 64-bit for 64-bit builds on AIX, linux and with libatomic
2009-09-22 09:08:57 +00:00
asfernandes
2c4ff818df
Misc
2009-09-17 15:55:18 +00:00
verbguy
d80913a37e
Fixed CORE-2315: Better definition of FLOAT_MAX. Tested on AIX.
2009-09-15 15:47:22 +00:00
alexpeshkoff
dda4cd784b
Take into an account case sesitivity - thanks to Claudio
2009-09-14 07:48:54 +00:00
asfernandes
c34a508256
Misc
2009-09-12 01:34:26 +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
38b621fd1b
Misc.
2009-09-10 06:04:54 +00:00
hvlad
46a72fcc51
Improvement CORE-2619 : Make memory and other statistics to work with 64-bit values.
...
Part (a) for Win64 - allow Win64 builds of engine to account memory stats using 64-bit values
2009-09-09 10:23:54 +00:00
asfernandes
9902dfc555
Fix problem verified by Claudio
2009-09-06 15:42:15 +00:00
robocop
dfd4b2114c
Misc.
2009-09-06 06:24:07 +00:00
asfernandes
11ecb659e4
Misc
2009-09-05 18:18:44 +00:00