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

44340 Commits

Author SHA1 Message Date
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
alexpeshkoff
be7c05022c Fixed 32-bit posix build 2012-04-21 05:16:16 +00:00
firebirds
6b14a2154d nightly update 2012-04-21 04:48:34 +00:00
hvlad
536c08cc01 Fixed bug CORE-3825 : If an autocommit transaction (i.e. transaction started with isc_tpb_autocommit option) run DDL using EXECUTE STATEMENT it will produce a bugcheck 287 (Too many savepoints) 2012-04-20 20:03:15 +00:00
firebirds
aae29ee8b7 nightly update 2012-04-20 04:49:41 +00:00
alexpeshkoff
b11ac98c96 fixed posix build 2012-04-19 05:14:01 +00:00
firebirds
dac258fe09 nightly update 2012-04-17 04:48:29 +00:00
hvlad
f432739e3e Fixed bug CORE-3819 : Wrong service name to port address resolution in database connection string 2012-04-16 15:17:37 +00:00
firebirds
9581400b99 nightly update 2012-04-14 04:49:20 +00:00
dimitr
8d50e30e90 Additional fix for CORE-3807. Otherwise, _utf8 'A' is considered equal to _win1251 'ABCD' etc. The original code didn't check for charsets/collations but IMHO this was wrong. 2012-04-13 09:11:31 +00:00
firebirds
fd1be8f419 nightly update 2012-04-13 04:51:55 +00:00
hvlad
96a7fa2576 Front ported fix for bug CORE-3812 : Connection lost to database during massive dropping and altering primary keys of tables 2012-04-12 13:03:25 +00:00
hvlad
df9c16dc80 Allow DEBUG build to work with pre-FB3 BLR code.
For example, it is impossible to restore database and to run script from CORE-3812.
Thanks to Dmitry for explanation.
2012-04-12 12:50:37 +00:00
hvlad
ec29332fec Fixed wrong pool usage 2012-04-12 12:32:22 +00:00
robocop
70d5ebdfdf - Got rid of the fixed array that kept the stream count in the first element and 255 streams after it.
- Changed streams from UCHAR to ULONG as Dmitry wanted
- Got rid of some redundant flags to indicate BLR level
- Misc changes (for example, converted to test for DBB_read_only in Database to a function)
- BLR v6 is left commented (waiting for a better solution to appear, if any exists)
- This change is not going to raise the engine limits until a solution is found to express more than 255 streams in BLR.
2012-04-12 09:02:13 +00:00
alexpeshkoff
11843afcd4 Fixed snapshot's build using gcc 4.4 2012-04-12 07:54:54 +00:00
firebirds
abaf48b071 nightly update 2012-04-12 04:48:38 +00:00
hvlad
24d152138d Refactoring of runtime statistics and related classes:
- moved relation's counters into RuntimeStatistics.h 
- renamed RuntimeStatistics::bumpValue to RuntimeStatistics::bumpRelValue and thread_db::bumpStats to thread_db::bumpRelStats to make things more clear  
- removed not obvious cast in VIO_bump_count
- removed dependency of RuntimeStatistics.h from ntrace.h
2012-04-11 09:38:19 +00:00
firebirds
c1349ef26d nightly update 2012-04-10 04:49:50 +00:00
robocop
afcbd0054e Misc. 2012-04-10 02:37:34 +00:00
robocop
80ca53c094 Misc. 2012-04-10 01:52:05 +00:00
robocop
a8418b3ea8 Misc. 2012-04-10 01:47:24 +00:00
robocop
b7d62c2d26 Misc. 2012-04-10 01:46:14 +00:00
robocop
9955049a0c Misc. 2012-04-10 01:41:32 +00:00
robocop
dd421f9195 Misc. 2012-04-10 01:40:30 +00:00
robocop
501f14a9d3 I plan to use this msg because the current one is misleading. 2012-04-10 01:38:57 +00:00
alexpeshkoff
71497f62e7 Fixed delay changed for debugging purposes 2012-04-09 12:03:08 +00:00
dimitr
9d35c29964 Fixed the slow restore of user privileges.
Added the missing validation for functions.
2012-04-09 05:20:09 +00:00
dimitr
7e1deeeb6d Misc. 2012-04-09 05:18:40 +00:00
dimitr
fc2cf89375 1) Fixed the infinite loop in the optimizer.
2) Fixed the refactoring error causing a crash.
2012-04-09 05:11:50 +00:00
firebirds
1974be13af nightly update 2012-04-09 04:49:43 +00:00
hvlad
ab8382af92 Make Windows version of ISC_systemToUtf8() and ISC_utf8ToSystem() to work with strings longer than MAX_PATH 2012-04-08 10:23:23 +00:00
firebirds
3f6bac3616 nightly update 2012-04-08 04:52:55 +00:00
asfernandes
f098e9a3d8 Refactored nod_order. 2012-04-08 04:15:09 +00:00
hvlad
c036c65e7b Fixed bug CORE-3810 : isql: zero divide + coredump when use "-pag 0" command switch & set heading on inside .sql script 2012-04-07 18:25:44 +00:00
dimitr
77c6027afd Misc. 2012-04-07 10:07:01 +00:00
dimitr
758bb0d936 Fixed CORE-3686: Incorrect (zero) values are reported for "acquire blocks" and "mutex wait" counters in the fb_lock_print output. 2012-04-07 09:41:59 +00:00
firebirds
108e935cc9 nightly update 2012-04-07 04:49:54 +00:00
asfernandes
2f3d4918da Refactored nod_rows. 2012-04-07 04:21:46 +00:00
asfernandes
617ef670ed Refactored nod_select_expr, nod_with and nod_list (union). 2012-04-07 03:03:28 +00:00
firebirds
b73d8c65e9 nightly update 2012-04-06 04:51:52 +00:00
asfernandes
fa861b6e95 Misc. 2012-04-05 18:28:44 +00:00
dimitr
dad891ef3e Fixed my yesterday's commit. 2012-04-05 09:54:23 +00:00
firebirds
5213603a48 nightly update 2012-04-05 04:52:32 +00:00
alexpeshkoff
68f70db25c Misc 2012-04-04 12:54:27 +00:00