alexpeshkoff
4b08cccbf0
Dynamic buffer for status vector and dynamic strings in IStatus
2015-02-25 17:03:39 +00:00
alexpeshkoff
6bbf5b07b5
Fixed memory leaks in events API
2015-02-25 14:24:13 +00:00
firebirds
03ae079498
nightly update
2015-02-25 00:15:29 +00:00
alexpeshkoff
7b7d439cef
Lost exception when initializing port with compression - thanks to Claudio
2015-02-24 12:58:27 +00:00
hvlad
291e028ef3
Simplest fix for bug CORE-4698 : typing "add -user SYSDBA -pw masterkey -admin yes" into gsec crashes firebird.exe
2015-02-24 09:15:24 +00:00
firebirds
c636ddcfc6
nightly update
2015-02-24 00:12:34 +00:00
asfernandes
776a1eb8d1
Change to make the generated C API work with latest cloop.
2015-02-23 01:44:29 +00:00
firebirds
b0c9c795d0
nightly update
2015-02-23 00:13:47 +00:00
hvlad
5ca8f757ee
Bit more safety
2015-02-22 16:04:50 +00:00
asfernandes
d2ad309c96
Use RefPtr::assignRefNoIncr so we can clearly see the code is not going to crash.
2015-02-22 15:47:21 +00:00
hvlad
d66a37c86a
Improvement CORE-4696 : No need to flush dirty pages to disk after creation of temporary table index
2015-02-22 11:17:25 +00:00
hvlad
39a137e913
Use attachment's or relation's pool instead of dbb_permanent where it is more suitable.
...
It fixed memory leak from dbb_permanent (CORE-4683)
2015-02-22 11:02:49 +00:00
hvlad
1470f7a61e
Fixed leak of various J-objects in EXECUTE STATEMENT (CORE-4683)
2015-02-22 10:58:28 +00:00
hvlad
93024a2aa0
Fixed regression in 32-bit builds: transaction numbers in sweep info (both trace event and firebird.log message) printed incorrectly
2015-02-22 10:49:56 +00:00
firebirds
67fe5e8eb0
nightly update
2015-02-21 00:13:36 +00:00
dimitr
3ff55133f9
Fixed CORE-4694: "Column unknown" error while preparing a recursive query if the recursive part contains ALIASED datasource in the join with anchor table.
2015-02-20 16:56:04 +00:00
hvlad
44a95e48e6
Fix warning
2015-02-20 15:31:07 +00:00
asfernandes
14bc11c27b
Fixed segfault with events and the remote protocol.
2015-02-20 14:27:22 +00:00
alexpeshkoff
57a1243e97
Do not raise errors when cannot generate unique ID for file, just keep ID empty
2015-02-20 10:40:51 +00:00
hvlad
660f5b0cc5
More memory leaks (CORE-4683)
2015-02-20 09:38:40 +00:00
firebirds
e7a42fe615
nightly update
2015-02-20 00:15:00 +00:00
dimitr
4fd0614875
Misc code simplification.
2015-02-19 19:52:28 +00:00
dimitr
dace560656
Small changes intended to fix SEGV in the release build.
2015-02-19 19:50:22 +00:00
dimitr
2ae888cac2
Protection against exceptions thrown from VIO_verb_cleanup() during commit/rollback.
2015-02-19 15:58:58 +00:00
dimitr
c6f6557d5e
Misc.
2015-02-19 15:53:42 +00:00
dimitr
72c154952b
Postfix for my big commit.
2015-02-19 14:56:10 +00:00
dimitr
6abc6ae7d1
1) Fixed CORE-4382: User savepoints are not released on commit.
...
2) Respect the "no-auto-undo" option when retaining a transaction context.
Thanks to Dimitry Sibiryakov.
2015-02-19 14:43:26 +00:00
dimitr
0b56909d92
Misc.
2015-02-19 14:19:52 +00:00
dimitr
6ae3e2cbaf
1) Fixed CORE-4383: Index and BLOBs garbage collection doesn't work for update_in_place().
...
2) Applied the same approach to temporary GC records.
3) Refactored the Record class to avoid reallocations, to improve encapsulation and to simplify the code.
4) Slightly refactored UndoItem to isolate its logic from the Record class.
5) Reduced the in-memory size of the undo log.
6) Slightly better alternative to the legacy NULL reporting for outer joins.
7) Minor fixes and adjustments in BufferedStream.
2015-02-19 14:15:00 +00:00
dimitr
9872f302be
Misc.
2015-02-19 14:06:48 +00:00
firebirds
3884dcca15
nightly update
2015-02-19 00:16:15 +00:00
asfernandes
47f64b0da4
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
alexpeshkoff
405c494147
Restore useful assert
2015-02-18 14:22:00 +00:00
alexpeshkoff
c585ef929b
Quick fix for posix build after Vlad's changes
2015-02-18 13:39:47 +00:00
dimitr
3f83c345f3
Misc.
2015-02-18 12:55:06 +00:00
dimitr
554d17352d
Misc.
2015-02-18 12:54:41 +00:00
hvlad
24112e118e
Attempt to implement thread cleanup for Windows (using DLL entry point).
...
It is used in dispatcher (fbclient.dll) only for now.
Fixed potential memory leak in StringsBuffer (it was possible to allocate few ThreadBuffer's for the same thread), see CORE-4683.
2015-02-18 12:44:32 +00:00
firebirds
0ca48438d8
nightly update
2015-02-18 00:16:57 +00:00
asfernandes
c861f0cd54
Revert my last change after it broke the Windows build.
2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
alexpeshkoff
ecb5a4c057
Minor enhancement - added switch to avoid hangs when running TCS
2015-02-17 14:13:16 +00:00
alexpeshkoff
f8a9d903e2
Unlink JResultSet from DsqlCursor when cursor is closed due to end of transaction - this fixes AV in tcs/BLOB.0.DSQL
2015-02-17 11:42:50 +00:00
firebirds
f1a5ed749b
nightly update
2015-02-17 00:14:17 +00:00
hvlad
79b760b4ac
Memory leak (CORE-4683)
2015-02-16 13:57:28 +00:00
hvlad
e21e534e30
Memory leak (CORE-4683)
2015-02-16 13:56:13 +00:00
hvlad
d15830d15a
Two small memory leaks (CORE-4683)
2015-02-16 13:54:47 +00:00
hvlad
d39e1f0a9f
Correct accounting of mapped memory
2015-02-16 13:53:03 +00:00
firebirds
7331474059
nightly update
2015-02-16 00:14:36 +00:00
dimitr
03682a1a8b
Misc.
2015-02-15 13:25:54 +00:00
dimitr
ab81e4c1a3
Misc.
2015-02-15 10:38:01 +00:00
firebirds
f02ca26e3d
nightly update
2015-02-15 00:13:01 +00:00
asfernandes
9ece682387
Misc.
2015-02-14 18:55:00 +00:00
firebirds
e280bca0f9
nightly update
2015-02-14 00:13:55 +00:00
firebirds
39fe8eff93
nightly update
2015-02-13 00:14:18 +00:00
egorpugin
38a8739441
[build] [cmake] Fix issue with PATH on linux.
2015-02-12 15:50:35 +00:00
firebirds
23d2f24d25
nightly update
2015-02-12 00:15:04 +00:00
egorpugin
5edfb0650a
[build] [cmake] Fix Windows build.
2015-02-11 17:00:58 +00:00
alexpeshkoff
24b3d5cbc1
One more attempt to fix windows build
2015-02-11 16:31:12 +00:00
alexpeshkoff
93eee6cc95
This should fix windows build
2015-02-11 15:30:33 +00:00
asfernandes
e02bf841ad
Move Helper class from UDR to the main interface header. Use proper (argh) ref. counting in the ExternalContext::get* methods.
2015-02-11 15:12:18 +00:00
asfernandes
6ab3e382e4
Increase FB_API_VER to 30.
2015-02-11 15:11:54 +00:00
alexpeshkoff
db73652a03
Fixed posix build
2015-02-11 10:19:57 +00:00
dimitr
11a9b5fc36
Change the status handling a little.
2015-02-11 09:20:51 +00:00
hvlad
20bae962d3
Fixed bug CORE-4688 : Recovery after stack overflow exception is not complete
2015-02-10 14:17:23 +00:00
firebirds
2560be77ae
nightly update
2015-02-10 00:15:10 +00:00
asfernandes
95dbb7395e
Misc.
2015-02-09 14:39:36 +00:00
asfernandes
f1d6ed56a4
Fixed fb_get_database_handle and fb_get_transaction_handle.
2015-02-09 14:24:37 +00:00
alexpeshkoff
9a7c7a6c31
Fixed CORE-4685: Accessing DB in invalid manner when links (hard or symbolic) are used for it
2015-02-09 14:08:31 +00:00
firebirds
23ec9f7118
nightly update
2015-02-08 00:20:44 +00:00
egorpugin
27fea40d94
[build] [cmake] Add ICU setup section. Add clang ifdef.
2015-02-07 16:07:04 +00:00
alexpeshkoff
e231da4666
warnings
2015-02-07 14:57:23 +00:00
alexpeshkoff
89fe43a4a5
Use last chance to catch exceptions in utilities - sometimes it may be useful
2015-02-07 12:57:40 +00:00
dimitr
4454a3f8be
Fixed CORE-4684: Error while preparing a complex query ("Too many Contexts of Relation/Procedure/Views. Maximum allowed is 256").
2015-02-07 10:57:13 +00:00
firebirds
9d2699650c
nightly update
2015-02-07 00:15:29 +00:00
asfernandes
f776db3b14
Warning.
2015-02-06 14:39:19 +00:00
egorpugin
3406adde65
[build] [cmake] Add missed dependencies.
2015-02-06 14:28:54 +00:00
egorpugin
25fd28f604
[build] [cmake] Call custom commands via scripts.
2015-02-06 12:58:17 +00:00
firebirds
b7ef59a8fe
nightly update
2015-02-06 00:14:11 +00:00
hvlad
3ca5a7b007
It should fix regression CORE-4653 : Crash on infinite mutual SP calls (instead of "Too many concurrent executions of the same request.")
2015-02-05 23:04:36 +00:00
egorpugin
e50c2a4708
[build] [cmake] Do not place boot targets into output directory.
2015-02-05 06:36:23 +00:00
firebirds
968ba029f5
nightly update
2015-02-05 00:44:51 +00:00
smirnoffjr
1b0fc3387a
Small fix for generic UNIX Mnt::get() implementation
2015-02-04 13:37:51 +00:00
dimitr
94f2b810d4
Misc improvements.
2015-02-04 12:53:58 +00:00
dimitr
61ca786437
Cleanup and simplification.
2015-02-04 12:43:01 +00:00
firebirds
53ccf2388f
nightly update
2015-02-04 00:12:32 +00:00
dimitr
c8d6349c77
Replace a verb-cleanup bugcheck with regular error + transaction invalidation.
2015-02-03 16:31:05 +00:00
dimitr
0cbb81daed
Added new error message.
2015-02-03 16:16:28 +00:00
dimitr
881b326f0b
Minor improvements to Arg::StatusVector.
2015-02-03 16:12:23 +00:00
asfernandes
69ccf374b7
Fix Windows (cmake only) build. Linux build currently is not using udr_plugin.vers when linking examples/udr.
2015-02-03 14:56:20 +00:00
alexpeshkoff
6d7af88734
WIP on CORE-3885: Firebird for Android, AI_V4MAPPED flag not supported, now server startup succeeds
2015-02-03 14:24:54 +00:00
dimitr
3986cb883c
Fixed a mistake.
2015-02-03 11:03:33 +00:00
dimitr
7be19d2778
Small refactoring.
2015-02-03 10:33:39 +00:00
egorpugin
269e1a26ab
[build] [cmake] Add 'gfix -write async' command on databases during build. Fix clang+linux build.
2015-02-03 07:10:47 +00:00
dimitr
7c6a608ad8
Fixed one of my last commits, thanks to Adriano.
2015-02-03 06:48:50 +00:00
asfernandes
8a3bf7529a
Warnings.
2015-02-03 00:43:30 +00:00
firebirds
ca802d0e96
nightly update
2015-02-03 00:15:22 +00:00
alexpeshkoff
7bcfa91654
WIP on CORE-3885: Firebird for Android, databases may be created, trivial requests run in embedded mode
2015-02-02 17:14:06 +00:00
alexpeshkoff
dba8dcd9e9
WIP on CORE-3885: Firebird for Android, ignore pseudo-error caused by Google bug
2015-02-02 15:25:45 +00:00
dimitr
8d28efe1b5
Fixed CORE-4075: Server bugchecks or crashes on exception in calculated index. First part of the fix.
2015-02-02 09:27:38 +00:00
dimitr
6addf917b5
Additional fix for CORE-4673: Computed index based on a computed column stores NULL for all its keys.
2015-02-02 08:53:32 +00:00
firebirds
f177f113fe
nightly update
2015-02-02 00:12:56 +00:00
egorpugin
23178f0d09
[build] [cmake] Move some projects to Boot folder. Improve generating of build_msg and codes. Fix Windows issue with databases.
2015-02-01 16:43:35 +00:00
firebirds
31ccad8148
nightly update
2015-02-01 00:13:49 +00:00
egorpugin
5bb8d48e3f
[build] Fix OS X build: removed extra qualification on member Mnt().
2015-01-31 15:04:14 +00:00
firebirds
50ba077282
nightly update
2015-01-31 00:14:04 +00:00
egorpugin
acbd633e45
[build] [cmake] Make 'remote' and 'common' targets private for 'yvalve' target.
2015-01-30 20:23:34 +00:00
alexpeshkoff
f8921b668c
WIP on CORE-3885: Firebird for Android, fix ICU load
2015-01-30 17:25:35 +00:00
dimitr
a212d550e8
Simplest possible fix for regression CORE-4673: Computed index based on a computed column stores NULL for all its keys.
2015-01-29 15:16:00 +00:00
dimitr
9a402f4921
Removed the redundant code (accidental copy-paste remaining), thanks to Adriano.
2015-01-29 10:47:11 +00:00
dimitr
0707f3a747
Fixed CORE-4675: Conditions like WHERE <field> = <cursor>.<field> don't use existing index.
2015-01-29 10:26:27 +00:00
egorpugin
121c8bc1aa
[build] [cmake] Extract ICU and zlib only once.
2015-01-29 07:10:47 +00:00
hvlad
71a77fe82a
Correct use of CRT.
2015-01-28 17:12:57 +00:00
alexpeshkoff
af885a150f
Fixed a bug introduced by me when working on CORE-3658 3 years ago
2015-01-28 17:00:12 +00:00
egorpugin
0ee8474f1c
[build] [cmake] Set engine12_common target's type to OBJECT (library).
2015-01-28 14:52:48 +00:00
dimitr
d1b4bfc0fc
Fixed my yesterday's commit (forgotten part).
2015-01-28 09:01:55 +00:00
dimitr
865f30b7d4
Fixed my yesterday's commit.
2015-01-28 08:15:42 +00:00
egorpugin
0c20b47e2c
Improve Qt+MSVC build. Fix some messages. Crosscompiling improvements (add some defines).
2015-01-27 14:37:59 +00:00
alexpeshkoff
69cdd58f19
Work in progress on CORE-3885: Firebird for Android, build is complete
2015-01-27 10:46:48 +00:00
dimitr
6271ba0476
Removed debugging option.
2015-01-27 10:33:10 +00:00
dimitr
cc8cc680a3
Core (engine-level) support for scrollable DSQL cursors. Fixed the IResultSet API to match the JDBC spec. Renamed FB_EOF to FB_NO_DATA. Refactored some DSQL internals.
2015-01-27 10:29:30 +00:00
alexpeshkoff
dcc5dfbba9
cleanup
2015-01-27 10:21:36 +00:00
dimitr
f07f8a68c8
Attempted to fix the incorrect events wrapping, causing hangs/crashes and memory leaks.
2015-01-26 21:33:56 +00:00
egorpugin
7fbb9837ae
[build] [cmake] Fix crosscompiling for android on linux.
2015-01-26 19:20:48 +00:00
egorpugin
d75a3ec4d6
[build] [cmake] Update build according to the last changes.
2015-01-26 15:23:27 +00:00
dimitr
16b0750225
This should fix the Windows build.
2015-01-26 14:39:48 +00:00
hvlad
43f67462e2
Improvement CORE-4671 : Release internal temporary blobs early to free some memory\disk space
2015-01-26 14:15:54 +00:00
dimitr
aaa2936941
Fixed CORE-4670: Constraint violation error may be swallowed in some cases.
2015-01-26 10:51:05 +00:00
egorpugin
4ea86e5205
[build] [cmake] Fix build, typos. Move some projects to 'Boot' dir.
2015-01-26 07:56:51 +00:00
asfernandes
5e2d7ba3e7
Fix.
2015-01-25 22:24:41 +00:00
asfernandes
e9f74f04d1
Improvements to the UDR plugin.
2015-01-25 20:27:46 +00:00
asfernandes
f9dff2cfdc
Make methods const.
2015-01-25 20:27:18 +00:00
firebirds
3893b38b7b
nightly update
2015-01-25 00:14:05 +00:00
hvlad
a07e2ff547
Frontportred fix for bug CORE-2848 : "lock conversion denied" or "lock denied" error
2015-01-24 11:49:18 +00:00
firebirds
a7222b6868
nightly update
2015-01-24 00:13:28 +00:00
alexpeshkoff
be0c509588
Fixed static area corruption in ISC_expand_nfs, should fix CORE-4644: Get both "335545060 : Missing security context " and "335544344 : I/O error during "open" operation" for existing database under heavy concurrent DML
2015-01-22 12:50:20 +00:00
hvlad
a0cee158a0
Make shared memory header same size independent on OS.
...
Introduce shared memory header version.
2015-01-22 10:35:57 +00:00
alexpeshkoff
1bfe2d7cb4
Fixed CORE-4624: Firebird won't start under Docker
2015-01-22 10:32:20 +00:00
alexpeshkoff
fd0b06e567
Enhance diags
2015-01-22 10:23:33 +00:00
egorpugin
14163d7e3e
[build] [cmake] Initial CMake build system commit.
2015-01-21 11:21:51 +00:00
egorpugin
d397e68a48
[build] [cmake] Prepare sources for CMake building. Add clang preprocessor defs, ARM architecture defs, some Android-related defs. Add 'qsort_r' function search to configure.ac.
2015-01-21 11:11:04 +00:00
hvlad
8216554413
Fixed my error at patch for CORE-4565. It was the reason of false "lock denied" errors.
2015-01-21 09:18:18 +00:00
dimitr
4e7d2da77c
1) Make xnet://db connection strings useful with forward slashes
...
2) Unified port numbers / protocol names syntax (thus allowing custom ports in inet://host/db connection strings)
2015-01-20 18:59:18 +00:00
alexpeshkoff
0e0a37be81
Public header cleanup
2015-01-19 12:58:00 +00:00
firebirds
d813d2b749
nightly update
2015-01-19 00:14:49 +00:00
asfernandes
c697a0268a
Fixed problem of local templates being not allowed in pre-C++-11 code.
2015-01-18 14:53:06 +00:00
asfernandes
96e003bbc3
Add iberror.h in the place so that external code may point to the development tree include files.
2015-01-18 14:52:50 +00:00
dimitr
a3151fc71f
Better diagnostics.
2015-01-18 09:05:38 +00:00
firebirds
cc86bd7579
nightly update
2015-01-18 00:16:51 +00:00
dimitr
8adfd0a38a
Fixed CORE-4668: Select from mon$table_stats doesn`t work on SC and CS.
2015-01-17 18:05:53 +00:00
firebirds
c2be376418
nightly update
2015-01-17 00:15:43 +00:00