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
firebirds
08824b1110
nightly update
2013-03-18 02:22:15 +00:00
asfernandes
a412ef75bf
Misc.
2013-03-17 20:36:56 +00:00
dimitr
15e4367810
Small refactoring.
2013-03-17 17:35:53 +00:00
dimitr
680d1b4e34
Fixed CORE-4036: Bugcheck or database corruption when attempting to store long incompressible data into a table.
2013-03-17 14:39:09 +00:00
dimitr
c1edf38760
A bit more precise timeout accounting.
2013-03-17 12:20:29 +00:00
dimitr
47c71f35ed
Completed refactoring of the database shutdown. Fixed a few remaining bugs there. Fixed timeout accounting in SS as well as CORE-3817: Forced database shutdown does not work if non-zero delay was specified.
2013-03-17 12:14:25 +00:00
firebirds
cad4767237
nightly update
2013-03-16 01:15:41 +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
firebirds
2061b36760
nightly update
2013-03-14 02:03:51 +00:00
firebirds
37a7f1c40b
nightly update
2013-03-13 01:57:27 +00:00
firebirds
fa5a1f53fd
nightly update
2013-03-12 01:08:36 +00:00
alexpeshkoff
5c0cec6d9f
Fixed CORE-3360: update ... returning ... raises -551 (no perm to update) for a column present only in the returning clause
2013-03-11 15:43:33 +00:00
firebirds
fce4f5cdf2
nightly update
2013-03-11 01:25:03 +00:00
asfernandes
d8a9ec4392
Cleanup.
2013-03-10 20:38:44 +00:00
asfernandes
50475858e2
Misc.
2013-03-10 15:39:13 +00:00
hvlad
50c4099b92
Make tracing VIO works and more easy to use:
...
- log into file instead of console
- rebuild only small set of affected modules when VIO_DEBUG is changed
2013-03-10 14:48:17 +00:00
firebirds
b3ddbb54bb
nightly update
2013-03-10 01:30:50 +00:00
asfernandes
0ee248e062
Add missing entries.
2013-03-09 22:00:16 +00:00
firebirds
9f23d93f10
nightly update
2013-03-09 01:32:56 +00:00
asfernandes
bd237461db
Misc.
2013-03-08 02:37:40 +00:00
firebirds
4279f80096
nightly update
2013-03-08 01:42:18 +00:00
dimitr
86f4b02ef3
1) Cleanup and renaming in the SCL code.
...
2) Reimplemented the USAGE privilege as a separate one.
3) Added USAGE permission checks for generators/sequences and exceptions.
4) Supported USAGE in GRANT/REVOKE for all object types.
5) Refactored SET GENERATOR and ALTER SEQUENCE as true DDL. blr_set_generator is supported only for backward compatibility, it's not generated by DSQL anymore.
6) Added START WITH clause for [RE]CREATE SEQUENCE and CREATE OR ALTER SEQUENCE.
7) Fixed a number of related errors.
2013-03-07 13:59:03 +00:00
firebirds
f10a3c076d
nightly update
2013-03-07 00:49:09 +00:00
firebirds
42b4a19acb
nightly update
2013-03-06 00:49:14 +00:00
firebirds
6d242fd4ae
nightly update
2013-03-05 01:55:31 +00:00
asfernandes
48fd751c6e
Fixing FB_MESSAGE macro and external functions and procedures.
...
Isolate external routines them from request-based ones.
2013-03-04 01:42:58 +00:00
firebirds
c57d45570f
nightly update
2013-03-02 01:03:49 +00:00
firebirds
a554016bb6
nightly update
2013-03-01 01:44:39 +00:00
alexpeshkoff
97b4b8c2c2
Postfix for CORE-3908: Engine leaks memory and crashes when lot of autonomous transactions have been started and finished
2013-02-28 16:23:56 +00:00
alexpeshkoff
3f2477e8f5
Fixed CORE-3908: Engine leaks memory and crashes when lot of autonomous transactions have been started and finished
2013-02-27 14:49:14 +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
firebirds
a75d34b9f6
nightly update
2013-02-26 00:56:11 +00:00
hvlad
2ec6aa1c4b
Ported fix for bug CORE-4051 : Memory leak when sorting big records
2013-02-25 10:14:15 +00:00
asfernandes
91f3944eae
Improvement CORE-4047 - Increase number of input parameters for External Functions (UDFs) to 15.
2013-02-25 02:54:14 +00:00
firebirds
215fc98992
nightly update
2013-02-25 00:43:57 +00:00
asfernandes
b254fb11c7
Revert change of messages to void* in DSQL internals.
2013-02-24 16:26:00 +00:00
firebirds
ddb2e2c4cc
nightly update
2013-02-24 00:45:59 +00:00
asfernandes
53d4d58113
Change message buffers type to void*. It adds some casts, but avoid them in users' code.
2013-02-23 03:09:17 +00:00
firebirds
13d1ba8100
nightly update
2013-02-23 01:03:58 +00:00
firebirds
add88cf85e
nightly update
2013-02-22 00:32:54 +00:00
asfernandes
5c436f8d91
Misc.
2013-02-21 23:25:10 +00:00
firebirds
d8968a817c
nightly update
2013-02-21 00:48:25 +00:00
firebirds
98aac24d44
nightly update
2013-02-20 00:52:46 +00:00
alexpeshkoff
f1779a7398
Do not prefetch unneeded information in IAttachment::openCursor()
2013-02-19 12:03:07 +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
firebirds
7d58701c38
nightly update
2013-02-19 01:09:55 +00:00
alexpeshkoff
37d353d392
Make openCursor() use default output format when none is given explicitly
2013-02-18 13:53:46 +00:00
alexpeshkoff
c34aaed964
Cleanup - thanks to Adriano
2013-02-18 07:54:25 +00:00
firebirds
50088953bc
nightly update
2013-02-18 00:46:08 +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
firebirds
6c92a56074
nightly update
2013-02-16 01:06:07 +00:00
asfernandes
491fdd82b2
Unifying the external engines API with the new ones.
2013-02-15 02:48:54 +00:00
firebirds
d88daeb645
nightly update
2013-02-12 06:57:51 +00:00
firebirds
8983b0d1f5
nightly update
2013-02-10 06:47:56 +00:00
firebirds
8ec04a3211
nightly update
2013-02-09 06:16:23 +00:00
asfernandes
ac14501c6a
Parse BLR messages using BlrReader (and without duplicate code) to avoid segfaults with truncated or invalid data.
2013-02-08 01:48:49 +00:00
firebirds
43c546869b
nightly update
2013-01-31 05:37:28 +00:00
firebirds
41779a116d
nightly update
2013-01-30 05:35:07 +00:00
dimitr
093462e82f
Fixed inconsistency in the debug info version.
2013-01-29 15:09:34 +00:00
firebirds
e29fe3ecb5
nightly update
2013-01-29 05:33:50 +00:00
asfernandes
dc8e42e9bb
Migrate external triggers to the new message-based style.
2013-01-29 01:21:32 +00:00
firebirds
cdc7e4cd64
nightly update
2013-01-26 05:56:52 +00:00
dimitr
1d4ff45d6b
Slightly optimized fetches for internal EXECUTE STATEMENT.
2013-01-25 13:01:19 +00:00
dimitr
75afc9a89c
Misc.
2013-01-25 12:34:54 +00:00
dimitr
358b173fee
More work towards unlimited SQL/BLR lengths.
2013-01-25 12:34:19 +00:00
firebirds
be7767eec8
nightly update
2013-01-25 06:06:33 +00:00
firebirds
df1907732d
nightly update
2013-01-21 03:32:12 +00:00
firebirds
c7b1d46b35
nightly update
2013-01-17 03:36:03 +00:00
dimitr
2cab423897
Simplest fix for CORE-4038: Broken optimization for the stored dbkeys.
2013-01-16 17:08:08 +00:00
firebirds
6e3777061d
nightly update
2013-01-16 03:23:24 +00:00
firebirds
3e770a979d
nightly update
2013-01-09 03:48:04 +00:00
alexpeshkoff
7a9e867ab4
comment
2013-01-08 10:51:02 +00:00
firebirds
12f152a2b9
nightly update
2013-01-07 03:25:01 +00:00
asfernandes
d9275d6567
Misc.
2013-01-07 01:15:24 +00:00
firebirds
a5e57e4568
nightly update
2012-12-30 03:21:19 +00:00
alexpeshkoff
c74565ce0e
Avoid races with lck_attachment in AST
2012-12-29 13:48:49 +00:00
firebirds
a1db87b9b2
nightly update
2012-12-26 03:18:40 +00:00
asfernandes
970677e8de
Get rid of dsql_str and fix metadata strings.
2012-12-25 17:34:50 +00:00
firebirds
e31b0e38f3
nightly update
2012-12-24 03:23:20 +00:00
dimitr
e29b50f980
Front ported my yesterday's commits to trunk.
2012-12-23 07:10:56 +00:00
firebirds
873787b0d0
nightly update
2012-12-22 03:15:52 +00:00
dimitr
dcb8c8fd86
Front ported to trunk.
2012-12-21 14:11:45 +00:00
dimitr
cbe0f3cc54
Front ported to trunk.
2012-12-21 10:11:00 +00:00
firebirds
83da946eeb
nightly update
2012-12-21 03:24:35 +00:00
asfernandes
7e1ca71911
Misc.
2012-12-21 01:49:16 +00:00
alexpeshkoff
c4ae450de4
Re-read attachment from lock after taking lock in attachment handler
2012-12-20 12:18:52 +00:00
firebirds
ee95ad71f5
nightly update
2012-12-20 03:25:42 +00:00
hvlad
8d81d2717d
Add lost PAGE_LOCK_RE_POST call.
2012-12-19 13:51:48 +00:00
firebirds
312569eaf6
nightly update
2012-12-19 08:25:58 +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
fc139b16d5
Fixed rescheduling logic that was broken during the RSB refactoring.
2012-12-17 17:33:45 +00:00
dimitr
48c5eeff37
Simplest possible solution for the incorrect assertion I put recently.
2012-12-17 17:11:16 +00:00
dimitr
d85bbd6c87
Fixed (mostly) the Windows build.
2012-12-15 08:07:39 +00:00
firebirds
1ac3dac135
nightly update
2012-12-15 03:44:27 +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
firebirds
8023fcd2f6
nightly update
2012-12-14 03:36:43 +00:00
dimitr
1a4c0c5808
1) Encapsulated the remaining external looper calls inside a SEH block. It allows to catch async exceptions coming while result set is being fetched. No performance penalty has been noticed.
...
2) Slightly refactored the looper call chain to avoid code duplication.
3) Fixed CORE-4010: Fetch cannot be subsequently interrupted via DELETE FROM MON$STATEMENTS.
2012-12-13 18:31:42 +00:00