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

46652 Commits

Author SHA1 Message Date
firebirds
22ac9d5187 nightly update 2015-06-01 00:10:45 +00:00
asfernandes
d58f343b2f Misc. 2015-05-31 23:38:17 +00:00
dimitr
70f16f1c9c Fixed CORE-4798: Regression: MIN/MAX with a join ignores possible index navigation. 2015-05-31 19:23:09 +00:00
dimitr
f58768ab3d Fixed CORE-4806: Regression: generators can be seen/modified by unprivileged users. 2015-05-31 18:46:29 +00:00
dimitr
14ba585c0e Fixed CORE-214: Count ( DISTINCT ... ) is too slow. 2015-05-31 16:14:48 +00:00
dimitr
b4a6d4726d Postfix for CORE-4786: Problematic key value (when attempt to insert duplicate in PK/UK) is not shown where length of key >= 127 characters. 2015-05-31 13:15:55 +00:00
dimitr
cb6ddcde83 Fixed CORE-4809: HASH/MERGE JOIN is not used for more than two streams if they are joined via USING/NATURAL clauses and join is based on DBKEY concatenations. 2015-05-31 13:06:04 +00:00
firebirds
6db75261f1 nightly update 2015-05-31 00:09:46 +00:00
asfernandes
f86a15c90b Fixed CORE-4819 - EXECUTE PROCEDURE's RETURNING_VALUES and EXECUTE STATEMENT's INTO does not check validity of assignments targets leading to bugcheck. 2015-05-30 19:01:02 +00:00
firebirds
67f1b82b0d nightly update 2015-05-29 00:09:54 +00:00
egorpugin
d07e85568e [build][cmake] Fix mingw build: removed unix prefixes from output libraries. 2015-05-28 13:27:11 +00:00
firebirds
372242e865 nightly update 2015-05-21 00:10:15 +00:00
asfernandes
003be8071e Fixed CORE-4740 - SIMILAR TO with quantifier {n,} in the pattern: 1) fails on 2.5 ("Invalid pattern"), 2) strange result in 3.0. 2015-05-20 15:27:02 +00:00
alexpeshkoff
364995fb88 Fixed code disabling access to network filenames in embedded mode 2015-05-20 13:07:06 +00:00
firebirds
90cb9dd29a nightly update 2015-05-19 00:10:50 +00:00
alexpeshkoff
9bf96ddf67 Fixed CORE-4795: fbclient executes callback function twice 2015-05-18 16:46:20 +00:00
alexpeshkoff
867ef82872 Fixed CORE-4794: isc_cancel_events returns error invalid events id (handle) (code: 335545021) if event is (no longer) queued 2015-05-18 16:01:52 +00:00
firebirds
eb53fc3b1f nightly update 2015-05-18 00:10:34 +00:00
asfernandes
a2b2d63d51 Postfix for CORE-4789 - Prohibit ability to cast timestamps that out of valid range to varchar. 2015-05-17 02:22:09 +00:00
firebirds
5c1d9aaa4a nightly update 2015-05-16 00:09:59 +00:00
alexpeshkoff
488101c26d Fixed CORE-4756: Firebird 3 events broken 2015-05-15 16:11:34 +00:00
asfernandes
ba03a8c71e 1) Improvement CORE-4791 - Make INSERTING/UPDATING/DELETING reserved words to fix ambiguity with boolean expresions.
2) Fixed CORE-4735 -  Expression 'where bool_field IS true | false' should also use index as 'where bool_field = true | false' (if such index exists).
2015-05-15 16:10:39 +00:00
alexpeshkoff
97990aff56 Make ref.counted pointer recursive-call safe 2015-05-15 16:08:31 +00:00
firebirds
db833d3a63 nightly update 2015-05-15 00:10:02 +00:00
alexpeshkoff
3eb6728368 Postfix for CORE-4785 2015-05-14 10:04:26 +00:00
firebirds
e63887f720 nightly update 2015-05-14 00:10:09 +00:00
asfernandes
2e932a517e Fixed CORE-4789 - Prohibit ability to cast timestamps that out of valid range to varchar. 2015-05-13 15:19:26 +00:00
alexpeshkoff
9646a5d593 Fixed CORE-4785: Bad packet of op_execute kills the server 2015-05-13 13:24:33 +00:00
firebirds
b87d5a00ee nightly update 2015-05-13 00:09:35 +00:00
alexpeshkoff
28025c6c1c Fixed CORE-4788: Superclassic server hangs when receiving network packet 2015-05-12 12:17:24 +00:00
firebirds
e249c77675 nightly update 2015-05-12 00:10:20 +00:00
asfernandes
050d5b817e Fixed CORE-4782 - Command SHOW TABLE fails when the table contains field with unicode collationin its DDL.
This should fix the problem with QA tests failing with Windows build.

