alexpeshkoff
6a48bd8e14
Fixed problems when config file is missing
...
Make config manager and it's external interfaces work with 64-bit integers
Added support for boolean values (like 'true' & 'yes') to external config interfaces
Added support for kmg multipliers to config manager
2013-03-28 13:43:18 +00:00
hvlad
05126afd12
Well, there is a case where relative path could contain drive letter, for ex. C:xxx\yyy\zzz.
...
Correct first version of code.
2013-03-28 13:15:03 +00:00
hvlad
623f0c392f
If path contains drive letter - it is definitely not relative path
2013-03-28 12:04:14 +00:00
alexpeshkoff
78c670f7e4
Fixed case with empty path - thanks to Dmitry Kovalenko
2013-03-28 07:24:25 +00:00
alexpeshkoff
1560043bb9
Aproximate change for windows - not checked
2013-03-27 12:32:35 +00:00
alexpeshkoff
e4356e4b46
Added operator include to config files
2013-03-27 11:45:02 +00:00
asfernandes
28f05f168b
Refactor.
2013-03-27 01:34:10 +00:00
dimitr
b35f78f546
A more clever implementation of the assertion macros. It suppresses С4390 warnings and pleases the /W4 warning level at the same time, without any need for the new macros.
2013-03-24 06:19:19 +00:00
alexpeshkoff
0e5e9ffdfb
Rolled back my change - it breaks setting FIREBIRD in environment without "/" in the end
2013-03-22 14:03:04 +00:00
alexpeshkoff
14c858ddd0
Improvement from Dmitry Kovalenko
2013-03-19 07:24:57 +00:00
dimitr
a5fcd897b3
Warnings.
2013-03-18 13:10:36 +00:00
alexpeshkoff
a2dd7e211f
Ugly fix for CORE-4066, but looks like here g++ is too strong in type correctness.
2013-03-18 10:50:37 +00:00
asfernandes
a412ef75bf
Misc.
2013-03-17 20:36:56 +00:00
alexpeshkoff
afa0770781
1. Fixed broken by me a few time ago server shutdown.
...
2. Implemented prototype of TLS-based debugging helper holding information about 'What does firebird do now?"
Currently it's more or less ready for use with JAttachment::release().
2013-03-15 16:37:32 +00:00
dimitr
6af4fe0702
Disallowed default copying and assignment in sync wrappers. Fixed a theoretically possible handle leak in the condition class. Thanks to Dmitry Kovalenko.
2013-03-12 09:39:38 +00:00
asfernandes
0d299d455a
Remove FbMessage struct from the API.
...
This struct lost its main value (group various blr-related properties in a single parameter).
And since openCursor/fetch already split the message/buffer, it does not make sense anymore to have it.
2013-02-26 03:42:19 +00:00
asfernandes
5c436f8d91
Misc.
2013-02-21 23:25:10 +00:00
alexpeshkoff
33b4336028
Enhancements of IMetadataBuilder
2013-02-21 14:59:24 +00:00
asfernandes
1d1f81bdc9
Replaced ICoerceMetadata with IMetadataBuilder and add a builder creator method in IMaster.
...
This change is to make applications who define they own message format (without metadata inspection and coercion) to easily create its IMessageMetadata.
2013-02-20 19:41:01 +00:00
alexpeshkoff
ede0465023
Assertion suggested by Dmitry Kovaalenko
2013-02-20 13:17:32 +00:00
alexpeshkoff
ba9413b26a
Add IStatement::getFlags() to help user make a solution what to do with SQL statement
2013-02-19 11:20:49 +00:00
alexpeshkoff
7ab231a713
A number of fixes related with ICoerceMetadata interface - thanks to Adriano
2013-02-18 11:06:52 +00:00
asfernandes
ddc4d4eac3
Misc.
2013-02-17 23:06:40 +00:00
alexpeshkoff
fc12495d0e
Modified IStatement interface in our API:
...
1. Never allocate empty statement - always use att->prepare() to create statement interface
2. Separated IStatement into 2 parts - statement itself and resultset.
3. Added stmt->openCursor() (and att->openCursor() for unprepared statements) to create IResultSet.
4. Always use IMessageMetadata (former IParametersMetadata) to pass message fromat info from client,
therefore avoiding need in BLR generation in client applications.
2013-02-17 12:08:53 +00:00
dimitr
bf716e4e3f
Cleanup.
2013-02-09 05:47:19 +00:00
asfernandes
d394515355
Misc.
2013-01-31 00:33:23 +00:00
dimitr
0c2a0fead7
This trivial optimization saves a few percents of performance when reading/writing DBKEYs from/to compatible local variables.
2013-01-24 09:30:38 +00:00
alexpeshkoff
f1ac4750f6
warning
2013-01-15 11:39:41 +00:00
hvlad
44b00c81e7
VC10 still have no support for __func__
2012-12-20 10:42:36 +00:00
asfernandes
9b72aa53bc
Misc.
2012-12-19 00:56:57 +00:00
alexpeshkoff
b3f9759960
Take locks in AST before building tdbb
...
Fixed assertion in CCH_exclusive_attachment
Rolled back my changes required to let cancelOperation() enter engine after shutdown
Better locks' history in SyncObject
2012-12-18 13:54:18 +00:00
dimitr
d85bbd6c87
Fixed (mostly) the Windows build.
2012-12-15 08:07:39 +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
dimitr
bc1edae943
Added the initialization timestamp to shmem regions. Modified the lock print output to report this timestamp. This is useful to know as all the counters inside the lock table are incremental and a baseline is required to make any time-based estimations.
2012-12-06 08:13:45 +00:00
asfernandes
9727c2685b
Misc.
2012-12-02 01:45:18 +00:00
dimitr
21ac7882da
Misc.
2012-11-20 17:12:25 +00:00
dimitr
afe6692c18
Misc.
2012-11-20 16:34:54 +00:00
dimitr
2f7643a689
Better sync with Firebird::Array.
2012-11-20 16:32:20 +00:00
alexpeshkoff
123d5b0a40
Misc
2012-11-12 08:51:41 +00:00
alexpeshkoff
dcd019400a
Frontported forgotten change from 2.5
2012-11-05 08:20:57 +00:00
asfernandes
6a0a6f2d13
Misc.
2012-11-05 01:14:04 +00:00
hvlad
4875c235a7
Fixed Windows build after recent Alex's changes
2012-11-03 10:55:16 +00:00
alexpeshkoff
57e5936d44
Avoid use of namespace Jrd in common file isc_sync
2012-11-02 16:27:12 +00:00
alexpeshkoff
c5278dea9b
Removed debugging
2012-11-02 15:39:37 +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
dimitr
b37c76561c
Wiped out the code that never worked due to the missing support for native quads.
2012-11-01 01:45:01 +00:00
dimitr
3dd0507b96
Wiped out the code that never worked due to the missing support for native quads.
2012-11-01 01:36:27 +00:00
asfernandes
8ce4b582f4
Fixed CORE-3946 - UNICODE collations does not work with ICU 49.
2012-10-11 15:58:57 +00:00
hvlad
41c3f6f2a5
Fix compilation
2012-10-08 21:52:31 +00:00
asfernandes
e339e46732
Fixed CORE-3947 - Wrong results when the column with collation using option (NUMERIC-SORT=1) is in where clause.
2012-10-05 19:02:32 +00:00
alexpeshkoff
51014eba78
Front-ported fix for CORE-3740: SELECT using IN list with >413 elements causes crash
2012-08-29 13:20:24 +00:00
dimitr
7869eb9bbd
Fixed the server crash in Stack::assign().
2012-08-13 16:50:57 +00:00
robocop
f601bbdb8b
Misc.
2012-08-08 02:20:30 +00:00
mkubecek
2257f7d6ed
Do not prepend DatabaseAccess paths to connection strings.
2012-07-24 07:54:48 +00:00
dimitr
19eaa2f355
Wiped out the legacy compatibility option.
2012-07-11 12:54:08 +00:00
asfernandes
b31f4d9b94
Frontport UUID fixes (CORE-3238 and CORE-3887).
2012-07-11 01:56:37 +00:00
alexpeshkoff
dbe4674d1c
Fixed for posix CORE-3875: GBak does not check correctly parameters and backups random database with -B ":"
2012-06-27 11:53:08 +00:00
alexpeshkoff
d54b20443b
No need in entry for this type of plugins in conf file - plugin name is taken from SQL command or DB header
2012-06-25 13:02:51 +00:00
alexpeshkoff
b91c68bb30
Cross-build support + android port: work in progress, currently can build fbclient for android
2012-06-22 11:39:24 +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
dimitr
2b91f6fcbc
Removed the faulty debug break and reworked the code a bit to be more useful.
2012-06-18 16:51:30 +00:00
alexpeshkoff
ec99aff55f
Implemented CORE-3594: Include expected and actual string length into error message
2012-06-06 11:06:31 +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
robocop
844b15bd13
Misc and style.
2012-05-20 10:00:52 +00:00
asfernandes
a2b389f1db
Getting rid of dsql_nod.
2012-04-25 01:42:47 +00:00
asfernandes
580172419b
Misc.
2012-04-23 00:48:28 +00:00
alexpeshkoff
be7c05022c
Fixed 32-bit posix build
2012-04-21 05:16:16 +00:00
robocop
dd421f9195
Misc.
2012-04-10 01:40:30 +00:00
hvlad
ab8382af92
Make Windows version of ISC_systemToUtf8() and ISC_utf8ToSystem() to work with strings longer than MAX_PATH
2012-04-08 10:23:23 +00:00
asfernandes
fa861b6e95
Misc.
2012-04-05 18:28:44 +00:00
alexpeshkoff
68f70db25c
Misc
2012-04-04 12:54:27 +00:00
alexpeshkoff
6ec62baea0
Better organize code - thanks to Claudio
2012-03-30 14:41:00 +00:00
hvlad
cd63621702
Small refactoring
2012-03-30 14:15:08 +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
alexpeshkoff
1a1e8b61d5
Make parameters block intl converter deal with crazy isc_spb_command_line format
2012-03-30 12:27:19 +00:00
alexpeshkoff
645c412ac4
Fixed CORE-3770: fbtracemgr loads CPU up to ~55% when no activity is present
2012-03-27 13:16:44 +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
paulbeach
95d274f249
Allow compile on Darwin
2012-03-22 13:09:04 +00:00
alexpeshkoff
75ed7943cd
Added cleanup code - thanks to Claudio
2012-03-21 09:31:50 +00:00
asfernandes
dd46c387fb
Misc.
2012-03-17 02:26:59 +00:00
asfernandes
870f03877a
Corrections.
2012-03-17 02:26:26 +00:00
alexpeshkoff
e92f494e72
Finished with conversions of all strings in both kinds of SPBs (attach/start) to UTF8
2012-03-16 17:10:31 +00:00
alexpeshkoff
55cb58fd32
System to UTF8 conversion on non-Windows systems
2012-03-16 17:08:24 +00:00
alexpeshkoff
4f4998a9b5
Misc
2012-03-16 12:46:32 +00:00
alexpeshkoff
e0eda0c873
Fixed use of UTF8 strings in services
2012-03-15 15:05:31 +00:00
alexpeshkoff
5da425d788
Comments
2012-03-14 13:46:17 +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
asfernandes
1758b1fdbe
Misc.
2012-03-10 15:37:52 +00:00
alexpeshkoff
ced1e89661
Mac port
2012-03-10 14:01:38 +00:00
alexpeshkoff
8a33676a05
Misc
2012-03-10 12:28:27 +00:00
alexpeshkoff
6c3dd9da4a
Mac port
2012-03-06 13:29:28 +00:00
robocop
174e958f46
Style.
2012-03-05 22:20:54 +00:00
hvlad
7124c3bc15
Fixed Win32 build
2012-03-02 12:12:15 +00:00
hvlad
52f3ed895e
Fixed Windows build
2012-03-01 18:18:46 +00:00
alexpeshkoff
bb034da477
Restore separate datatypes for thread ID and handle according to Vlad's request. They match on posix build, but supposed to be different on windows.
2012-03-01 15:47:01 +00:00
hvlad
686702c2cb
Isolate POSIX-related code
2012-03-01 14:55:28 +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
alexpeshkoff
462822f4cd
cleanup
2012-02-27 13:50:09 +00:00
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