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

1863 Commits

Author SHA1 Message Date
alexpeshkoff
5714853583 Fixed non-linux posix builds 2014-08-20 10:07:19 +00:00
robocop
a623b39950 Misc. 2014-08-17 04:17:48 +00:00
dimitr
0fa3945f6a Corrections for the prior commit:Explicitly distinguish between thread handle and thread id. Return LWP as thread id on Linux. 2014-08-15 14:59:38 +00:00
dimitr
36af3d8cb2 Cleanup and small refactoring to avoid redundancy. 2014-08-15 14:19:02 +00:00
alexpeshkoff
5bb75f4fb1 Fixed parameters when using ITimer interface for SYSV-semaphores build 2014-07-30 13:14:31 +00:00
alexpeshkoff
532181a7f9 Renamed as suggested by Nickolay and Dmitry 2014-07-28 13:01:10 +00:00
asfernandes
5851f7e8d3 Warnings. 2014-07-27 23:33:50 +00:00
asfernandes
8bbd309e67 Improvement CORE-4484 - Description (COMMENT ON) for package procedures and functions, and its parameters. 2014-07-27 03:05:44 +00:00
alexpeshkoff
4bdc2a3e19 Replaced macro FB_ALIGN with function fbAlign, minor related cleanup 2014-07-24 06:41:38 +00:00
asfernandes
6488dfed7f Misc. 2014-07-18 01:52:24 +00:00
skidder
e2e901939c Fix GCC warnings 2014-07-17 21:17:15 +00:00
skidder
ae02639968 Fix GCC build broken with last commit 2014-07-17 19:17:11 +00:00
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
asfernandes
fa0c3dd11c Misc. 2014-07-10 02:21:18 +00:00
alexpeshkoff
2b066db7ab Fixed CORE-4478: Failure to load provider/plugin not reported 2014-07-04 08:25:49 +00:00
alexpeshkoff
a9721f18e0 Added first parameter IStatus* to a lot of functions in API interfaces 2014-07-02 12:57:12 +00:00
asfernandes
3233fca7f5 Misc. 2014-07-02 02:22:40 +00:00
alexpeshkoff
f1e3ba674b Fixed CORE-4475: attempt to create lock files directory fails during cleanup 2014-06-30 11:45:53 +00:00
asfernandes
08f3a00cb0 Misc. 2014-06-20 02:28:22 +00:00
alexpeshkoff
acc74efb75 Current HPUX reported to support __thread 2014-06-19 12:44:46 +00:00
alexpeshkoff
61e882e926 HPUX port - fixed assertion for RISC machines with compiler missing __thread support 2014-06-19 12:25:16 +00:00
alexpeshkoff
77e9c376ef Front-ported needed AIX port changes 2014-06-18 12:20:29 +00:00
asfernandes
38dcfb7700 Avoid warnings. 2014-06-11 15:39:45 +00:00
asfernandes
fd7983167c Fixed the Windows build. 2014-06-11 15:21:18 +00:00
alexpeshkoff
6a2016235a Fixed CORE-4435: After calling release() for attachment to database (instead detach) in embedded mode attachment remains active forever (and some cleanup re. reference counters) 2014-06-10 07:13:34 +00:00
asfernandes
bb735cb5a2 Misc. 2014-05-23 02:12:56 +00:00
alexpeshkoff
dd549a0a4d Arm64 port 2014-05-22 10:47:03 +00:00
alexpeshkoff
befcba7105 Fixed issues related to encoding of switch value in gbak/nbackup - thanks to Adriano. Added support for -SKIP_DATA to services. 2014-05-21 13:11:43 +00:00
alexpeshkoff
be0f72fa6e Fixed assertion reported by Pavel Zotov privately, took typical measures to avoid such behavior in the future 2014-05-20 08:05:16 +00:00
asfernandes
88f58e409f Misc. 2014-05-08 02:51:12 +00:00
alexpeshkoff
854aa5ec96 Change Hash duplicates control interface to avoid unexpected use - thanks to Claudio 2014-05-07 09:18:52 +00:00
robocop
2a9f17ec6d I need name_length_limit() for testing some isql functionality. 2014-05-06 22:41:24 +00:00
alexpeshkoff
148f60aa94 Fixed support of maps with same hash value 2014-05-06 10:07:08 +00:00
robocop
1bb6f45b89 Misc. 2014-05-01 05:29:19 +00:00
mapopa
9176e2f4f6 VMS cleanup 2014-04-30 09:14:20 +00:00
hvlad
bb2c97fb0c MSVC 12 support, very first step 2014-04-28 12:50:31 +00:00
alexpeshkoff
a98e565571 Fixed CORE-4303: Possible races while Service destruction, related code cleanup 2014-04-25 10:59:34 +00:00
alexpeshkoff
1920804fb2 Missing return - thanks to Claudio 2014-04-23 12:43:20 +00:00
alexpeshkoff
10346ce4bc Fixed CORE-2119: Use entries in restrict list of ExternalFileAccess parameter to mangle filenames with relative path, also fixed assertion and diagnostics related to EXTERNAL FILE tables 2014-04-22 13:37:14 +00:00
asfernandes
128ec5aee0 Fixed problem with ALTER SEQUENCE. 2014-04-19 22:17:59 +00:00
alexpeshkoff
8c39e4563c Enhanced diagnostics in authentication mapping 2014-04-18 15:33:11 +00:00
robocop
2d7feec2af Simplify QUADCONST definition for Windows. 2014-04-12 06:31:01 +00:00
alexpeshkoff
df78c817e9 Bad name "Buffer" and misc cleanup around 2014-04-09 12:32:02 +00:00
alexpeshkoff
260050f5f2 Patch from Dmitry Sibiryakov - convert SQLDA directly to IMessageMetadata w/o intermediate BLR 2014-04-08 16:13:12 +00:00
robocop
c90d9d4547 Misc. 2014-04-05 01:44:32 +00:00
alexpeshkoff
20e846369e Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names) 2014-04-04 15:57:18 +00:00
alexpeshkoff
ee8fbcd231 fixed build 2014-03-24 09:46:18 +00:00
robocop
66af445e2e Misc. 2014-03-22 20:51:24 +00:00
robocop
6a7d4ca3ff Misc. 2014-03-14 00:42:20 +00:00
alexpeshkoff
bc6ef02abd Make functions in IMessageMetadata non-const like the rest of interfaces 2014-03-12 09:32:10 +00:00
asfernandes
19abcf94fd Cleanup InternalMessageBuffer. 2014-03-09 01:55:42 +00:00
asfernandes
ddd97ce346 Misc. 2014-03-04 02:12:15 +00:00
robocop
ae8f6d6b8f Misc. 2014-03-03 04:37:29 +00:00
alexpeshkoff
86d9a11f6c Mac port 2014-02-26 12:31:20 +00:00
hvlad
d125f5617a Fixed warning by PVS-Studio
Review is appreciated
2014-02-25 14:18:32 +00:00
alexpeshkoff
e19df1d0c9 Fixed posix build and expected logic of the code 2014-02-25 09:27:28 +00:00
robocop
caaf525d3c Misc. 2014-02-25 06:13:30 +00:00
asfernandes
e6ba3d47f2 Improvement CORE-2224 - Upgrade ICU to version 52.1 2014-02-24 16:23:16 +00:00
robocop
1a797ce2f3 Warnings (PVS-Studio). 2014-02-22 07:10:13 +00:00
robocop
fefc8f9d00 Corrections (PVS-Studio). 2014-02-22 07:09:47 +00:00
asfernandes
cb3f15792e Warnings. 2014-02-21 15:47:05 +00:00
hvlad
e98867ce53 Additional patch for bug CORE-4275 (create database fault if fbclient.dll loaded from another directory (Providers = Engine12)): use LOAD_WITH_ALTERED_SEARCH_PATH flag unconditionally 2014-02-18 11:42:58 +00:00
dimitr
60a7b6b623 Increased default number of hash slots. 2014-02-17 15:11:27 +00:00
dimitr
1717dac8de Totally misc. 2014-02-17 15:10:50 +00:00
hvlad
e3b82996a1 Windows only changes:
- try to load DLL's from fbclient's folder if DLL's file name contains no full path 
- if attempt above failed, load DLL using given file name (as is)
- cleanup