It also changes Linux build, which was incorrect in a different manner.
2015-05-11 15:48:35 +00:00
firebirds
a3d3a08a6c nightly update 2015-05-11 00:09:16 +00:00
hvlad
feea0f7924 Fixed few stability issues with EDS related with cases when external connection is broken unexpectedly. 2015-05-10 20:46:17 +00:00
robocop
18c12ca6db Misc. 2015-05-10 03:03:03 +00:00
asfernandes
63b9def568 Misc. 2015-05-10 01:12:50 +00:00
firebirds
ef2d27b10c nightly update 2015-05-09 00:10:37 +00:00
dimitr
5d5c47371a Fixed CORE-4786: Problematic key value (when attempt to insert duplicate in PK/UK) is not shown where length of key >= 127 characters. 2015-05-08 16:46:52 +00:00
firebirds
8a9d9519d6 nightly update 2015-05-07 00:11:53 +00:00
alexpeshkoff
2e3438fd56 Some more postfixes for CORE-4760 2015-05-06 16:25:06 +00:00
alexpeshkoff
1351b1107c Postfix for CORE-4760: it was bad idea to call upper() method for UTF string 2015-05-06 13:47:27 +00:00
firebirds
b03c9f09cd nightly update 2015-05-06 00:12:15 +00:00
dimitr
2a1ba62ee0 Fixed bad handling of zero-length segments coming from internally filtered blobs. In particular, this fixes ISQL crash in bugs.core_4380. 2015-05-05 12:40:18 +00:00
firebirds
46b9f1c04f nightly update 2015-05-05 00:11:36 +00:00
asfernandes
bdbdc30efc Fixed CORE-4781 - Maximum string length (32765 bytes) is not validated. 2015-05-04 16:24:10 +00:00
hvlad
7400866d99 Windows implementation of ISC_utf8Upper. Refactoring. Update VC10 and VC12 builds. 2015-05-04 11:45:05 +00:00
firebirds
3c762acdc3 nightly update 2015-05-04 00:12:34 +00:00
robocop
5f20e61723 Var shadowing. 2015-05-03 06:20:34 +00:00
robocop
c0627ba33b Misc. 2015-05-03 06:18:56 +00:00
firebirds
abe9755e1f nightly update 2015-05-03 00:11:18 +00:00
asfernandes
adf1fd737d Misc. 2015-05-02 03:54:03 +00:00
firebirds
08def8eaef nightly update 2015-05-01 00:10:20 +00:00
asfernandes
4e509cbf1b Fixed CORE-3234 - Support for text BLOBs >= 32K as first argument for TRIM(). 2015-04-30 15:56:47 +00:00
alexpeshkoff
3921d436ad postfix for CORE-4760: take care about RISC CPUs 2015-04-30 14:42:57 +00:00
alexpeshkoff
0ac40f77be Fixed CORE-4760: Can not create user with non-ascii (multi-byte) characters in the name 2015-04-30 13:44:43 +00:00
firebirds
c0502c61bd nightly update 2015-04-30 00:09:45 +00:00
asfernandes
dd2411e576 Fixed CORE-4755 - Parameterized exception: wrong output when number of arguments greater than 7. 2015-04-29 15:59:46 +00:00
firebirds
d25af9b013 nightly update 2015-04-28 00:26:44 +00:00
asfernandes
94e9cc985f Fixed CORE-4774 - Table aliasing is unnecessary required when doing UPDATE ... RETURNING RDB$ pseudo-columns. 2015-04-27 18:58:36 +00:00
alexpeshkoff
164e2cbcba Check for source nullifying a bit more accurate 2015-04-27 13:15:44 +00:00
robocop
a9dfddf495 Misc. 2015-04-27 04:44:59 +00:00
firebirds
0ab7fb5242 nightly update 2015-04-25 00:16:24 +00:00
alexpeshkoff
7c4f302f72 rolled back accidentially committed debug code 2015-04-24 17:48:48 +00:00
alexpeshkoff
852c4366b2 Make it possible for DBA only to NULLify sources 2015-04-24 17:47:29 +00:00
alexpeshkoff
d284fa3c6a Fixed CORE-4768: CREATE USER ... TAGS ( argument_1 = 'value1', ..., argument_N = 'valueN' ) - wrong results of statement when there are many arguments 2015-04-24 13:07:40 +00:00
firebirds
faf66aa2cb nightly update 2015-04-23 00:17:11 +00:00
alexpeshkoff
a56062a7b7 Fixed CORE-4767: CREATE USER ... TAGS ( attr = "prefix #suffix" ): "suffix" will be removed from storage because of character # in the value of attribute 2015-04-22 17:02:19 +00:00
hvlad
1301cf964f Fixed bug CORE-4766 : AV when trying to manage users list using EXECUTE STATEMENT on behalf of non-sysdba user which has RDB$ADMIN role 2015-04-22 11:03:14 +00:00
firebirds
0cf3cb8367 nightly update 2015-04-22 00:17:57 +00:00
asfernandes
ed36387e0b Misc. 2015-04-21 19:26:27 +00:00
asfernandes
1fdf3644c5 Fixed CORE-4752 - EXECUTE STATEMENT using BLOB parameters results in "Invalid BLOB ID" error. 2015-04-21 19:26:09 +00:00
hvlad
12d08e7178 Fixed bug CORE-4759 : request synchronization error when build expression index. 2015-04-21 10:39:13 +00:00
hvlad
67383e1ff7 Fixed bug CORE-4753 : Firebird hangs in embed mode.
Removed annoying wrong assertion.
2015-04-21 09:36:22 +00:00
firebirds
e0a4131e70 nightly update 2015-04-21 00:10:23 +00:00
alexpeshkoff
30414ee562 Disabled use of system tables in foreign key constraints 2015-04-20 17:04:42 +00:00
alexpeshkoff
1a9830ebd6 Do not let SYSDBA modify structure of system tables 2015-04-20 15:07:14 +00:00
alexpeshkoff
512f0d944e Write-protect one more system relation 2015-04-20 11:42:17 +00:00
hvlad
5186bff658 Fixed bug CORE-4754 : Manipulations with GTT from several attachments (using ES/EDS and different roles) leads to: "internal Firebird consistency check (invalid SEND request (167), file: JrdStatement.cpp line: 325)" 2015-04-20 09:36:29 +00:00
firebirds
fd5aec59d8 nightly update 2015-04-18 23:59:02 +00:00
asfernandes
3ed87ec404 Fixed reintroduction of CORE-1379 per Pavel Zotov comment - Invalid parameter type when using it in CHAR_LENGTH function. 2015-04-18 19:19:12 +00:00
firebirds
d73bfd4a5f nightly update 2015-04-18 11:48:09 +00:00
alexpeshkoff
bab9ce6e47 Fixed CORE-4743: Granted role does not work with non-ascii username 2015-04-17 18:35:39 +00:00
hvlad
b008023ab6 Exceptions in getTransactionInterface() should be catched and traced too 2015-04-17 13:27:01 +00:00
firebirds
85b30975ef nightly update 2015-04-17 12:47:59 +00:00
asfernandes
f1fa572e32 Warning. 2015-04-16 14:50:48 +00:00
firebirds
c709599a85 nightly update 2015-04-16 14:03:10 +00:00
alexpeshkoff
0afc4289de Postfix for CORE-4731 2015-04-16 11:58:19 +00:00
robocop
addd67c018 Misc. 2015-04-15 17:38:33 +00:00
hvlad
8edeb97d5f Fixed bug CORE-4747 : Error "invalid BLOB ID" can occur when retrieving MON$STATEMENTS.MON$SQL_TEXT using ES/EDS and db_connect argument is not specified 2015-04-15 16:59:33 +00:00
asfernandes
23c8c928c7 More fixes for CORE-1605 - Bugcheck 232 (invalid operation) for an aggregated query. 2015-04-15 16:10:14 +00:00
firebirds
69cad24f7b nightly update 2015-04-15 14:54:19 +00:00
alexpeshkoff
18c902de46 Fixed CORE-4715: Restore of shadowed database fails using -k ("restore without shadow") switch 2015-04-15 14:01:24 +00:00
alexpeshkoff
d42402d0b9 Fixed CORE-4731: Prohibit an ability to issue DML or DDL statements on RDB$ tables 2015-04-15 13:19:18 +00:00
alexpeshkoff
9cf62772b1 Fixed segfault caused when compiler used default copy ctor of status_exception 2015-04-14 17:00:45 +00:00
firebirds
32535885cc nightly update 2015-04-14 15:56:57 +00:00
asfernandes
5109af2436 Fixed CORE-4725 - Inconsistencies with ALTER DOMAIN and ALTER TABLE with DROP NOT NULL and PRIMARY KEYs; Fixed some others problems with trailing spaces in object names in error messages. 2015-04-13 18:35:46 +00:00
firebirds
d7d7f3670c nightly update 2015-04-13 17:02:22 +00:00
asfernandes
d685754794 Revert "Remove duplicate lck enums." - broke Windows build as per Dmitry. 2015-04-12 21:05:26 +00:00
firebirds
505288bc78 nightly update 2015-04-11 18:58:34 +00:00
asfernandes
193b892bb9 Fixed CORE-4744 - ALTER DATABASE SET DEFAULT CHARACTER SET: 1) take effect only for once for current attachment; 2) does not check that new char set exists untill it will be used. 2015-04-11 00:59:31 +00:00
firebirds
80fcd01821 nightly update 2015-04-08 22:06:56 +00:00
asfernandes
cc2ce9df3a Remove duplicate lck enums. 2015-04-08 15:12:38 +00:00
asfernandes
f5a4ab8ab1 Misc. 2015-04-08 15:08:21 +00:00
asfernandes
119d1e16f4 Fixed (again) CORE-2932 - Wrong field position after ALTER POSITION. 2015-04-08 03:21:09 +00:00
firebirds
6c58923f24 nightly update 2015-04-07 23:07:16 +00:00
egorpugin
44867c0dbb [build] [cmake] Add more cloop dependencies. 2015-04-07 10:29:14 +00:00
egorpugin
0e02f91a72 Add cloop to CMake build. 2015-04-07 10:08:58 +00:00
firebirds
2b3ef62256 nightly update 2015-04-07 00:09:05 +00:00
asfernandes
b363356223 Fixed CORE-4738 - Command "Alter table <T> alter <C> type <domain_>" does not work: "BLR syntax error: expected valid BLR code at offset 15, encountered 255" - regression introduced with CORE-4733. 2015-04-06 23:21:25 +00:00
alexpeshkoff
c68c440657 Fixed a bug noticed by Simonov Denis 2015-04-06 11:12:54 +00:00
firebirds
19e5f3c0d1 nightly update 2015-04-06 00:13:06 +00:00
asfernandes
2828aee4ab Fixed CORE-4733 - Command "Alter table <T> alter TYPE <C> <DOMAIN_WITH_NOT_NULL" does not verifies data in column <C> and makes incorrect assignments in <C> to ZERO / JULIAN_DATE / ASCII(0) for types INT, TIMESTAMP and VARCHAR. 2015-04-05 02:24:40 +00:00
asfernandes
b50abdb04c Optimize check of column NULLs when changing field or domain to NOT NULL. 2015-04-05 02:24:26 +00:00
firebirds
f81d0aab14 nightly update 2015-04-04 00:13:08 +00:00
asfernandes
a1a745b942 Fixed (again) CORE-3373 - It is possible to store string with lenght 31 chars into column varchar(25). 2015-04-03 01:31:15 +00:00
firebirds
c4dcc1cf92 nightly update 2015-04-03 00:14:05 +00:00
asfernandes
edb4192e67 Changes related to CORE-1180: change syntax and semantics to the standard SQL, and also manage RDB$RELATION_CONSTRAINTS records correctly. 2015-04-02 02:26:46 +00:00
firebirds
2a0db82304 nightly update 2015-04-02 00:14:14 +00:00
alexpeshkoff
f96129ceef Fixes assertion in DFW, caused by uninitialized descriptor 2015-04-01 15:10:06 +00:00
firebirds
dcdf641454 nightly update 2015-04-01 00:14:05 +00:00
alexpeshkoff
5c9eb6d8a3 Fixed CORE-4729: Add a flag to mon$database helping to decide what type of security database is used - default, self or other 2015-03-31 17:22:04 +00:00
mapopa
9fbac0a793 Comments cleanup 2015-03-31 09:57:22 +00:00
robocop
ed1e4b5b7d Misc. 2015-03-31 02:10:38 +00:00
firebirds
a914b27fe1 nightly update 2015-03-31 00:14:42 +00:00
alexpeshkoff
066dfda8e2 Fixed CORE-4583: FB 3 embedded tries to load ICU DLLs from PATH folders 2015-03-30 17:39:54 +00:00
egorpugin
03580b29d6 [build] Fix duplicate symbol error on AppleClang while building for iOS. 2015-03-30 14:35:30 +00:00
egorpugin
b5948553c9 [build] [cmake] Search for accept4 and SOCK_CLOEXEC symbols during configuration step. 2015-03-30 14:34:28 +00:00
alexpeshkoff
4a05fea434 Fixed CORE-4712: Messages "Error in isc_release_request() ... when working with legacy security database" appear in firebird.log for CLASSIC server when connecting with legacy auth 2015-03-30 13:49:30 +00:00
alexpeshkoff
052381246c Fixed compilation on Mac 2015-03-30 12:03:50 +00:00
alexpeshkoff
8b7501f136 Added check for SOCK_CLOEXEC 2015-03-30 11:12:27 +00:00
alexpeshkoff
7adbe5a75a Use better flag name for sockets 2015-03-30 09:34:20 +00:00
firebirds
f5ec22524d nightly update 2015-03-30 00:11:49 +00:00
alexpeshkoff
8ddc441ff3 Fixed CORE-4719: Message "Statement failed, SQLSTATE = 00000 + unknown ISC error 0" appears when issuing REVOKE ALL ON ALL FROM <existing_user> 2015-03-29 15:07:26 +00:00
mapopa
46cdba3868 cleanup comments : old bad SCHAR definition 2015-03-29 12:01:08 +00:00
firebirds
e525cde245 nightly update 2015-03-29 00:13:03 +00:00
asfernandes
336456d140 Misc. 2015-03-28 00:36:04 +00:00
firebirds
7646fc6ca3 nightly update 2015-03-28 00:14:56 +00:00
alexpeshkoff
16768b177d Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry 2015-03-27 17:51:19 +00:00
hvlad
aeeca2812f Fixed Windows build 2015-03-27 15:41:36 +00:00
alexpeshkoff
e7663b6bc0 Use status interface instead plain status vector when working with exceptions.
Avoid use of circullar allocation for strings in status vector (except when unavoidable for ISC API backward compatibility).
Use TLS for circullar allocation buffer instead manually working with threads' list.
2015-03-27 14:36:30 +00:00
firebirds
62520cc84c nightly update 2015-03-26 00:13:01 +00:00
asfernandes
43977cc4bf Rework new aggregate functions so that they use the single blr_agg_function BLR verb. 2015-03-25 17:52:14 +00:00
asfernandes
4554ee24f5 Feature CORE-4722 - Aggregate linear regression functions. 2015-03-25 17:51:54 +00:00
firebirds
11fedd72e7 nightly update 2015-03-25 00:12:42 +00:00
robocop
7873b1f983 Misc. 2015-03-24 01:30:20 +00:00
firebirds
90637ee69c nightly update 2015-03-24 00:12:40 +00:00
alexpeshkoff
6859f8a37d Cleanup 2015-03-23 15:52:30 +00:00
alexpeshkoff
6c5f9b77fe Cleanup - avoid automatic type conversion in FbLocalStatus as suggested by Claudio 2015-03-23 11:06:51 +00:00
alexpeshkoff
ce9df691b0 Misc 2015-03-23 09:06:10 +00:00
alexpeshkoff
0051477bd2 Fixed potential BOF - thanks to Claudio 2015-03-23 08:17:11 +00:00
robocop
220446675b Misc. 2015-03-23 04:29:37 +00:00
asfernandes
64d146a06f Feature CORE-4717 - Aggregate statistical functions COVAR_SAMP, COVAR_POP and CORR - contributed by Hajime Nakagami. 2015-03-23 02:55:42 +00:00
firebirds
8d1cbc7e32 nightly update 2015-03-23 00:12:39 +00:00
hvlad
91c1108608 Fixed Windows build 2015-03-22 22:43:12 +00:00
mkubecek
bab02d6e2a fix default security database location 2015-03-22 14:27:30 +00:00
mkubecek
1aba1dd1d5 class SockAddr code cleanup 2015-03-22 14:26:24 +00:00
robocop
e3ec63de41 Misc. 2015-03-22 00:23:40 +00:00
firebirds
8da3391a44 nightly update 2015-03-22 00:12:30 +00:00
asfernandes
fc4cda85df Fix clang build. 2015-03-21 18:39:06 +00:00
asfernandes
b7b3fe4718 Corrections. 2015-03-21 18:38:48 +00:00
firebirds
4e13ccec3a nightly update 2015-03-21 00:15:33 +00:00
alexpeshkoff
53099f1830 Oops - added forgotten file 2015-03-20 18:03:51 +00:00
alexpeshkoff
c4c9daf132 Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods. 2015-03-20 18:02:30 +00:00
firebirds
91e8bc68cc nightly update 2015-03-20 00:14:26 +00:00
egorpugin
11cbc139d8 [build] [cmake] Add some iOS ifdefs. Hide wrong include dir during crosscompiling. 2015-03-19 11:34:04 +00:00
firebirds
57ab9f9c27 nightly update 2015-03-19 00:14:37 +00:00
asfernandes
2bd863a353 Feature CORE-4714 - Aggregate statistical functions stddev_pop, stddev_samp, var_pop and var_samp - contributed by Hajime Nakagami. 2015-03-18 21:38:52 +00:00
dimitr
5dfd0ab774 Complement my recent changes in this module. 2015-03-18 17:28:53 +00:00
hvlad
1332ff27ac Fixed bug CORE-4713 : "BLOB not found" error at rollback after insert into table with expression index 2015-03-18 17:26:56 +00:00
asfernandes
2e9a581776 Added IUtil::formatStatus. 2015-03-18 02:03:25 +00:00
firebirds
408d6c17ad nightly update 2015-03-18 00:13:22 +00:00
asfernandes
bd1094a671 Misc. 2015-03-17 21:44:55 +00:00
firebirds
cd23b15baa nightly update 2015-03-14 00:17:00 +00:00
robocop
ce1233b10c rdb$system_flag is not nullable in FB3. 2015-03-13 15:31:14 +00:00
robocop
746d47f4f2 Misc. 2015-03-13 15:30:23 +00:00
robocop
939feab036 Misc. 2015-03-13 15:26:22 +00:00
dimitr
51a6b75a9a Cleanup. 2015-03-13 12:07:40 +00:00
firebirds
514251a7f6 nightly update 2015-03-13 00:13:34 +00:00
dimitr
bd28e024d3 Improved BLR printer for scrollable cursors. It also fixes ISQL crash for core-0883.fbt. 2015-03-12 21:52:47 +00:00
firebirds
474f691dfc nightly update 2015-03-12 00:12:59 +00:00
alexpeshkoff
90c01a246e Fixed role's case handling when checking grant for create database - thanks to Claudio 2015-03-11 13:39:58 +00:00
alexpeshkoff
c586171957 Fixed BOF, cleanup misc 2015-03-11 13:37:48 +00:00
firebirds
2deead60db nightly update 2015-03-11 00:12:03 +00:00
asfernandes
8d2d45a36b Fixed CORE-4706 - ISQL pads blob columns wrongly when the column alias has more than 17 characters. 2015-03-10 16:05:13 +00:00
alexpeshkoff
a6d28f7ee1 Postfix for CORE-4571: avoid processing same index more than once when it has segments with different charsets 2015-03-10 13:48:46 +00:00
firebirds
1dc277fb4a nightly update 2015-03-09 00:12:29 +00:00
egorpugin
d14d82b57e [build] [cmake] Fix OS X build. 2015-03-08 13:20:06 +00:00
firebirds
d08f1d0dc1 nightly update 2015-03-07 00:13:20 +00:00
dimitr
d2db1a782e Fixed a possible reason for CORE-4705. Alex, please review. 2015-03-06 20:43:57 +00:00
dimitr
a14e993fbe Fixed inconsistency between unique vs non-unique retrievals (see CORE-4702). 2015-03-06 14:04:07 +00:00
dimitr
12da25ce6d Minor adjustments to the join order selection. 2015-03-06 10:24:29 +00:00
firebirds
b0711004f0 nightly update 2015-03-06 00:15:52 +00:00
alexpeshkoff
7fed9ff78c cleanup 2015-03-05 16:18:46 +00:00
firebirds
b965096370 nightly update 2015-03-05 00:28:15 +00:00
dimitr
95b8ca0db0 Fixed CORE-4704: Generator/exception permissions get corrupted after backup/restore. 2015-03-04 17:58:24 +00:00
alexpeshkoff
219c62b46e Full fix for CORE-4698, also fixed some more or less related leaks, segfaults and assertions 2015-03-04 16:18:53 +00:00
alexpeshkoff
765b71d0e4 Perform non-atomic counter operations under locked mutex 2015-03-04 16:01:10 +00:00
asfernandes
641adcf7a4 Correction. 2015-03-04 15:21:33 +00:00
hvlad
a0bb357515 Fixed rare deadlock (take cleanupMutex before StringsBuffer::mutex) 2015-03-04 10:49:43 +00:00
hvlad
f4f28619dd Additional patch for CORE-4671 : Release internal temporary blobs early to free some memory\disk space
The patch fixed AV when expression indices with blob-based expression is built (see CORE-952, for example)
2015-03-04 10:37:06 +00:00
firebirds
d48ba53a95 nightly update 2015-02-28 00:13:43 +00:00
alexpeshkoff
c4ad4f9aaf Most of methods of vector never throw 2015-02-27 16:01:04 +00:00
firebirds
62d26f6297 nightly update 2015-02-26 00:13:53 +00:00
dimitr
e545a9866c Let's be on the paranoid side when committing. 2015-02-25 20:35:09 +00:00
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