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

44384 Commits

Author SHA1 Message Date
asfernandes
c2956055e5 Fixed CORE-3941 - Memory alignment problem with unique expression index. 2012-09-27 15:29:24 +00:00
firebirds
79ad8bf65b nightly update 2012-09-25 03:39:07 +00:00
asfernandes
5218168e06 Fixed a problem when the default collation is changed. 2012-09-24 16:14:48 +00:00
hvlad
513ce5e1ce Additional patch for improvement CORE-3362 : Cursors should ignore changes made by the same statement.
- SubQueryNode (sub-select's) and RseBoolNode (exists(), in\any\all) now knows if it is a part of some outer select (ForNode) or it is a standalone statement. 
- VIO\get_undo_data was reworked to better fit undo-log implementation, corresponding changes in VIO_chase_record_version also done
- AV in VIO\get_undo_data was fixed
2012-09-24 14:26:33 +00:00
hvlad
8f537e0d45 Fixed bug CORE-3934 : Value of log_sweep parameter in trace configuration is ignored by trace plugin (assumed always true) 2012-09-24 07:07:56 +00:00
firebirds
6134c33314 nightly update 2012-09-24 03:33:00 +00:00
asfernandes
d684e4a2f5 Fixed assert reported by Vlad more some related problem. 2012-09-24 01:40:44 +00:00
firebirds
94aaa1a208 nightly update 2012-09-21 04:17:13 +00:00
asfernandes
a8483163ee Fixed CORE-3929 - Error "attempted update of read-only column" when trying select minvalue from list with more than 255 elements. 2012-09-20 15:53:04 +00:00
firebirds
34fb7ff70a nightly update 2012-09-19 03:27:12 +00:00
asfernandes
81609a77d7 Cleanup. 2012-09-18 16:01:58 +00:00
firebirds
2dfbdef005 nightly update 2012-09-17 03:37:41 +00:00
asfernandes
0769a10d48 Misc. 2012-09-16 16:09:24 +00:00
firebirds
60595d9e39 nightly update 2012-09-14 03:38:21 +00:00
asfernandes
1e918da7b6 Fixed database default charset being ignored. 2012-09-13 15:55:12 +00:00
dimitr
898ce1ea4a Fixed the data type mistake. 2012-09-13 03:49:08 +00:00
firebirds
7f41f693c0 nightly update 2012-09-13 03:41:28 +00:00
dimitr
9f2a992078 Implemented:
CORE-2780: Include client library version and protocol version in mon$attachments
CORE-2187: Return the Hostname in mon$attachments
CORE-3779: Report OS user name in MON$ATTACHMENTS
+ some cleanup.
2012-09-12 07:45:51 +00:00
dimitr
594bae44d2 Fixed CORE-3924: Bugcheck 291 (cannot find record back version) if GTT is modified concurrently using at least one read-committed read-only transaction. 2012-09-12 05:26:38 +00:00
firebirds
3f8f8f4d7c nightly update 2012-09-12 03:30:50 +00:00
dimitr
1cf6466280 Implemented CORE-675: Add missing entries to RDB$TYPES. 2012-09-11 15:17:04 +00:00
firebirds
536b307136 nightly update 2012-09-09 03:26:45 +00:00
asfernandes
6820b50572 Fixed CORE-3754 - SIMILAR TO works wrongly.
Improvement CORE-3919 - Improve SIMILAR TO performance.
2012-09-09 01:47:17 +00:00
firebirds
dffb12debf nightly update 2012-09-06 03:27:40 +00:00
hvlad
ca6f6e7324 Fixed bug CORE-3916 : gfix & "Index x is corrupt (missing entries) in table ..." all indexes on large tables 2012-09-05 19:32:34 +00:00
firebirds
2971dd2553 nightly update 2012-09-05 03:27:17 +00:00
hvlad
b636315561 Improvement CORE-3656 : Support for sweep information in Trace API.
Fixed case when sweep cleaned up relation with all records deleted but corresponding event was missed in trace log.
2012-09-04 11:35:16 +00:00
alexpeshkoff
ed5815cf35 Complete fix to make trace list service work correctly 2012-09-04 08:21:37 +00:00
alexpeshkoff
8326359184 We have one more service w/o parameters 2012-09-04 07:10:35 +00:00
firebirds
d0d5961812 nightly update 2012-09-01 03:26:11 +00:00
alexpeshkoff
8e147a5bf6 Fixed CORE-3912: segfault in superclassic 2012-08-31 10:26:37 +00:00
firebirds
61bbb5f65a nightly update 2012-08-30 03:31:58 +00:00
asfernandes
e44d7fd688 Fixed CORE-3638 - Introduce FR_CA_CI_AI collation and change FR_FR and FR_FR_CI_AI to be identical to FR_CA and FR_CA_CI_AI respectively. 2012-08-29 15:43:57 +00:00
alexpeshkoff
51014eba78 Front-ported fix for CORE-3740: SELECT using IN list with >413 elements causes crash 2012-08-29 13:20:24 +00:00
firebirds
d90999eed9 nightly update 2012-08-29 03:29:29 +00:00
dimitr
5f917a04ce Minor cleanup and simplification. 2012-08-28 18:19:09 +00:00
asfernandes
57ddc9e81e Fixed three related bugs:
CORE-1188 - Select Starting with :Param (Empty string) doesn't work if using index with many fields
CORE-3052 - Wrong resultset
CORE-3239 - UTF8 UNICODE_CI collate can not be used in compound index
2012-08-28 15:40:18 +00:00
firebirds
9c33151de6 nightly update 2012-08-28 03:35:26 +00:00
asfernandes
22fef2016a Feature CORE-3291 - New pseudocolumn to get number of transaction that created this record version. 2012-08-28 01:02:56 +00:00
firebirds
a9e1c24c79 nightly update 2012-08-22 03:32:38 +00:00
asfernandes
a059a4cd6f Improvement CORE-3546 - Aliases for the RETURNING clause. 2012-08-21 15:38:15 +00:00
firebirds
1f85fbe816 nightly update 2012-08-21 03:36:19 +00:00
asfernandes
50253e0b26 Fixed CORE-3902 - Derived fields may not be optimized via an index. 2012-08-21 00:45:39 +00:00
firebirds
b497df38b4 nightly update 2012-08-19 03:30:20 +00:00
robocop
b235c00282 Misc. 2012-08-18 08:52:03 +00:00
firebirds
2a9259e319 nightly update 2012-08-17 04:31:48 +00:00
dimitr
7e3c4075bc Corrected the arguments. Luckily, their binary values are the same. 2012-08-15 15:24:49 +00:00
asfernandes
4d0506057c Fixed CORE-3596 - Client library cannot connect to the non-ASCII host name. 2012-08-14 15:49:20 +00:00
dimitr
7869eb9bbd Fixed the server crash in Stack::assign(). 2012-08-13 16:50:57 +00:00
asfernandes
ba9f68d5d0 Misc. 2012-08-13 01:20:32 +00:00
hvlad
710205b599 Make consistent usage of CRT routines in windows builds (perror() not aware of Win32 errors).
Unify file IO API usage across POSIX\WIN32 platforms (use common read()\write() routines).
Avoid usage of (questionable) gbak code in other utility.
2012-08-12 21:10:01 +00:00
firebirds
ea37034f58 nightly update 2012-08-11 04:22:11 +00:00
asfernandes
62f81ca4bc Fix segfault while checking for trace of failed statement compilation. (happens with CORE-3794 testcase) 2012-08-10 15:40:27 +00:00
firebirds
c2dcf03977 nightly update 2012-08-09 04:26:23 +00:00
firebirds
daf0059a85 nightly update 2012-08-08 04:27:19 +00:00
dimitr
61baa568c2 Fixed the refactoring error spotted by Claudio. 2012-08-08 03:31:59 +00:00
robocop
f601bbdb8b Misc. 2012-08-08 02:20:30 +00:00
firebirds
7ce7542fec nightly update 2012-08-03 04:22:19 +00:00
hvlad
9124f5e188 Front ported improvements
CORE-3656 : Support for sweep information in Trace API, and
CORE-2668 : Write note into log when automatic sweep is started
Also per-table stats is enabled at transaction level (see thread_db::bumpRelStats)
2012-08-02 08:55:21 +00:00
firebirds
4437c319af nightly update 2012-08-01 04:29:49 +00:00
asfernandes
3556fe5f0b Fixed CORE-3899 - row_number(), rank() and dense_rank() return BIGINT datatype in dialect 1. 2012-07-31 12:23:16 +00:00
firebirds
dfecba54a6 nightly update 2012-07-30 04:21:51 +00:00
dimitr
14afc20e04 Propagate the solution for fld_counter to both metadata caches. This fixes the regression of not being able to select from the MON$ tables in Dialect 1. 2012-07-29 10:35:13 +00:00
firebirds
39c77e7774 nightly update 2012-07-27 04:23:20 +00:00
asfernandes
84147eb443 Fixed CORE-3820 - RDB$TYPES contain duplicate character sets. 2012-07-27 01:48:03 +00:00
asfernandes
fd10a7eb22 Fixed CORE-3883 - Ambiguous field name in the trigger when it does a select from the table. 2012-07-26 16:20:09 +00:00
firebirds
1717597d6f nightly update 2012-07-25 04:27:32 +00:00
mkubecek
2257f7d6ed Do not prepend DatabaseAccess paths to connection strings. 2012-07-24 07:54:48 +00:00
firebirds
ac0d767865 nightly update 2012-07-24 04:28:46 +00:00
hvlad
3ec82bdabf Fixed bug CORE-3895 : High memory usage when PSQL code SELECT's from stored procedure which modified some data 2012-07-23 09:48:23 +00:00
firebirds
1e4738925e nightly update 2012-07-23 04:33:47 +00:00
asfernandes
94a9c6dad0 Fixed CORE-3894 - Wrong numbers in error message for decreasing char/varchar columns. 2012-07-22 01:42:19 +00:00
firebirds
c25f9deb50 nightly update 2012-07-20 04:28:25 +00:00
asfernandes
594bea6af3 Fixed CORE-3893 - Cannot restore tpcc database in FB 3.0. 2012-07-20 02:41:58 +00:00
alexpeshkoff
561ef68248 Misc diags 2012-07-19 07:49:24 +00:00
firebirds
40628c4151 nightly update 2012-07-19 04:26:27 +00:00
asfernandes
a9324d3733 Misc. 2012-07-19 01:52:38 +00:00
firebirds
b16d4bd0e6 nightly update 2012-07-17 04:19:36 +00:00
alexpeshkoff
3e80805d5d Removed debugging code 2012-07-16 10:40:43 +00:00
firebirds
ce3e46fb97 nightly update 2012-07-16 04:23:28 +00:00
dimitr
3be26e0844 Calculate the index statistics correctly for very large tables. 2012-07-15 12:43:32 +00:00
hvlad
ea123ce328 Fixed AV in LM after remapping of shared memory 2012-07-14 21:26:14 +00:00
firebirds
daea4c4b61 nightly update 2012-07-13 04:30:40 +00:00
firebirds
e867c6f170 nightly update 2012-07-12 04:29:39 +00:00
dimitr
19eaa2f355 Wiped out the legacy compatibility option. 2012-07-11 12:54:08 +00:00
firebirds
d0afb7e16d nightly update 2012-07-11 04:34:13 +00:00
asfernandes
b31f4d9b94 Frontport UUID fixes (CORE-3238 and CORE-3887). 2012-07-11 01:56:37 +00:00
dimitr
0361052c41 Avoid a small memory leak. 2012-07-10 16:08:01 +00:00
firebirds
b636e3a04a nightly update 2012-06-30 04:29:35 +00:00
alexpeshkoff
9bf5e60dfa Anti isc_random pass 2012-06-29 12:44:41 +00:00
alexpeshkoff
d244ba5e9d Removed unused var - thanks to Adriano 2012-06-29 07:13:34 +00:00
firebirds
3b115bc3fc nightly update 2012-06-29 04:23:39 +00:00
asfernandes
e600b93773 Misc. 2012-06-29 01:47:40 +00:00
alexpeshkoff
64a89b73a0 Improvement CORE-3588: More detail in message "wrong page type" 2012-06-28 11:46:21 +00:00
hvlad
cbcbdeb1f6 Improvement CORE-3879 : Make fb_lock_print a bit more handy 2012-06-28 07:49:14 +00:00
firebirds
d8a6543f7f nightly update 2012-06-28 04:21:30 +00:00
alexpeshkoff
dbe4674d1c Fixed for posix CORE-3875: GBak does not check correctly parameters and backups random database with -B ":" 2012-06-27 11:53:08 +00:00
firebirds
3183982da7 nightly update 2012-06-27 04:25:09 +00:00
asfernandes
254959f099 Misc. 2012-06-27 02:24:06 +00:00
alexpeshkoff
0fc893a4e1 Better names for API functions 2012-06-26 13:43:26 +00:00
firebirds
b68a03e791 nightly update 2012-06-26 04:24:27 +00:00
alexpeshkoff
c5cd59fb06 Fixed an issue, found by Claudio 2012-06-25 13:11:11 +00:00
alexpeshkoff
d54b20443b No need in entry for this type of plugins in conf file - plugin name is taken from SQL command or DB header 2012-06-25 13:02:51 +00:00
firebirds
5a30a2d2f7 nightly update 2012-06-25 04:21:47 +00:00
asfernandes
bfcd129c95 Fixed CORE-3874 - Computed column appears in non-existant rows of left join. 2012-06-23 16:08:30 +00:00
firebirds
4b1b502f2c nightly update 2012-06-23 04:29:24 +00:00
alexpeshkoff
b91c68bb30 Cross-build support + android port: work in progress, currently can build fbclient for android 2012-06-22 11:39:24 +00:00
firebirds
36e9bb519f nightly update 2012-06-22 04:27:21 +00:00
dimitr
42a4c93b97 1) Removed the no longer actual "parent lock" concept from both the lock and event managers.
2) Reworked the lock manager synchronization: added the RAII mutex holders and avoided dirty reads for the shared memory.
3) Encapsulated lck_length into the Lock class + small related  refactoring.
4) Front ported recent fixes from the v2.x branches.
5) Misc cleanup.
2012-06-21 15:37:38 +00:00
firebirds
e6123933db nightly update 2012-06-21 04:27:30 +00:00
alexpeshkoff
477e14a820 Implemented CORE-2666: Make it possible to use API to do remote backups/restores 2012-06-20 11:47:30 +00:00
firebirds
60fa59b2e7 nightly update 2012-06-20 04:25:17 +00:00
dimitr
baf67f019e Misc. 2012-06-19 18:28:13 +00:00
dimitr
bd5226b0e5 Misc. 2012-06-19 18:27:51 +00:00
firebirds
85a254cc85 nightly update 2012-06-19 03:30:37 +00:00
dimitr
2b91f6fcbc Removed the faulty debug break and reworked the code a bit to be more useful. 2012-06-18 16:51:30 +00:00
firebirds
c799e9d8db nightly update 2012-06-15 03:33:32 +00:00
firebirds
ac9d11020a nightly update 2012-06-14 03:28:11 +00:00
firebirds
adc098fc77 nightly update 2012-06-13 03:32:45 +00:00
firebirds
ef98c8eaa1 nightly update 2012-06-12 03:27:12 +00:00
firebirds
b455e9a70a nightly update 2012-06-08 03:29:12 +00:00
firebirds
53419d61cf nightly update 2012-06-07 03:37:17 +00:00
asfernandes
e8d1710d95 Warning. 2012-06-06 14:50:53 +00:00
alexpeshkoff
ec99aff55f Implemented CORE-3594: Include expected and actual string length into error message 2012-06-06 11:06:31 +00:00
asfernandes
87ea81df34 Improvements to the UDR engines. 2012-06-05 15:31:32 +00:00
alexpeshkoff
9af385d031 Some changes in CryptoManager, discussed with Vlad and Adriano 2012-06-05 10:06:31 +00:00
firebirds
afa8068b91 nightly update 2012-06-05 03:30:58 +00:00
alexpeshkoff
2c27cf6017 Frontported fix for CORE-3769: The message 'Unknown tag (4) in isc_svc_query() results' appears when fbtracemgr is interrupted by Ctrl-C 2012-06-04 16:53:56 +00:00
firebirds
b2a6551324 nightly update 2012-06-04 03:22:32 +00:00
asfernandes
cf6e699698 Misc. 2012-06-03 15:43:59 +00:00
firebirds
12d3953367 nightly update 2012-06-03 03:22:49 +00:00
asfernandes
1dcad0fe90 Misc. 2012-06-03 03:00:24 +00:00
firebirds
f8e93c1272 nightly update 2012-06-02 03:21:48 +00:00
hvlad
0e029d34eb Follow Alex changes, small correction and cleanup 2012-06-01 07:09:42 +00:00
firebirds
4046d92b5b nightly update 2012-06-01 03:21:00 +00:00
alexpeshkoff
2a01e4bcf9 Implemented CORE-3861: Make it possible to encrypt database
Also some cleanups, the most important are:                                                                                                                   
- meaningful ctor on Jrd::Lock, helping to avoid code dup                                                                                                     
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
firebirds
ed2cf92cb0 nightly update 2012-05-30 03:21:45 +00:00
mkubecek
1f6eaf18e5 isql: fix buffer overflow when 'set width' sets bigger width
than column's natural size
2012-05-29 20:19:58 +00:00
mkubecek
7d64b76c14 isql: fix output if charset is different from locale 2012-05-29 20:14:54 +00:00
asfernandes
4a431dd696 1) Change UdrCpp triggers macros to match procedures and functions - first phase.
2) Adjustments to procedures and functions.
2012-05-29 16:02:39 +00:00
firebirds
d2e3cf0561 nightly update 2012-05-27 03:21:28 +00:00
hvlad
b6c6915693 Fixed bug CORE-3855 : Blobs, inserted into GLOBAL TEMPORARY TABLE ON COMMIT DELETE ROWS, could be placed into newly allocated pages even if there is enough free place on some existing data page 2012-05-26 22:01:30 +00:00
hvlad
7a2aac632f Misc 2012-05-26 21:44:12 +00:00
asfernandes
26c868b61f Fix/misc. 2012-05-26 21:18:17 +00:00
asfernandes
07557dc297 Misc. 2012-05-26 18:05:56 +00:00
firebirds
7b78583ee0 nightly update 2012-05-25 03:20:58 +00:00
asfernandes
17ecd7f39b More C++-ish to the C++ API. 2012-05-24 15:56:36 +00:00
firebirds
4198927cbf nightly update 2012-05-24 03:31:15 +00:00
asfernandes
339da08ae3 Misc. 2012-05-23 15:44:43 +00:00
asfernandes
595bc63f5b Improvements and correction to external routines. 2012-05-23 15:39:27 +00:00
mkubecek
69da2285d0 Fix broken isql history with libedit 3.0 2012-05-23 09:12:16 +00:00
firebirds
70d22d7c50 nightly update 2012-05-23 03:20:30 +00:00
firebirds
5983a29cee nightly update 2012-05-21 03:21:20 +00:00
asfernandes
5580857d73 Fixed problems with views WITH CHECK OPTION. Also change its triggers as asked for opinions in fb-devel. 2012-05-20 19:28:52 +00:00
robocop
844b15bd13 Misc and style. 2012-05-20 10:00:52 +00:00
firebirds
623aaa5cb1 nightly update 2012-05-20 03:20:22 +00:00
robocop
02e2fdedcb Vlad asked for this assertion but I think it should be runtime check for the release version, too. 2012-05-19 12:20:11 +00:00
robocop
642d506cd9 Change txn numbers to unsigned and commit after Vlad's review. If the compile-time checks (to ensure enough room for the new txn type) are too ugly, they may be deleted. 2012-05-19 12:04:37 +00:00
firebirds
fc0af6d8bf nightly update 2012-05-18 03:21:36 +00:00
dimitr
0aede9b650 Front-ported extra fixes for CORE-3557. 2012-05-17 09:04:23 +00:00
firebirds
b9d357f891 nightly update 2012-05-16 03:20:52 +00:00
hvlad
d78703c9ae Improvement CORE-3539 : TRACE: add ability for logging ERRORs that occur in runtime (lock conflicts, PK/UK/FK violations et al) 2012-05-15 07:56:24 +00:00
firebirds
6b3d981a35 nightly update 2012-05-15 03:23:07 +00:00
asfernandes
d50019f50d More checks for CORE-3672. 2012-05-14 15:45:43 +00:00
firebirds
8e6cb7fc43 nightly update 2012-05-13 03:19:21 +00:00
hvlad
02adff3b63 Improvement CORE-3598 : TRACE: add statistics of actions that were after transaction finished 2012-05-12 09:48:32 +00:00
hvlad
854231942a Fixed bug CORE-3845 : Interruption of 'heavy query' leads to 0 ms (zero duration) in it`s statistics in trace log 2012-05-12 09:30:15 +00:00
firebirds
b03027d1ca nightly update 2012-05-12 03:21:50 +00:00
hvlad
2c7bcf94c2 Fixed bug CORE-3841 : Corrupted database after inserting rows.
It should also fix CORE-3839 : Values disappearing from index
2012-05-11 19:39:11 +00:00
hvlad
a6a8f05dd5 Fixed bug CORE-3844 : Validation not detects one specific case of index corruption 2012-05-11 19:38:36 +00:00
asfernandes
9886cf8afc Disable blr_stmt_expr (re-enabled with CORE-3812 changes) and implement blr conversion for DECODE. 2012-05-11 16:13:05 +00:00
asfernandes
c90e3a8267 Fixed problem with CORE-3672 and parameters. 2012-05-11 13:58:59 +00:00
firebirds
a489e05294 nightly update 2012-05-11 04:50:56 +00:00
asfernandes
86d787b83e Fixed CORE-3672 - Computed index by substring function for long columns. 2012-05-10 16:05:18 +00:00
firebirds
cc061cb495 nightly update 2012-05-08 04:56:04 +00:00
asfernandes
9575304592 Fixed the problem reported a while ago in fb-devel by Thomas Steinmaurer ("Fb 3 and RDB$MECHANISM values for SP/SF parameters"). 2012-05-07 15:25:46 +00:00
firebirds
3a919dc0d0 nightly update 2012-05-07 04:49:06 +00:00
asfernandes
73e18ce5ea Correction - thanks to Claudio. 2012-05-06 22:39:30 +00:00
asfernandes
ca53e78787 Misc. 2012-05-06 22:27:03 +00:00
firebirds
9f6e7687ac nightly update 2012-05-06 04:48:18 +00:00
asfernandes
db30902bad Misc - seen by Claudio. 2012-05-05 19:16:21 +00:00
asfernandes
ed9ec009ba Fix CORE-2697 again after refactoring problems. 2012-05-05 15:38:13 +00:00
firebirds
19a264e26d nightly update 2012-05-05 04:49:36 +00:00
asfernandes
fd9324c5cf Fixed problems with plans introduced in old refactorings. 2012-05-04 17:01:06 +00:00
asfernandes
2b0eea972a Make usage of dsqlChildNodes consistent. 2012-05-04 15:32:49 +00:00
firebirds
c132fa663c nightly update 2012-05-04 04:50:17 +00:00
asfernandes
07747144f7 Unify DSQL/JRD sub-nodes. 2012-05-03 16:43:29 +00:00
hvlad
ec6c21f244 Fixed bug CORE-3814 : SuperClassic server crashes when performing a database shutdown (FW=OFF) 2012-05-03 14:05:47 +00:00
firebirds
b7f70b00fa nightly update 2012-04-30 05:17:23 +00:00
firebirds
3377e0e746 nightly update 2012-04-27 04:50:28 +00:00
firebirds
67d70fdc0d nightly update 2012-04-26 04:48:53 +00:00
asfernandes
08fd639cee Fix window functions. 2012-04-25 16:00:09 +00:00
firebirds
77594b5787 nightly update 2012-04-25 04:49:56 +00:00
asfernandes
a2b389f1db Getting rid of dsql_nod. 2012-04-25 01:42:47 +00:00
firebirds
ab2480e90b nightly update 2012-04-24 07:03:15 +00:00
alexpeshkoff
7242fbcd7c Fix java client login 2012-04-23 08:20:40 +00:00
firebirds
f4a089069d nightly update 2012-04-23 04:48:57 +00:00
asfernandes
81d628f40a Warning. 2012-04-23 00:55:45 +00:00
asfernandes
580172419b Misc. 2012-04-23 00:48:28 +00:00
firebirds
5ca6a8dcd0 nightly update 2012-04-22 04:48:42 +00:00