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

436 Commits

Author SHA1 Message Date
Dmitry Yemanov
0229709101 Bugfix for CORE-5275: Expression index may become inconsistent if CREATE
INDEX was interrupted after b-tree creation but before commiting.
2016-06-18 15:57:25 +03:00
1a4f58bc85 Optimize system privilege check - move permanent job to compile phase 2016-06-06 17:54:12 +03:00
7ad99b795e Added support for system privileges 2016-05-31 20:07:08 +03:00
Adriano dos Santos Fernandes
fbba8ad798 Misc. 2016-05-26 14:59:03 -03:00
Adriano dos Santos Fernandes
235ed2d1e1 Misc. 2016-05-26 12:37:23 -03:00
hvlad
07b8cde474 Refactor relation protection routines into a class.
Alex, please review changes related with DFW_reset_icu.
2016-05-12 14:05:29 +03:00
hvlad
c95aaf9300 Place expression index support routines where it should be.
Add protection from changes while expression index is built.
Remove PCMET module.
2016-05-12 14:03:01 +03:00
Dmitry Yemanov
f2d0b64ba2 Misc adjustments after CORE-5232 and more encapsulation for the Lock
class.
2016-05-10 10:44:30 +03:00
Dmitry Yemanov
522f4c09bd Switch to 64-bit savepoint numbers as a straightforward solution for
CORE-5228 (Restore may hang if the database contains more than 4 billion
records).
2016-05-06 23:18:36 +03:00
Dmitry Yemanov
174c252e0c Major refactoring of savepoints. Beware of possible regressions. 2016-05-06 20:16:14 +03:00
dimitr
0b97f5fc41 Misc refactoring:
1) Renamed Hash class to HashTable
2) Reversed data/length arguments
3) Moved hash() routine to its own class/namespace
4) Fixed the license text
2016-03-05 17:40:49 +00:00
dimitr
f82597bad9 Split a 5-way join into two smaller joins to help the optimizer in cases when statistics is outdated (index creation time suffers when there are many tables/indices). While being there, cache requests that weren't cached yet. 2016-02-26 17:19:29 +00:00
asfernandes
05dc362017 Fixed CORE-5107 - set autoddl off and sequence of: ( create view V as select * from T; alter view V as select 1 x from rdb$database; drop view V; ) leads to server crash. 2016-02-10 17:53:44 +00:00
dimitr
dc7aad88ed 1) Slightly refactored recheduling and checkout logic.
2) Re-enabled checkouts in PIO routines, this resolves CORE-4179. Windows build may be broken, please validate.
3) Implemented faster reaction on asynchronous cancellation/shutdown requests.
4) Avoided locking dbb_sync in AST. This change also solves races during massive attachment shutdown.
2015-11-29 15:12:31 +00:00
alexpeshkoff
139331c7e3 Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
alexpeshkoff
bcf2c0eb10 Implemented CORE-4955: Define a new option for DROP SHADOW command to leave the shadow file in the filesystem 2015-10-09 13:30:45 +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
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
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
alexpeshkoff
6c5f9b77fe Cleanup - avoid automatic type conversion in FbLocalStatus as suggested by Claudio 2015-03-23 11:06: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
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
alexpeshkoff
7fed9ff78c cleanup 2015-03-05 16:18:46 +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
asfernandes
dc0d56ed6d Misc. 2014-12-21 01:54:28 +00:00
alexpeshkoff
255b4ff855 Fixed CORE-4571: Can't select from table with ICU column when database (.FDB) is created on LINUX with icu 4.2.1 and then copied to WINDOWS 2014-12-16 14:39:04 +00:00
alexpeshkoff
f5645faaa0 Fixed windows build 2014-09-30 14:21:44 +00:00
asfernandes
252abbf676 Fixed CORE-4555 - DDL trigger remains active after dropped. 2014-09-18 15:55:08 +00:00
dimitr
36af3d8cb2 Cleanup and small refactoring to avoid redundancy. 2014-08-15 14:19:02 +00:00
asfernandes
86487fda92 Misc. 2014-07-20 02:19:06 +00:00
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
dimitr
153b06b2fd Minor structure changes. 2014-06-13 16:28:22 +00:00
asfernandes
4e843cc326 Fixed CORE-4425 - User-collations based on UNICODE are not upgrade to newer ICU version on restore. 2014-05-13 01:47:59 +00:00
asfernandes
913c435667 Misc. 2014-04-19 21:36:55 +00:00
dimitr
fa22d8556f CORE-4386: Report more details for "object in use" errors. More changes to follow. 2014-04-18 12:08:57 +00:00
asfernandes
5ffd4e89f7 Misc. 2014-04-08 03:37:30 +00:00
alexpeshkoff
cbfed4663a Names cleanup - thanks to Claudio 2014-04-07 07:17:42 +00:00
alexpeshkoff
20e846369e Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names) 2014-04-04 15:57:18 +00:00
robocop
29e36dc4f3 The 0th generator becomes unnamed. Only internal requests can access it (zero length names are not allowed from outside). RDB$GENERATORS is no longer a reserved name.System generators cannot be changed by user requests, but can be queried with gen_id(g, 0) if the permissions (ACL) allow that. We don't track dependencies on sys generators, it's not necessary. 2014-04-04 06:39:09 +00:00
robocop
acde43cf94 Misc. 2014-04-02 02:22:13 +00:00
robocop
aac88ea33d Make BTR_lookup return bool. 2014-02-25 06:30:18 +00:00
asfernandes
3a87224281 Warnings and make Linux debug build compile. 2014-02-18 01:49:07 +00:00
asfernandes
5b790ef18d Fixed CORE-4271 - Engine crashs in case of re-creation of an erratic package body. 2013-12-16 01:32:44 +00:00
asfernandes
2aa3e8dd4d Working in progress on the fix for CORE-4271: unify as possible the handling of procedures and functions. 2013-12-12 14:42:31 +00:00
asfernandes
e9b291efc8 Fixed CORE-4281 - TYPE OF arguments of stored functions will hang firebird engine if depending domain or column is changed. 2013-11-26 14:42:06 +00:00
alexpeshkoff
120b10a78a Implemented CORE-4263: Database linger 2013-11-14 16:16:24 +00:00
alexpeshkoff
18d66a33b4 Cleanup - avoid unneeded generate's argument in SortedArray and Hash 2013-09-24 08:46:10 +00:00
asfernandes
a66366bc82 Misc. 2013-08-18 18:53:41 +00:00
dimitr
a1362f9506 Fixed CORE-4173: Setting generator value twice in single transaction will set it to zero. 2013-08-09 05:04:23 +00:00