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

158 Commits

Author SHA1 Message Date
aafemt
adf6fa75c9 Fix warning 2004-10-27 09:33:10 +00:00
aafemt
60cd02de47 Variable shadowing that could cause memory leak 2004-10-27 09:31:30 +00:00
robocop
6ea3416959 Redundant cast. 2004-10-20 00:13:08 +00:00
dimitr
88177b22f7 Fixed WITH CHECK issue for naturally updatable views. 2004-10-17 12:35:19 +00:00
dimitr
09c51110b4 Added the equivalence operator. The major index optimizations are done.
Notes:
1) Some optimizations will follow after more deep analysis.
2) The syntax "==" is not yet agreed on. I'd prefer it to be changed.
2004-10-14 19:09:19 +00:00
dimitr
b18a2aebe1 1) Fixed bug related to SKIP vs derived tables.
2) Prepared views to handle FIRST/SKIP/PLAN properly
2004-10-10 20:02:51 +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
robocop
ed17cfafbf Style:
if<space>(
for<space>(
switch<space>(
while<space>(
2004-10-04 08:15:00 +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
dimitr
f576ebbec7 Fixed bug with DELETE against naturally updatable views. 2004-09-23 05:21:32 +00:00
dimitr
87c1305c03 Removed compile-time upper bound checks.
Limited the SUBSTRING result by 32k characters.
2004-09-22 07:36:55 +00:00
dimitr
47d00c34e0 A number of little corrections. 2004-09-13 21:06:41 +00:00
alexpeshkoff
c3db4aaa97 added (and used in sources) template to change and restore default pool 2004-08-30 18:11:08 +00:00
brodsom
15a5a276da Fix signed/unsigned comparisons 2004-08-26 21:47:19 +00:00
robocop
9ce5f2f683 Simplify expression 2004-08-21 09:30:54 +00:00
alexpeshkoff
31039a254e next step preparing to allocate auto objects memory from appropriate pool 2004-08-16 12:28:43 +00:00
skidder
311d7b4b34 Fix a couple 'invalid read' problems found by Valgrind. Both could cause crashes, one could result in invalid nulls placement. Removed const*const*const stuff in couple places because things like that make code really hard to understand 2004-08-11 05:34:23 +00:00
aafemt
0f132c7212 Variable score 2004-08-04 06:29:23 +00:00
dimitr
321ac4792f Prevent any modifications of the OLD context in triggers. 2004-08-02 19:53:45 +00:00
dimitr
9dc9adf017 Fixed implementations of concatenation and SUBSTRING function.
Used new messages for error reporting. Changes should be fully SQLDA-compatible.
2004-08-02 19:49:12 +00:00
robocop
9eecdd8066 Nickolay says the local variable is different from the outer variable.
Therefore, renamed the inner variable to avoid warning found by D. Sibiryakov. Some integer types made const, too.
2004-07-30 04:58:26 +00:00
skidder
5494b34caa size_t is more correct type for container sizes and indices 2004-07-16 23:06:31 +00:00
robocop
b5c374a300 Style 2004-07-09 05:22:46 +00:00
aafemt
2978da19cd Variable's scope 2004-07-07 10:12:55 +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
dimitr
fe5962a281 1. Yet another attempt to fix that damned double-compile UDF args crap. Hopefully, the last one...
2. Temporary fix for the SUBSTRING (BLOB) issue (until Yaffil merge).
2004-06-27 19:06:41 +00:00
skidder
2915fcf547 Somewhat simplify invariant tracking stuff. It is more pessimistic now, but should work more reliably when invariants are modified (see QMDB tests for details) 2004-06-25 22:12:20 +00:00
brodsom
d2b64735c6 Removing wrong extra ; 2004-06-13 23:47:02 +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
robocop
609ce1c1b1 Const correctness: we no longer need this disguised const_cast because
the function accepts a const string.
2004-05-29 04:58:56 +00:00
alexpeshkoff
9a34ce553c make bool (isEmpty/hasData) checks for string and stack safe 2004-05-27 16:26:52 +00:00
alexpeshkoff
2f99a5ebf1 small strings cleanup 2004-05-26 16:12:05 +00:00
brodsom
f4ca41fa3d -Replace *_thread_data macros with inline functions (jrd step 1) 2004-05-22 14:28:54 +00:00
brodsom
f55f6d5d3e Multiple line comment warning 2004-05-21 15:24:30 +00:00
robocop
f6a7a6844e Reading fb-checkins I realized some bad merges mine. 2004-05-21 07:28:17 +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
b30a0b8799 Macro cleaning 2004-05-12 00:02:37 +00:00
robocop
802f244ec1 Misc changes 2004-05-09 05:48:33 +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
2f4865a195 Replace defines for constants 2004-04-29 14:51:02 +00:00
dimitr
8b24551d15 Fixed bug in one of my previous commits. 2004-04-25 10:00:37 +00:00
alexpeshkoff
7b27fa55be fixed number problems after lls to Stack conversion 2004-04-21 14:14:36 +00:00
alexpeshkoff
ce0d00e9f6 struct trig moved to class Trigger 2004-04-19 15:29:29 +00:00
alexpeshkoff
045e9dc8ec 1. removed any mentions of blk_pool() from engine (and method itself)
2. replaced 'struct lls' with 'template Stack'
2004-04-18 14:22:27 +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
alexpeshkoff
4650f4975f string cleanup 2004-03-31 18:03:51 +00:00