dimitr
2a4b4051fa
Restored missing asserts.
2004-11-12 05:32:13 +00:00
skidder
1e26d6c80d
CURRENT_DATABASE implementation. Established identity may also be used for isc_info_db_id datum
2004-11-11 05:37:52 +00:00
robocop
e5be73b048
Misc: extra semicolons do not help. :-)
2004-11-07 10:47:20 +00:00
skidder
933063c7ce
Slightly adjust Dmitry's Firebird::TimeStamp class to make it more useful, change is coordiated with Dmitry. Use thread-safe localtime_r routine when it is available
2004-11-04 19:14:20 +00:00
dimitr
5040f83365
Changed TimeStamp class a bit, as suggested by Claudio.
2004-11-01 08:29:16 +00:00
hvlad
13730a72a8
Fixed broken unique index creation found by Adriano dos Santos Fernandes (unique indices can be created with duplicate keys)
2004-11-01 07:51:55 +00:00
dimitr
feb6b7e006
Replaced non-centralized datetime management with a new class.
2004-10-30 19:41:54 +00:00
skidder
d65eac7698
Go back to passing pointers to impure areas instead of direct bitmap pointers. The approach I tried doesn't work with nod_bit_in correctly and doesn't seem pretty to me anymore
2004-10-28 23:26:16 +00:00
dimitr
1a6f5881db
Let's include milliseconds also in CURRENT_TIMESTAMP, accordingly to the SQL spec.
2004-10-27 13:27:30 +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
hvlad
19f2f6fb05
Correct declaration as Claudio suggested
2004-10-11 17:18:42 +00:00
robocop
0ffefddd17
Misc.
2004-10-09 01:40:32 +00:00
hvlad
62bcf6c131
Move 'fini_agg_distinct' declaration and definition in alphabet order
2004-10-08 11:10:58 +00:00
hvlad
edf72a34f6
Fix memory leak when a query contains both GROUP BY and DISTINCT and result set is empty
2004-10-08 10:18: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
dimitr
ae9d129c1c
Added more points to reschedule.
2004-10-03 12:10:19 +00:00
robocop
95bd842887
Shorter code.
2004-10-02 09:29:48 +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
skidder
497c601acc
Reading memory after the end of array is generally bad practice. Avoid it.
2004-09-25 20:29:51 +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
robocop
b60c0e4cab
Misc: format
2004-08-21 09:29:46 +00:00
dimitr
ca4ea54a1e
Small optimization of multiple OR booleans (or a constant IN predicate).
...
The idea is to use a single sparse bitmap for an index matching and hence avoid OR'ing bitmaps for every argument value.
Ported from Yaffil.
2004-08-17 17:52:19 +00:00
dimitr
f9bc338798
Added more checks for a possible literal NULL and another cases when EVL_expr() may return NULL pointer.
2004-08-17 12:28:57 +00:00
alexpeshkoff
31039a254e
next step preparing to allocate auto objects memory from appropriate pool
2004-08-16 12:28:43 +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
skidder
a624a4ac53
Small addition to my previous LIKE fix
2004-07-26 21:32:41 +00:00
skidder
2f7b378158
Fix another problem with my LIKE evaluator
2004-07-20 22:56:32 +00:00
skidder
a64a211a1d
allow processNextChunk receive empty string in pattern matchers. This fixes troubles in DEV_BUILD noticed by Claudio
2004-07-07 15:48:57 +00:00
robocop
682b582764
USHORT -> bool
2004-07-07 03:47:12 +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
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
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
alexpeshkoff
2f99a5ebf1
small strings cleanup
2004-05-26 16:12:05 +00:00
skidder
8c62ac2800
Do not crash with MBCS blobs and LIKE/CONTAINING/STARTNING WITH. Use binary matching in this case for now until INTL is fixed
2004-05-21 23:26:38 +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
9d0ea30edf
Rename evl_like.cpp to evl_like.h (after last changes it constains function templates)
2004-05-13 09:22:10 +00:00
brodsom
2e9c6e6c9f
-Remove unused warning
2004-05-13 00:57:19 +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
c8db819ac5
Replace defines with consts
2004-05-07 07:57:46 +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
skidder
ab4eb9d452
Minor bugfixes related to MBCS support in new LIKE/CONTAINING implementation + small cleanup.
...
This should fix SJIS problem in FBTCS reported by Blas
2004-04-25 02:30:32 +00:00
robocop
59b235cea3
Small corrections
2004-04-10 00:25:22 +00:00
skidder
2621c0dc99
Fix spelling mistake in my comment
2004-04-09 16:32:52 +00:00
skidder
6e0c7285db
Fix another place where we may loose a tick during timestamp arithmetics.
2004-04-09 16:27:31 +00:00
skidder
b97ee370e8
Fix rounding problem in date arithmetics
2004-04-08 22:29:50 +00:00
robocop
faa41f7b3b
Cleanup
2004-03-30 04:10:52 +00:00