8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-30 19:23:03 +01:00
Commit Graph

263 Commits

Author SHA1 Message Date
hvlad
b04aa77f13 Fixed bug CORE-1830 2008-04-28 09:35:10 +00:00
asfernandes
f0299cfb29 Misc 2008-04-03 01:11:26 +00:00
hvlad
37a03b26b8 Split TDBB_deferred flag by two separate flags as its used for two different purposes now 2008-04-02 13:46:29 +00:00
robocop
3e724a9286 Misc. 2008-03-18 13:02:21 +00:00
asfernandes
493a6eab3c Misc 2008-03-17 02:00:16 +00:00
alexpeshkoff
d3ec37bba0 Fixed CORE-1770: Bugcheck 291 in DDL 2008-03-16 17:10:41 +00:00
dimitr
afb970dba1 1) Cleanup.
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
robocop
97d0692180 Cleanup. Done separately in case bad behavior happens.
Notice you can't safely assume SCHAR is signed char since Mike Nordell made it a synonym for plain char that's compiler-dependent.
SCHAR is defined in both types_pub.h and fb_types.h.
2008-03-10 09:42:48 +00:00
robocop
30b4021b88 Pass thread_db* since it's available from the caller. 2008-03-08 11:33:57 +00:00
hvlad
7d54298dea Fixed CORE-1775 : Improve performance of security checking 2008-03-06 13:13:31 +00:00
robocop
4c3381ef6b Style, constness and macro cleanup. 2008-02-03 10:41:44 +00:00
dimitr
a38b327886 Cleanup. Get rid of the JrdMemoryPool. 2008-01-29 10:11:52 +00:00
dimitr
43594ed53a Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 13:17:19 +00:00
dimitr
ae692fc319 The merge continued. 2008-01-16 10:17:51 +00:00
asfernandes
37d3c84da2 Misc 2007-12-17 23:58:42 +00:00
hvlad
025a8d13cc Fixed unregistered bug : wrong record number calculation in garbage collector thread 2007-12-17 12:15:36 +00:00
dimitr
d276641cc8 Fixed CORE-1610 and its subtask CORE-1615. 2007-12-10 07:18:54 +00:00
alexpeshkoff
eea9070f48 Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster 2007-12-03 15:46:39 +00:00
dimitr
6d8033f146 Fixed the server crash that appeared after a recent restore.epp commit by Nickolay.
Now a domain can be altered while not being linked to a particilar relation yet.
2007-10-31 12:00:16 +00:00
robocop
fa1538a1ae Minor changes in MetaName usage. 2007-08-26 09:05:29 +00:00
asfernandes
a568843ccd Fixed CORE-1395 - Few problems with domains's check constraints 2007-08-04 02:11:07 +00:00
alexpeshkoff
e5f1e63836 Fixed CORE-1312: A remote attacker can check, if a file is present in the system, running firebird server 2007-06-08 10:24:57 +00:00
alexpeshkoff
6d2eee93f3 Fixed CORE-885 - impossible to take away rights on update of a column 2007-05-11 09:24:57 +00:00
asfernandes
9582ea243c 1) Upgrade INTL interface to undestand misc. configuration informations
2) Make our ICU collations work with different ICU versions (tested with ICU 3.6)
2007-04-15 15:57:12 +00:00
asfernandes
2100a06c84 Make MOV_move know how to move blobs.
This fixes CORE-1147: Blobs are not converted to string in UDF parameters.
2007-03-02 00:46:03 +00:00
robocop
9475e6b3e5 Fix for CORE-1142.
Someone hijacked my little function dfw_should_know() for more purposes than it was intended and thus the original logic was defeated.
:-)
2007-03-01 13:20:08 +00:00
robocop
d009be834f Misc. 2007-02-09 08:34:16 +00:00
asfernandes
61f90ea1ae Misc 2007-01-06 23:50:32 +00:00
dimitr
95ff778078 Restored the old code that reused savepoints and verbs instead of re-allocating them. In practice it shows about 7-8 percents of time economy during restore. My hopes that our memory manager can handle it efficiently failed. 2007-01-06 10:18:20 +00:00
dimitr
83c7f38229 Fixed CS build. 2007-01-06 06:52:43 +00:00
asfernandes
5db5421a66 Misc 2006-12-30 16:55:06 +00:00
hvlad
d32901c9f8 Implement improvement CORE-1071 : background garbage collector don't need to read backversion of active record 2006-12-28 12:33:57 +00:00
asfernandes
659d23e6ab Report number of concurrent transaction when raising update_conflict 2006-12-17 21:03:41 +00:00
asfernandes
570b6cd4b4 1) CORE-645 and CORE-745: Database triggers
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +00:00
dimitr
543fc5e0d1 Enabled rescheduling points for classic. It allows to shutdown database or cancel operation timely for a heavy loaded attachment. 2006-10-31 15:59:23 +00:00
robocop
8e7e781e5f Partial commit with some cleanup and more constants. 2006-10-10 06:41:36 +00:00
dimitr
988782a96a 1) A new class to handle aggregated multi-level performance counters.
2) Cleanup and minor fixing.
3) A few monitoring changes.
2006-10-07 10:53:01 +00:00
robocop
4a5313037b Misc. 2006-10-07 09:52:14 +00:00
awharrison
e913a10676 Normally, deleted records are represented by a stub which has no
data so should not be used for VIO_data calls when building the
version chain.  Under some circumstances, however, the deleted
flag is set on a complete record version with a delta back version.
When that happens, the record should be retrieved
2006-10-06 17:09:58 +00:00
asfernandes
e19c81c212 Misc 2006-09-02 02:44:50 +00:00
aafemt
e6151fd57f Warnings 2006-09-01 10:51:57 +00:00
robocop
7fced64a88 Misc. 2006-08-30 04:54:44 +00:00
asfernandes
fcac437363 Don't check procedure BLR when it's marked as invalid, to allow restoration of backups with invalid procedures. 2006-08-27 01:09:47 +00:00
hvlad
2ecb3ccff6 Fixed CORE-902: server crashed removing old record version if record format was changed and new format have a greater length 2006-08-18 14:30:09 +00:00
robocop
471d052e82 Misc. 2006-08-13 06:46:16 +00:00
asfernandes
e538061c38 Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations 2006-08-07 16:39:21 +00:00
asfernandes
50cae9632b Misc 2006-07-12 01:38:41 +00:00
robocop
4c0b816568 CORE-847
Deleting dependencies for fields that WERE computed.
2006-07-11 04:57:28 +00:00
dimitr
0b7e4c9812 Misc. 2006-05-31 12:04:55 +00:00
hvlad
8e14bc4f1e Move relation stuff from jrd.h\vio.cpp into new Relation.h\Relation.cpp
by request of Claudio and Dmitry
2006-05-30 13:29:24 +00:00
hvlad
4e20ada751 Move jrd_rel::getPages into jrd.h to make it inline not only in vio.cpp. Noted by Adriano 2006-05-29 07:41:11 +00:00
hvlad
64f6714f2d Optimize jrd_rel::getPages a bit 2006-05-28 11:54:54 +00:00
robocop
3fa49e994b Style and typo correction. 2006-05-26 05:19:48 +00:00
asfernandes
1dcdd0d3ca Misc 2006-05-25 03:15:53 +00:00
robocop
c4c5b05894 Misc. 2006-05-24 09:28:22 +00:00
hvlad
99e5d1dbcf Removed unneeded if. Noted by Claudio 2006-05-24 08:29:57 +00:00
asfernandes
7bfbe63f82 Misc 2006-05-24 03:03:52 +00:00
dimitr
211645e3dc Getting rid of the old allocator routines. 2006-05-23 10:17:00 +00:00
hvlad
701f2cbda4 Global temporary tables implementation 2006-05-21 22:07:35 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
dimitr
5331015d9b Threading cleanup. More to follow. 2006-04-30 17:03:26 +00:00
dimitr
b93f103c49 Fixed SF #1475979: Dropping and recreating a table in the same txn disables PK. 2006-04-30 04:51:10 +00:00
robocop
c5f2284b15 Style. 2006-04-06 08:18:53 +00:00
hvlad
b4f5cb5972 Fixed Beta2 bug reported in Russian newsgroup : AV when dropping FK
with inactive index. Style
2006-03-17 07:56:57 +00:00
alexpeshkoff
74b7418943 we should not loose status vector held in status_exception 2006-03-15 17:25:49 +00:00
asfernandes
244ea016b0 Fix SF Field-test #1439268 - Sequence of commands crash FB server - second part - thanks to Claudio 2006-03-10 00:26:20 +00:00
asfernandes
fa5b4613cb Fix SF field-test #1439268 - Sequence of commands crash FB server 2006-03-04 18:24:04 +00:00
robocop
1f84bac700 Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc. 2006-02-23 05:08:26 +00:00
asfernandes
5959391572 Don't allow to drop indices used in explicit plans inside SPs/triggers 2006-02-19 21:16:45 +00:00
robocop
2b99e764e3 The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
Sixth step: remove the places protected by the macro PC_ENGINE. More to come. (I guess all of you who have pending functional changes to post will love this commit. <g>)
2006-02-02 07:32:07 +00:00
robocop
c2fe7385ab The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
Second step: remove them from #include clauses in other files. More to come.
2006-02-01 08:55:43 +00:00
dimitr
e1e2dafa84 1) Replaced TEXT* with MetaName& in SCL.
2) Fixed SF #1396017.
2006-01-03 15:47:56 +00:00
robocop
f00fc0ff56 1.- Make "vec" type safe and get rid of several code contortions. Fix some small bugs meanwhile.
2.- Put inside PC_ENGINE several data members that belong to that feature.
3.- Put inside PC_ENGINE the code that does cleanup on those unused data members.
2005-12-02 07:35:34 +00:00
hvlad
cf990361db Fixed FB2 regression 2005-10-31 07:28:40 +00:00
hvlad
0f8e1ad170 Fixed AV in notify_garbage_collector 2005-10-20 13:03:33 +00:00
hvlad
ba9daa4f43 1. Proper fix to "can't find record fragment" bug occured when user
transaction back out record modified by system transaction
2. Restore gc_thread's ability to collect garbage in system tables
2005-10-16 11:36:41 +00:00
robocop
8fe83cfaae Putting, deleting or changing the comment on an index shouldn't cause the index to be rebuilt. The logic was applied previously to user generators only. To be reviewed by Dmitry. 2005-09-27 07:46:44 +00:00
hvlad
c104f1b23d Fixed two DFW bugs
1. Unregistered FB2 bug - expression index dependencies was tracked not correctly.
2. SF #1250150
2005-08-02 11:41:37 +00:00
hvlad
0bc1c4bf49 1. Allow to create FK constraints without exclusive database locking
2. Fix 'partner index not found' error when one process dropped FK and another trying to delete master record
3. misc changes in vio.cpp
2005-06-26 21:48:47 +00:00
dimitr
894fa1e011 Removed unused thread scheduling option. 2005-06-12 06:27:12 +00:00
robocop
3aaa840483 Misc. 2005-05-22 03:11:41 +00:00
robocop
70f8556174 Indentation. 2005-05-03 05:41:07 +00:00
dimitr
e296380ddf Fixed GBAK -kill dropping existing shadow. 2005-05-02 17:22:16 +00:00
dimitr
3cca73bdb0 Corrected the returned error code. 2005-04-25 19:45:26 +00:00
dimitr
f52b89dbe8 1) Made RefetchRecord a public routine
2) Use it in EXE to avoid code duplication
3) Some alphabetical code movement
2005-03-27 15:01:56 +00:00
hvlad
2c9fbae58f Attempt to fix bug "cannot find record fragment" 2005-03-26 11:43:52 +00:00
hvlad
869f5d7420 Temporary disable precise PK\FK constraints checking logic 2005-02-01 15:02:40 +00:00
robocop
8d4b89723f Welcome to paranoid programming. 2005-01-25 06:33:07 +00:00
robocop
1718ae5a45 Misc. 2004-12-26 04:09:06 +00:00
skidder
0b2694416c Fix GCC build 2004-11-15 04:06:32 +00:00
hvlad
679c2a7f28 Corrected typos pointed by Claudio 2004-11-11 10:21:55 +00:00
robocop
cf0c42f971 Misc. 2004-11-10 05:19:20 +00:00
hvlad
aba34753cb Add config file parameter for the garbage collection policy 2004-11-09 12:59:37 +00:00
robocop
e5be73b048 Misc: extra semicolons do not help. :-) 2004-11-07 10:47:20 +00:00
robocop
77571e4c69 1.- Extra unneeded semicolons are being garbage collected.
2.- Style: sepate params by space, type for<space>(, etc.
2004-11-06 07:20:44 +00:00
hvlad
4d95ce3d42 New garbage collector thread implementation 2004-11-05 08:01:21 +00:00
robocop
41c68bdd70 Implement rdb$description in rdb$generators. What a chore. 2004-10-30 05:23:31 +00:00
robocop
5bb9225de4 Style and typo. 2004-10-20 00:16:25 +00:00
hvlad
59029fb3e7 More precise check for primary key\unique\foreign key constraints. Code for expression indexes will be commited soon. 2004-10-18 14:46:41 +00:00
dimitr
421f259a4e 1) Locks related cleanup
2) Got rid of TRA_nowait + transaction waits related cleanup
3) Return isc_lock_timeout when it's necessary
TODO: Enhance SET TRANSACTION
2004-10-07 09:15:32 +00:00