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