robocop
fab6a3a6cf
Get rid of superflous parentheses.
2009-02-28 11:57:40 +00:00
robocop
54356a146e
Delete unused vars.
2009-02-25 06:00:11 +00:00
alexpeshkoff
40e2f7f892
Fixed transactions support in user management commands
2009-02-19 12:59:32 +00:00
dimitr
1b3927b026
1) Globally named per-database shmem regions.
...
2) Slightly reworked monitoring internals.
3) Encapsulated the event manager, many internal changes there.
4) Various cleanup, etc.
2009-01-28 12:27:18 +00:00
robocop
77bd687168
Style.
2009-01-14 08:22:32 +00:00
dimitr
8b6661a477
Fixed the origin of CORE-2264.
2009-01-06 15:57:52 +00:00
dimitr
deb5454ef0
Restored the original (legacy) way of returning the successful status vector.
...
But added an assert to track an unexpected status vector contents early in debug builds.
Slightly refactored the error handling for events, partially synchronized the globals there.
Plus some basic const'ness, better tdbb scope, etc.
2009-01-06 15:32:01 +00:00
robocop
6406e45337
Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.)
2009-01-02 06:36:12 +00:00
asfernandes
f85c49544e
Fixed CORE-2255 - Exception 'string right truncation' when alter view with join
2008-12-23 13:34:18 +00:00
asfernandes
5311dd5a5e
Misc
2008-12-20 19:57:43 +00:00
robocop
9c9e4e9b0b
There's no need to check whether a pointer is null before applying delete or delete[].
2008-12-20 08:16:55 +00:00
robocop
ff99dc3d46
Style.
2008-12-18 10:47:25 +00:00
robocop
511c7eb7d8
Promote thread_data* as function argument.
2008-12-14 10:19:27 +00:00
robocop
e4650d5027
Promote thread_data* as function argument. Only exception where both tdbb and dbb were left together as arguments is nbak.cpp's call to CCH_rollover_to_shadow to avoid any side effect in the changed code, but anyway, that function calls SDW_rollover_to_shadow that takes the dbb from the tdbb and not explicitly.
2008-12-14 09:28:25 +00:00
hvlad
77aac31214
Fix for bug CORE-2114 : Fix for CORE-1838 was incomplete
2008-10-09 18:42:02 +00:00
robocop
62bf232c26
Trim name.
2008-08-31 06:32:34 +00:00
asfernandes
1899067660
Misc
2008-08-30 03:14:08 +00:00
alexpeshkoff
13a15d4bfe
1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
...
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
asfernandes
f82e29851f
Misc
2008-08-08 17:26:26 +00:00
asfernandes
6a5e1cc144
Fixed CORE-1894 - Circular dependencies between computed fields crashs the engine
2008-08-08 16:01:58 +00:00
asfernandes
12d3f6106a
Do not update RDB$DEPENDENCIES in system transaction, to be consistent with most of metadata updates and as work in progress for possible solution for CORE-1894
2008-07-21 15:49:24 +00:00
asfernandes
1442725a4a
Fixed CORE-1986 - Altering domains name drops dependencies using the domain
2008-07-15 15:41:43 +00:00
asfernandes
ce4bf91533
Misc
2008-07-01 01:12:02 +00:00
dimitr
f735ff4502
Fixed CORE-1963: Possible server crash on commit when granting/revoking privileges from multiple connections simultaneously.
2008-06-27 08:44:40 +00:00
dimitr
ee312b0920
Final part of the solution for CORE-1938: fixed synchronization.
2008-06-26 11:20:41 +00:00
dimitr
438dec11d6
1) Keep rel_name for dropped relations in order to report errors properly.
...
2) Throw an error when the relation cannot be locked because of being already dropped.
3) Don't release the existence lock before RDB$RELATIONS is cleaned up.
This is the first part of the changes intended to fix CORE-1938.
2008-06-26 10:48:28 +00:00
alexpeshkoff
a2e416210b
Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
...
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
alexpeshkoff
956b6df437
Fixed CORE-1914: Problem creating table leave the database in inconsistent state
2008-06-20 12:20:40 +00:00
alexpeshkoff
e0109ab067
1. Use DFW to store data for user management.
...
2. Minor cleanup in DFW, fixed memory leaks.
2008-05-21 08:13:20 +00:00
asfernandes
b471e912d3
Fixed CORE-1907 - Dropping and adding a domain constraint in the same transaction leaves incorrect dependencies
2008-05-19 15:26:09 +00:00
hvlad
e3a6060861
Fixed bug CORE-1838 : SET STATISTICS INDEX on index of GTT may wrongly change index id by maximum available number for database page size
2008-04-16 11:46:50 +00:00
roman-simakov
a202daf6bb
Replaced nbackup dirty pages locking with RAII classes
2008-04-16 08:46:13 +00:00
alexpeshkoff
b237f4ebd8
Cleanup - avoid use of SUPERCLIENT macro in files, used by utilities
...
(and in some other places too).
2008-04-08 14:18:24 +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
f5db14b277
Pass some tdbb's as arguments.
2008-03-18 13:04:05 +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
hvlad
23679a8b04
Fix few race conditions during metadata load and make index lock block accounting more MT safe.
2008-03-05 14:23:19 +00:00
dimitr
99caa91b85
DSQL integration into the engine.
2008-02-28 13:48:16 +00:00
alexpeshkoff
ee6c433597
Mutexes cleanup:
...
1. Make all firebird mutexes recursive.
2. Enable exceptions to be thrown by mutexes and process them in code where needed.
3. Catch and ignore exceptions in various MutexGuard dtors.
2008-02-05 08:21:18 +00:00
dimitr
387c3860ca
More fixes for check_partners. Will this ever end? :-(
2008-02-02 14:59:43 +00:00
dimitr
33d31b3d0f
Rolled back my "partner check" changes upon Vlad's request. But one minor change is still done to avoid races in SS. To be reviewed after the CS build is fixed.
2008-01-31 13:36:11 +00:00
dimitr
a38b327886
Cleanup. Get rid of the JrdMemoryPool.
2008-01-29 10:11:52 +00:00
dimitr
8f742ba52c
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 12:57:52 +00:00
alexpeshkoff
39896cb955
Fixed CORE-1671: atexit() calls in client libraries cause segfaults
...
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory
To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.
Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
2c78462820
The merge continued.
2008-01-16 08:46:02 +00:00
dimitr
792fd3d8b6
Bugfix for CORE-1641. The solution is to move some of the phase 3 code to phase 4, so that both create_trigger() and modify_trigger() are in sync. To be reviewed by Adriano.
2007-12-09 09:15:48 +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
robocop
6958aafa45
Misc.
2007-09-02 09:50:33 +00:00
robocop
a455c5e3aa
An extra pair of useless parenthesis was added.
2007-08-31 05:56:17 +00:00
asfernandes
f3ba6d4fa5
Misc
2007-08-29 02:33:35 +00:00
hvlad
8de5dd7342
Fixed bug CORE-1361 : Index operations for global temporary tables are not visible for the active connection
2007-08-28 20:17:36 +00:00
robocop
3a7d93f658
Misc tweaks with Firebird::string.
2007-08-26 09:53:08 +00:00
robocop
fa1538a1ae
Minor changes in MetaName usage.
2007-08-26 09:05:29 +00:00
robocop
7da5c35b5d
Misc.
2007-08-07 10:28:24 +00:00
asfernandes
a568843ccd
Fixed CORE-1395 - Few problems with domains's check constraints
2007-08-04 02:11:07 +00:00
hvlad
42fedd1c0e
PIO_act_alloc and PIO_max_alloc moved into PageSpace static metods
2007-05-22 11:52:23 +00:00
asfernandes
97843da8a3
Misc
2007-05-20 03:25:52 +00:00
asfernandes
de7a981a6b
Fixed CORE-1271 - Creation of invalid procedures/triggers allowed
2007-05-19 21:25:47 +00:00
skidder
04b9ec818b
NBAK synchronization rework. This should fix CORE-1151 and other Nbackup stability issues
2007-04-24 14:05:46 +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
alexpeshkoff
f0d465bf34
Fixed gcc warnings, general (un)signed usage cleanup
2007-04-11 09:28:50 +00:00
asfernandes
b7a1aea1c9
Fixed problem of not storing dependencies for database triggers - reported privately by Dmitry
2007-04-03 15:41:00 +00:00
hvlad
b3dcfede36
Close external table's file when relation is not used by the engine.
...
This is simplest fix for bug CORE-132 (Restore fails on external table) and CORE-961(Free external tables)
2007-03-19 21:34:52 +00:00
dimitr
51a3d78c1e
Fixed bug in the ported code.
2007-01-28 07:03:02 +00:00
asfernandes
564147db66
Misc
2006-12-15 01:32:39 +00:00
dimitr
9d2b718bba
Restored the old alter-in-use logic upon customer requests.
2006-12-14 16:11:21 +00:00
hvlad
a810712c6e
Fix for CORE-1051: Possible stack corruption in DFW\check_dependencies
2006-12-11 14:03:29 +00:00
robocop
7a46dc7247
Misc.
2006-11-10 08:12:07 +00:00
asfernandes
73f1aa1f8c
Remove variable shadowing - thanks to Claudio
2006-11-09 00:18:07 +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
robocop
6b4ee46d7c
Misc.
2006-09-30 09:25:49 +00:00
robocop
bdda709bca
Misc.
2006-08-30 06:14:34 +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
asfernandes
b7af27215e
Allow usage of domains in PSQL (with TYPE OF syntax)
2006-08-19 02:52:39 +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
0aef0fe67c
Report "feature not supported" for nbak operations on ODS10.
2006-06-06 10:23:37 +00:00
robocop
3fa49e994b
Style and typo correction.
2006-05-26 05:19:48 +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
robocop
e77a46b011
Misc.
2006-05-20 03:55:54 +00:00
asfernandes
292ad66e96
Misc
2006-05-20 01:53:51 +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
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
robocop
8f1cf8f2cb
Commit correct signature for events-related calls.
2006-03-10 08:23:40 +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
hvlad
832bba530c
Fixed SF #1436066 : Adding index during DB activity causes GFIX errors
2006-02-22 14:55:54 +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
044c5841ad
Misc.
2006-02-10 03:28:43 +00:00
dimitr
2b10a0e4b7
Hopefully, this should fix SF #1404157 .
2006-01-26 11:17:52 +00:00
robocop
1ca7a582f9
EXPRESSION_INDICES code is considered stable and therefore there's no need to keep it protected by macros. Please do a full rebuild.
2006-01-14 07:00:44 +00:00
alexpeshkoff
32ef4f5b67
fixed compilation after changes in exception
2006-01-07 16:58:23 +00:00
dimitr
38e34a43ba
Fixed SF #1191206 .
2005-12-12 13:58:19 +00:00
robocop
e2f440a374
Finish Mike work after 3 years. :-)
2005-12-03 06:43:19 +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
alexpeshkoff
62a24d46e4
1. Moved data structures, written to database file, into ods.h.
...
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
hvlad
9d6b361f69
Eliminate unnecessary JRD_get_thread_data call in nbak.
...
Checked against B2_0_BV_Stable3 branch
2005-11-21 23:33:20 +00:00
hvlad
3d798bb34d
Fixed bug in DFW reported by Claudio in fb-devel (lost status-vector during phase 0 execution)
2005-11-13 10:01:47 +00:00
robocop
6ec02b200e
Moved another hardcoded error string to the msg database.
2005-10-07 08:52:51 +00:00
robocop
eb03e65ddc
Source code comments.
2005-09-27 07:47:11 +00:00
robocop
7d34a2dfb4
It shouldn't be possible to write BLR to create tables with fields using unknown data types.
2005-09-24 05:11:04 +00:00
hvlad
8425cc1b2d
Fix SF #1256675
2005-08-14 20:46:17 +00:00
hvlad
da230f3442
Temporary disable procedure parameters dependency check until proper solution (something like dyn_mod_parameter) will be implemented.
...
This check was never worked properly so no harm is done
2005-08-13 20:24:40 +00:00
hvlad
41e5597de0
Lost part of my previous commit. Thanks to Claudio
2005-08-04 06:21:11 +00:00
robocop
773b8035c1
Totally misc.
2005-08-04 04:03:01 +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
robocop
66f466d3a9
Misc.
2005-07-08 03:25:31 +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
robocop
a3e76836e3
Misc.
2005-06-16 05:02:37 +00:00
asfernandes
890494ac7c
1) Fixed SF #1016040 Missing external libraries causes engine exception
...
2) Use better error messages
2005-06-14 03:16:54 +00:00
hvlad
8146bb5e41
Fixed SF bug #1186607 (Foreign key relation VARCHAR <-> INT ??????)
2005-06-11 11:39:03 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
alexpeshkoff
c03d2241c5
fixed issues, reported by Claudio
2005-05-17 18:20:07 +00:00
robocop
ee7dbf0b8c
Let's go back to the old more robust code after Alex change: one argument is not null terminated.
2005-05-16 09:04:00 +00:00
alexpeshkoff
5729790ed6
1. Applied class MetaName
...
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
dimitr
636425845a
Correction.
2005-03-29 05:54:57 +00:00
dimitr
4ec439dd14
1) Deliver trigger type to the compiler level
...
2) Disallow NEW context assignments for POST-triggers
2005-03-28 21:52:55 +00:00
dimitr
1d5133d6cc
Solved restore issues with recent (and future) compiler changes.
2005-03-28 19:36:01 +00:00
robocop
0410e8b0ac
Fix items 1 & 2 from SF Bug #217042 .
...
A table should have at least one "physical" field. A table with only computed fields cannot accept data, same than a table with only a check constraint.
2005-01-25 06:46:38 +00:00
robocop
73c5351bb7
1.- Misc.
...
2.- Use constants instead of harcoded positions in node's arguments.
2005-01-21 08:36:06 +00:00
robocop
24742873ad
fb_string.h is moved to common/classes.
2004-12-17 05:41:47 +00:00
robocop
fd2bcc04e4
frb_sys_flag becomes fb_sys_flag
2004-11-29 09:09:42 +00:00
robocop
d6535351a2
Misc: style.
2004-11-24 09:22:07 +00:00
alexpeshkoff
ea9e900ab3
cleanup of methods, storing data in plain char*
2004-11-14 18:05:13 +00:00
alexpeshkoff
73c3fc3e51
1.fixed problem with double-opened databases on LanMan mounted disk.
...
might cause database corruption.
2.more active use of Firebird::string in isc_file.cpp
2004-11-07 14:43:29 +00:00
hvlad
4d95ce3d42
New garbage collector thread implementation
2004-11-05 08:01:21 +00:00
robocop
5c58b09674
Misc.
2004-10-30 05:51:30 +00:00
robocop
41c68bdd70
Implement rdb$description in rdb$generators. What a chore.
2004-10-30 05:23:31 +00:00
skidder
0c46bd34ea
Unify ODS11 between 32-bit and 64-bit builds on the same architecture: use 64-bit alignment and 32-bit descriptors
2004-10-25 01:18:37 +00:00
dimitr
0b52c3f9e2
Fixed bug related to UDFs vs expression indices.
2004-10-10 19:29:05 +00:00
robocop
4778d95532
Possible buffer overrun.
2004-10-07 09:02:24 +00:00
skidder
3e6b170862
Roll back implementation of Claudio suggestion for consturctor of BID structure. It forced addition of constructors for message structures generated by GPRE which is not correct
2004-10-03 20:18:13 +00:00
skidder
36c4d7b832
Implement BID constructor as Claudio suggested
2004-10-01 21:12:46 +00:00
dimitr
a4cb9ebc26
Added transaction lock timeouts and new TPB value.
2004-09-28 20:25:52 +00:00
skidder
02a0915156
Teach engine to work with larger record numbers - 64-bit internally, 40-bit externally
2004-09-28 06:28:38 +00:00
robocop
8021b1db19
Redundant cast
2004-09-26 07:45:19 +00:00
robocop
840bf14b36
If we are using namespace fb_utils, it doesn't make sense to prefix functions in it with fb_ again. Mechanical replacement made one by one (no bulk automatic changes).
2004-09-26 01:49:52 +00:00
robocop
5dce94f59f
Collapsed an example of Borland's advanced copy/paste technique that repeats routines in different files into a single function.
2004-09-15 03:49:52 +00:00
alexpeshkoff
81f03912ee
small optimization - noticed by Claudio
2004-09-06 08:46:21 +00:00
alexpeshkoff
c3db4aaa97
added (and used in sources) template to change and restore default pool
2004-08-30 18:11:08 +00:00
alexpeshkoff
31039a254e
next step preparing to allocate auto objects memory from appropriate pool
2004-08-16 12:28:43 +00:00
skidder
0360af0308
Do not write rubbish per-segment selectivity into the database. Valgrind reported it as uninitialized value passed to write(buf) syscall
2004-08-12 00:31:29 +00:00
robocop
92a6a8d81a
Vars in context
2004-07-07 03:45:18 +00:00
robocop
a19dadb269
1.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h, second round.
...
2.- Prevent users from deleting system generators and modifying any entry in rdb$generators. VIO passes the task to DFW, the only problem being that the user gets the error when a commit is done, not before.
2004-07-06 05:59:40 +00:00
robocop
949830d0c6
1.- const correctness
...
2.- style
3.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h,
first round. No circular dependencies found through MSVC. Still pending dyn* and grant.epp files.
2004-06-29 04:37:59 +00:00
alexpeshkoff
1591a54e5e
Thread cleanup:
...
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
brodsom
bed146ad19
-Replace *_thread_data macros with inline functions (jrd step 2)
2004-05-23 03:18:10 +00:00
brodsom
f4ca41fa3d
-Replace *_thread_data macros with inline functions (jrd step 1)
2004-05-22 14:28:54 +00:00
robocop
441817bd82
1.- Misc changes
...
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +00:00
brodsom
68cb86b274
- Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
...
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
df4aa2ec66
Macro cleaning (use ini.h instead repeating the macros)
2004-05-18 16:40:20 +00:00
brodsom
b76a60e8b7
Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build)
2004-05-17 22:30:09 +00:00
brodsom
ee34db7e20
Macro cleaning (THREAD_*)
2004-05-15 00:58:46 +00:00
brodsom
9dbe1e64fe
-Remove casts unneeded after macro cleaning
2004-05-14 18:43:34 +00:00
brodsom
b30a0b8799
Macro cleaning
2004-05-12 00:02:37 +00:00
skidder
91efe0fba0
Carefully account attachment pointers used inside JRD lock structure. This should cure crash reported by Nils Boedeker
2004-05-05 05:28:48 +00:00
brodsom
60d9d085a0
Macro cleaning
2004-05-03 21:43:56 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
brodsom
a549091c94
- Split sqlda.h to avoid duplicated definitions between ibase.h and sqlda.h
...
- Replace define for constants
- Remove contants.h where not used.
2004-04-30 22:47:16 +00:00
brodsom
2c0ab256cf
Removing duplicated definitions between
...
ibase.h and blob_filter.h
ibase.h and constants.h
2004-04-29 17:48:39 +00:00
brodsom
5cf9fdfc90
Removing ib_stdio.h
2004-04-28 22:43:34 +00:00
skidder
abdbec6f84
Switch to Firebird container templates for request resource tracking. This significantly reduces CPU time any memory consumption for databases with complex metadata
2004-04-18 02:50:38 +00:00
skidder
eb1ae27de8
Small metadata cache cleanup
2004-04-10 19:46:48 +00:00
skidder
132ee46a8e
Do not allow to drop or modify procedures that are in use by user requests directly or indirectly. Reference tracking infrastructure needed for this task existed for long time already and seems to be reliable enough, but this is still an experimental change and feedback is much appreciated.
2004-04-02 04:02:43 +00:00
alexpeshkoff
f1fc32cfc2
fixed posix warning
2004-03-31 17:17:58 +00:00
aafemt
9580d4bfa5
Fix double const
2004-03-30 10:22:38 +00:00
robocop
faa41f7b3b
Cleanup
2004-03-30 04:10:52 +00:00
robocop
1824343930
Cleanup.
...
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
alexpeshkoff
7007d6f2a4
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
958f9e31aa
Cleanup
...
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +00:00
robocop
f58c769c37
Cleanup. In geeky words:
...
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
alexpeshkoff
67f1740fea
Various cleanup to make engine compile and work after mentioned earlier changes.
...
Mainly:
1) MemoryPool* => MemoryPool& in arrays' constructors
2) use Firebird::string to keep strings data
2004-03-14 13:40:14 +00:00
skidder
c64f31b712
Fix some warnings from GCC/Linux build. Some of them were subtle errors
2004-03-12 07:00:52 +00:00
robocop
2ab1f94dd2
Cleanup
...
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
skidder
b6e5ccd413
Clean up.
...
1. gds__alloc doesn't throw
2. Add NOMEM handlers to a couple places
3. kill HAVE_*SNPRINTF conditionals
2004-03-09 00:17:07 +00:00
robocop
e6187cecd2
Cleanup
...
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
skidder
dc7aab8f9c
Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed
2004-03-01 03:35:23 +00:00
robocop
5c3c8abd9a
Big cleanup.
...
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
robocop
2b295a9108
General cleanup. Sorry if I missed some occurrence.
2004-01-28 07:50:41 +00:00
dimitr
c57e959d4f
Fixed yet another porting bug. Thanks to Eugene Kilin.
2004-01-26 12:55:53 +00:00
skidder
08eee5ebaa
Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static.
2004-01-21 07:18:30 +00:00
robocop
06a4df3708
A requiem for JOURNAL and WAL.
...
Instructions in the list.
2004-01-06 10:33:18 +00:00
robocop
fd93837ec3
Cleanup:
...
const correctness
BOOLEAN -> bool
Vars in scope
Formatting
JRD_REQ -> jrd_req*
JRD_TRA -> jrd_tra*
JRD_REL -> jrd_rel*
JRD_FLD -> jrd_fld*
event -> event_t, EVENT_T dropped, EVENT should go in the future
Frank's corrections
alice's STR -> alice_str*
remote's STR -> rem_str*
etc.
It creates entities and backups and restores for me. :-)
2004-01-03 10:59:52 +00:00
robocop
16cbc204df
Cleanup
2003-12-31 05:36:12 +00:00
robocop
ad0b5c4de3
General cleanup
2003-12-22 10:00:59 +00:00
dimitr
6ae0d51b91
IMPORTANT - this commit introduces an ODS change!
...
1. Added selectivity to idx_repeat and irtd
2. Let's make the selectivity array independent from ODS
3. Cleanup
TODO - use per-segment selectivities in the optimizer and get rid of idx::idx_selectivity for ever
2003-12-14 18:22:06 +00:00
robocop
d020ea5ca1
ping-pong cleanup: change one place and you have to change several others
2003-12-11 10:33:30 +00:00
skidder
8b3a486eea
1) Implement separate algorithm of procedure dependency tracking for
...
procedure modification case. This significantly decreases database restore
times for schemas using lots of procedures calling each other and using tables
with many triggers.
2) Enable metadata cache logging for PROD_BUILD because it has importance,
actually
2003-12-06 02:58:22 +00:00
robocop
84062732d8
More cleanup
2003-12-03 08:19:24 +00:00
dimitr
f99e3373d4
Let's support segment-level selectivities. Amen.
2003-11-30 21:14:30 +00:00
brodsom
c5253ae8a5
-Replace gds__ constants with isc_ contants
...
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
dimitr
cf832816e4
Reworked my previous fix. We shouldn't rely on the relation scanning time.
2003-11-09 18:59:13 +00:00
dimitr
63809c18b8
1) Make view fields unconditionally updatable
...
2) Make views updatable only directly or via the triggers
3) Cleanup
2003-11-09 09:51:02 +00:00
brodsom
4285bc623c
Removing gdsold.h and gds.h
2003-11-08 16:40:17 +00:00
robocop
db77ffa605
const correctness, variables in scope, cleanup, etc.
2003-11-07 08:06:35 +00:00