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