It should fix CORE-4275 (create database fault if fbclient.dll loaded from another directory (Providers = Engine12))
2014-02-16 13:26:19 +00:00
alexpeshkoff
26b090c93b Added access to configuration interfaces from IMaster and support for getting configured directories 2014-02-12 11:20:55 +00:00
paulbeach
d730cff39b Darwin port 2014-02-03 08:58:01 +00:00
alexpeshkoff
ca4df415ca Misc enhancements in .conf parser and *.conf.in files 2014-01-31 14:43:25 +00:00
alexpeshkoff
ede5ddeaa5 Misc formattingsrc/common/classes/fb_tls.h 2014-01-23 12:26:03 +00:00
paulbeach
018ef04d69 Darwin port for Firebird 3 2014-01-23 09:46:29 +00:00
alexpeshkoff
078827c8e0 Fixed possible alignment issue 2014-01-20 13:08:56 +00:00
hvlad
4dcfd8750a Fixed bug CORE-4320 : Regression: isql crash when receiving statistics of execution of sql query 2014-01-20 09:13:37 +00:00
asfernandes
48ea42f1c0 Misc. 2014-01-19 20:38:16 +00:00
asfernandes
f3e7be12ba Misc. 2014-01-16 14:52:18 +00:00
alexpeshkoff
1f19455043 Fixed posix build 2014-01-16 13:07:01 +00:00
hvlad
ac9e180d73 Adjusted MSVC10 build. 2014-01-16 11:41:46 +00:00
alexpeshkoff
949defe5e6 Implemented CORE-4317: Make ISQL use new object API with 32-bit length for object sizes (messages, SQL statements, etc.)
Implementation also includes changes in GPRE, but this utility is not complete - only commands, used in ISQL,
are working in code generator for new API.
New interface IUtl is added - it performs tasks, related with database objects (attachment, transaction, etc.),
but not requiring routing in YValve, i.e. client only tasks.
2014-01-15 13:02:08 +00:00
dimitr
a149317d89 Improvement CORE-3881: Extend the error reported for index/constraint violations to include the problematic key value. 2014-01-10 07:49:51 +00:00
asfernandes
0ec5daac05 Misc. 2014-01-06 00:51:37 +00:00
robocop
2810026363 Misc and warnings. 2013-12-29 00:35:50 +00:00
alexpeshkoff
d0a916138f Fixed CORE-4298: fbsvcmgr doesn't recognise sts_record_versions and other sts switches 2013-12-19 13:48:17 +00:00
alexpeshkoff
64b4f89d43 Changed syntax of user definition operators according to discussion in devel
Added virtual table sec$user_attributes with parsed user's attributes
Implemented CORE-2004: Ability to alter user inactive/active
Implemented CORE-2063: Added CREATE OR ALTER USER operator
Implemented CORE-3931: Ability to set comment for the user
2013-12-17 14:20:25 +00:00
alexpeshkoff
72bfd909e6 Fixed CORE-4290: added SQL support to set/drop unlimited list of user's properties 2013-12-10 13:03:39 +00:00
alexpeshkoff
40de1dabb0 Implemented CORE-4290: Extensible property support which can add properties (name-value pairs) to users 2013-12-06 17:10:10 +00:00
alexpeshkoff
02a2e27e5f Cleanup - commented code was invalid, w/o it warnigns are processed correctly 2013-11-26 10:35:30 +00:00
alexpeshkoff
4a8fe5a0de Implemented CORE-4273: Per-database control on access to database from remote stations 2013-11-22 15:21:11 +00:00
alexpeshkoff
1b38b028b8 Scale of variable is signed value 2013-11-22 07:44:22 +00:00
alexpeshkoff
2ab67b56de Fixed CORE-4178: New API should return proper metadata properties, not the historical artifacts 2013-11-22 06:42:40 +00:00
asfernandes
d543daf51a Misc. 2013-11-21 01:17:08 +00:00
alexpeshkoff
096397097c Use better way to ignore unused return value - thanks to Adriano 2013-11-20 12:12:07 +00:00
alexpeshkoff
d6297bebd4 Fixed some gcc warnings 2013-11-19 13:19:11 +00:00
alexpeshkoff
82f1524800 Fixed some more warnings 2013-11-18 14:56:14 +00:00
alexpeshkoff
190ff0ad45 Fixed warning "deleting object of abstract class type" where possible 2013-11-18 13:28:47 +00:00
alexpeshkoff
83db69c849 Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type. 2013-11-18 12:20:23 +00:00
alexpeshkoff
ae5e485cc5 misc 2013-11-14 15:36:59 +00:00
paulbeach
2f00756b93 Fix embedded on MacOS issue with symbolic links and relative paths 2013-11-07 11:17:33 +00:00
alexpeshkoff
8c546c2362 Fixed CORE-4241: Empty password will pass login 2013-10-30 12:46:35 +00:00
alexpeshkoff
9d31e79477 Cleanup - "Authentication" parameter from firebird.conf is overriden by "AuthServer" 2013-10-30 12:23:45 +00:00
alexpeshkoff
5a054cca16 Fix found by Jim Starkey man-in-themiddle attack on ATTACH packet.
That packet may contain database name, command line for service and/or some other important and critical information.
To avoid such attack wire encryption is started before attaching database or service manager, right after connect.
Also should fix a number of issues found in Alpha1 regarding services attach.
2013-10-16 12:53:04 +00:00
asfernandes
51b0d1aca4 Frontport fix for CORE-4244 - Problem with creation procedure which contain adding text in DOS864 charset. 2013-10-15 15:26:34 +00:00
hvlad
b86b3e0380 Fixed bug in downgrade() 2013-10-02 12:41:21 +00:00
alexpeshkoff
9d1683f40b Misc 2013-10-01 09:30:52 +00:00
alexpeshkoff
4fa12124e6 Fixed build with valgrind 2013-10-01 08:08:06 +00:00
alexpeshkoff
18d66a33b4 Cleanup - avoid unneeded generate's argument in SortedArray and Hash 2013-09-24 08:46:10 +00:00
dimitr
c76ea0e7d3 Misc. 2013-09-23 12:27:40 +00:00
dimitr
ddffb4861d Added conditional locking option to Firebird::Sync. 2013-09-22 15:36:57 +00:00
alexpeshkoff
b84835d590 Fixed CORE-4163: Configuration fbtrace.conf contains syntax errors (make trace use native order of config file keys) 2013-09-18 16:03:43 +00:00
dimitr
b1ecbccebb Added comparison operations against string types. 2013-09-18 09:35:39 +00:00
alexpeshkoff
8be8a6ea7f Fixed CORE-4219: Regular expressions with double-slash fail in trace 2013-09-16 13:55:06 +00:00
alexpeshkoff
a3abde8118 Fixed CORE-4211: Embedded engine hangs for 5 seconds when closing 2013-09-09 11:03:46 +00:00
dimitr
6c7aa77117 Temporary bugfix for the thread scheduling issue on Linux. 2013-08-26 10:02:55 +00:00
alexpeshkoff
a8f8465366 Postfix for CORE-3935 & CORE-3944: helps avoid segfaults/deadlocks when shutting down firebird 2013-08-16 12:44:10 +00:00
dimitr
ccef8ee6de Fixed the negative/too-big numbers in the memory stats (CORE-4159). 2013-08-04 09:35:12 +00:00
asfernandes
f931289307 Misc. 2013-07-31 01:21:49 +00:00
alexpeshkoff
8999c92392 Make firebird use as default ICU present on the host 2013-07-29 13:00:23 +00:00
alexpeshkoff
4ca13f7e1b Better debug info 2013-07-26 08:49:47 +00:00
hvlad
b67cbf11ea Fixed memory leak when fbclient library is unloaded manually 2013-07-25 14:21:46 +00:00
hvlad
bcc4c98e1c Avoid deadlock on Windows when DLL's is unloaded and fb_shutdown() was not called by application before FreeLibrary().
This decision is investigated and could be reworked if necessary.
2013-07-22 13:35:04 +00:00
alexpeshkoff
9f3a3be189 Fixed segfault when releasing IMessageMetadata, reported by Dmitry privately. It was bad idea to return to the user interface created by plugin. 2013-07-19 13:51:54 +00:00
alexpeshkoff
4e034c4803 Fixed a bug, related with isc_info_svc_running 2013-07-18 10:08:47 +00:00
paulbeach
42652fa6eb Update mod_loader to use Posix dl functions rather than deprecated NS functions. Add support for embedded mode on MacOSX as an app bundle as well as the existing framework 2013-07-17 11:18:48 +00:00
paulbeach
fa5ac353de Update mod_loader to use Posix dl functions rather than deprecated NS functions. Add support for embedded mode on MacOSX as an app bundle as well as the existing framework 2013-07-17 11:13:46 +00:00
dimitr
9d099cd242 Fixed regression appeared in test bugs.core_2582. 2013-07-16 08:32:27 +00:00
asfernandes
fb41d668ed Fixed CORE-4136 - Sharp-S character treated incorrectly in UNICODE_CI_AI collation. 2013-07-07 01:57:57 +00:00
asfernandes
7cb608d715 Rework on CORE-4125 to work with ICU 3.0. 2013-06-26 02:14:32 +00:00
asfernandes
6514d6ad00 Fixed CORE-4125 - Using COLLATE UNICODE_CI_AI in WHERE clause (not indexed) is extremely slow. 2013-06-25 02:36:35 +00:00
dimitr
73355195e6 Front ported the error code validation. 2013-06-20 16:26:27 +00:00
asfernandes
768b79c361 Improvements and corrections to message builder and UDR. 2013-06-18 15:50:48 +00:00
asfernandes
91e0c3af00 Misc. 2013-06-17 01:13:02 +00:00
hvlad
030dcd999d A cleanup and a few improvements :
- ability to wait with finite timeout
- separate counts of waiting readers and writers
- two interlocked operations are needed when lock granted to a waiting readers (despite of its amount)
2013-06-16 21:28:59 +00:00
hvlad
a50f749cd9 misc 2013-06-16 21:21:33 +00:00
alexpeshkoff
dded09e713 Fix mac build 2013-06-05 12:56:33 +00:00
asfernandes
abea0e695d Misc. 2013-05-27 01:50:57 +00:00
hvlad
52ca2d8725 Fixed bug CORE-4101 : firebird.log contains "I/O error during "write" operation" records but database works correctly 2013-05-22 16:11:50 +00:00
asfernandes
bdbd54b81e Improve external triggers messages to work by field name (instead of field order). 2013-05-22 15:44:05 +00:00
robocop
99c21b988d Misc. 2013-05-21 21:46:28 +00:00
hvlad
f150d6ff32 Enlarge DPB\SPB size limit up to 1MB (as Alex suggested). Former limit (4KB) was too small even to pass contents of standard fbtrace.conf into the trace start service. 2013-05-07 11:52:32 +00:00
dimitr
cd03ccddb8 Corrected the target buffer length. 2013-04-28 14:11:17 +00:00
dimitr
bdbc5ea9e0 Simple fix for CORE-4093: Server crashes while converting an overscaled numeric to a string. It assumes the resulting string being limited in length by the scale (value <= 128). A more generic solution (e.g. disallow overflowing scales) would be appreciated for the trunk. 2013-04-28 13:40:37 +00:00
alexpeshkoff
f6dd12b0c7 Make it resistant to races (avoid violating array boundaries) 2013-04-26 15:59:19 +00:00
asfernandes
f2b24d02ca Misc. 2013-04-21 02:09:45 +00:00
alexpeshkoff
b9a96911ca Avoid extra atomic operations when assigning pointer to the object with pre-incremented counter (like returned from the function) to reference-counted pointer holder 2013-04-17 11:16:06 +00:00
alexpeshkoff
30eb092d48 Make numbers parser behave traditionally - no spaces inside the number 2013-04-15 11:07:30 +00:00
dimitr
5e5514107d Misc and small cleanup. 2013-04-13 16:31:12 +00:00
dimitr
3031034302 Moved ThreadData into the namespace + small cleanup. 2013-04-13 15:07:51 +00:00
dimitr
a95810d476 Fixed typo, thanks to Claudio. 2013-04-13 13:20:46 +00:00
dimitr
55a1eadc2c Misc. 2013-04-13 05:11:37 +00:00
dimitr
1c5062ea23 Fixed CORE-4082: Wrong error message. 2013-04-12 17:59:59 +00:00
asfernandes
6e05b5c21c Fix build with ICU 3.0. 2013-04-12 00:24:34 +00:00
dimitr
8af216f731 Cleanup. 2013-04-11 10:13:47 +00:00
dimitr
f2a72c8285 Finished the 16-bit -> 32-bit conversion for SQL/BLR/buffer/message sizes, this time in the remote provider. The server has been proven to be able to create a procedure longer than 64KB in length and execute it, but more testing is required.
A major battle against 64-bit build warnings were performed.
Additionally, fixed CORE-3943. It does affect compatibility with older servers, but at the minor level.
2013-04-11 10:07:38 +00:00
asfernandes
bca2d1dcd2 Apply patch by Treeve Jelbert to build against ICU 5.11. 2013-04-11 01:03:35 +00:00
alexpeshkoff
b3c33aeeb6 Renamed aliases.conf to databases.conf as suggested by Dmitry 2013-04-08 16:28:05 +00:00
alexpeshkoff
8780552b94 Added support for changing configuration (client and embedded) from API 2013-04-04 13:17:57 +00:00
mapopa
f6f7b62f64 SIGURG is not used , cleanup commented code 2013-04-01 21:40:55 +00:00
asfernandes
871c073279 Refactor. 2013-03-31 15:55:01 +00:00
alexpeshkoff
313e2765c9 Added macros for main firebird directories to config files 2013-03-28 15:35:29 +00:00
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