8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 14:43:04 +01:00
Commit Graph

33780 Commits

Author SHA1 Message Date
alexpeshkoff
6f5fedec9a Fixes related with CORE-3993 2013-04-17 08:04:02 +00:00
firebirds
6f530d30f9 nightly update 2013-04-17 00:41:48 +00:00
firebirds
ff1218a336 nightly update 2013-04-16 01:02:27 +00:00
alexpeshkoff
3746843930 Postfix for CORE-3935 and CORE-3993: avoid opening same database file twice 2013-04-15 16:51:20 +00:00
firebirds
399737c40e nightly update 2013-04-14 00:46:15 +00:00
dimitr
3031034302 Moved ThreadData into the namespace + small cleanup. 2013-04-13 15:07:51 +00:00
dimitr
551e2416c6 Add interface support for scrollable DSQL cursors. Implementation will follow later. 2013-04-13 07:11:58 +00:00
firebirds
935d34721a nightly update 2013-04-13 00:35:50 +00:00
firebirds
bc3500158b nightly update 2013-04-12 00:44:59 +00:00
asfernandes
5e53549702 Misc. 2013-04-11 16:09:46 +00:00
asfernandes
93924e08f5 Cleanup. 2013-04-11 16:04:25 +00:00
asfernandes
e0567463bf Revert external routines to request-based (*) code, but now using a totally different internal approach.
* This is not ideal IMO, but much more easier to currently support stack traces, and domain's defaults and validations.
2013-04-11 15:44:17 +00:00
firebirds
ca1d395501 nightly update 2013-04-11 00:38:01 +00:00
firebirds
bb2ec33516 nightly update 2013-04-10 00:44:27 +00:00
firebirds
4a33ca48c2 nightly update 2013-04-08 00:48:48 +00:00
dimitr
2fe61fed12 Avoid calling lock_buffer() for the SS setup. 2013-04-07 07:55:40 +00:00
firebirds
1c160b4a18 nightly update 2013-04-07 00:37:00 +00:00
dimitr
d0e20d5f8c Pass the pool explicitly, it saves us one TLS access per record. 2013-04-06 09:12:14 +00:00
firebirds
1e69c49458 nightly update 2013-04-06 00:37:11 +00:00
firebirds
db434f6f7e nightly update 2013-04-05 00:34:48 +00:00
alexpeshkoff
8780552b94 Added support for changing configuration (client and embedded) from API 2013-04-04 13:17:57 +00:00
firebirds
57c12dd405 nightly update 2013-04-04 00:46:59 +00:00
asfernandes
a74f8f1acd Fixed CORE-4073 - Constant columns getting empty value with subselect from procedure. 2013-04-03 15:27:28 +00:00
firebirds
1e3c6435c1 nightly update 2013-04-02 00:30:20 +00:00
asfernandes
a796c8f86f Misc. 2013-04-01 15:37:39 +00:00
firebirds
5644cba2fa nightly update 2013-04-01 01:23:59 +00:00
asfernandes
d0c79a4508 Cleanup. 2013-03-31 18:23:54 +00:00
asfernandes
871c073279 Refactor. 2013-03-31 15:55:01 +00:00
firebirds
3442e1e5f2 nightly update 2013-03-31 00:32:18 +00:00
asfernandes
26ab241631 Misc. 2013-03-30 02:31:03 +00:00
firebirds
bd06fd7911 nightly update 2013-03-30 01:06:19 +00:00
firebirds
f60b8be2d0 nightly update 2013-03-29 00:38:19 +00:00
hvlad
447f204929 Refactor a bit 2013-03-28 16:52:03 +00:00
firebirds
7d7fea0288 nightly update 2013-03-28 00:35:57 +00:00
asfernandes
850e529c81 Fixed CORE-4068 - create package fails on creating header as soon as there is at least 1 procedure name. 2013-03-27 01:34:44 +00:00
asfernandes
28f05f168b Refactor. 2013-03-27 01:34:10 +00:00
firebirds
8fc06d17cc nightly update 2013-03-26 01:12:35 +00:00
asfernandes
ee953572eb Work in progress standardizing the external engines API. 2013-03-25 15:34:15 +00:00
firebirds
b8ac6b7969 nightly update 2013-03-25 02:18:25 +00:00
dimitr
dbe76bc342 The minimal patch for CORE-1604 (Error at database creation by user with non-ascii name) and CORE-3243 (CURRENT_USER and MON$USER don't work properly) that seems to work for the trusted authentication, but [at least] the legacy auth module has to be reviewed as it seems to deal with the user name "as is", without checking whether it arrived in UTF8 or not. 2013-03-24 16:16:29 +00:00
firebirds
1d85d380a9 nightly update 2013-03-24 01:26:05 +00:00
asfernandes
b9bc308a72 Work in progress fixing external triggers. 2013-03-23 21:12:27 +00:00
hvlad
c131de732c Cleanup:
- removed never used bcb_checkpoint and BDB_checkpoint
- removed conditional compilation for CACHE_WRITER as it is already ruled by flag BCB_cache_writer at almost all places
- added necessary checks for BCB_cache_writer when it was missed
2013-03-23 13:58:41 +00:00
firebirds
2e36aec892 nightly update 2013-03-23 01:06:45 +00:00
firebirds
8148d06e8a nightly update 2013-03-22 01:11:30 +00:00
hvlad
a418373026 Optimization: delay clearing of page_full flag until page have at least 25% of free space. It saves few costly mark_full() calls when space is actively allocated and reclaimed in highly concurrent environment and reduces PP contention. 2013-03-21 08:23:39 +00:00
firebirds
0ee91bc2c6 nightly update 2013-03-21 01:00:37 +00:00
firebirds
8ef792bd4f nightly update 2013-03-20 01:58:09 +00:00
firebirds
fb79f9c36e nightly update 2013-03-19 01:41:01 +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
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