robocop
a867f700d0
Substring evolved and the error message was never updated. Now I've done two messages, although I think we need three in the long term.
2005-06-12 23:45:15 +00:00
asfernandes
a44e8ffbd0
Fix TRIM(NULL FROM <something>) to return NULL
2005-06-12 21:20:12 +00:00
robocop
d431360780
EVL_expr grew too much. Make more functions.
2005-06-11 00:14:55 +00:00
asfernandes
559ce29c51
1) Replace length_ to strlen as noted by Claudio and Dmitry
...
2) Change USHORT to ULONG in intl.cpp
2005-06-06 18:14:10 +00:00
robocop
b8d1f00f94
- Corrections and changes to Adriano's commit, subject to his inspection.
...
- Solved an endless loop with trim and zero-length trim characters, etc.
- Some places are signaled with FB_COMPILER_MESSAGE for prompt attention.
2005-06-06 08:30: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
3f0b18df85
Misc.
2005-05-16 09:15:31 +00:00
alexpeshkoff
5729790ed6
1. Applied class MetaName
...
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
dimitr
d9c5e93442
Removed unused crap.
2005-03-11 08:34:20 +00:00
arnobrinkman
6e12991438
little optimalization
2005-01-27 15:02:17 +00:00
robocop
af6a16107a
Misc.
2004-11-30 06:18:39 +00:00
robocop
54cc81876e
Misc.
2004-11-28 08:36:54 +00:00
robocop
b15c8531e0
Change my FB1 logic that returned the table's owner for the role when a not null field with default CURRENT_ROLE is added, the table has records already and the user does a SELECT. Now, if CURRENT_USER==table's owner, then the CURRENT_ROLE is returned, otherwise NONE.
2004-11-28 08:25:09 +00:00
skidder
c40eb08a27
Remove CURRENT_DATABASE keyword
2004-11-22 20:50:34 +00:00
dimitr
f241ba10c9
Cleanup.
2004-11-18 09:14:20 +00:00
dimitr
bc9c7c0b30
no message
2004-11-17 19:45:28 +00:00
dimitr
7072fa6bb4
Fixed bug found by Claudio.
2004-11-17 12:33:30 +00:00
skidder
23c5b5810c
Fix the bug I recently added to CURRENT_TIME precision handling
2004-11-14 21:08:32 +00:00
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