dimitr
a9772bd861
Restored the old code layout, as suggested by Claudio.
2004-10-14 16:35:13 +00:00
dimitr
a1bbad7ccf
The entire RSE handling in the parser is slightly rewritten. New join syntax is introduced.
...
Notes:
1) Some features are disabled (via isc_wish_list) yet due to their incomplete implementation.
2) The parser may become unstable or cause regressions. It will be fixed ASAP.
2004-10-13 18:37:53 +00:00
robocop
a8da598248
Redundant casts.
2004-10-08 11:08:42 +00:00
robocop
ed17cfafbf
Style:
...
if<space>(
for<space>(
switch<space>(
while<space>(
2004-10-04 08:15:00 +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
dimitr
e58ba55a55
Solved issues with literal NULLs in the CASE-based functions.
...
To be reviewed by Arno.
2004-09-05 07:23:42 +00:00
dimitr
f45dc04f6a
Allowed EXTRACT(<part> FROM NULL) to return NULL of SMALLINT/INT (depending on <part>) datatype.
2004-09-04 18:43:11 +00:00
dimitr
cf89467735
Let's describe literal NULLs correctly in expressions.
2004-09-04 18:24:12 +00:00
arnobrinkman
ce97981b91
Fix unneeded error-message with simple CASE and NULL (NULL as text in SQL)
...
CASE NULL WHEN NULL THEN 1 END
2004-08-22 00:53:04 +00:00
skidder
a294b74cb8
Fix one more possible random crash noted by Valgrind. This particular problem is old and happens when UNION DSQL construct is used. Fix is the result of consultations with Arno Brinkman
2004-08-18 18:33:21 +00:00
alexpeshkoff
31039a254e
next step preparing to allocate auto objects memory from appropriate pool
2004-08-16 12:28:43 +00:00
dimitr
d6151c2d8f
Fixed minor issue.
2004-08-01 18:01:54 +00:00
skidder
5494b34caa
size_t is more correct type for container sizes and indices
2004-07-16 23:06:31 +00:00
arnobrinkman
8cde3d2aee
1) Fix FB2 problem with union-auto-cast and losing field-name as column-name
...
2) Fix FB2 problem with WITH CHECK OPTION
2004-06-29 22:15:10 +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
5b282ef4b5
Misc: keep comment in sync with code
2004-05-29 04:36:09 +00:00
alexpeshkoff
9a34ce553c
make bool (isEmpty/hasData) checks for string and stack safe
2004-05-27 16:26:52 +00:00
skidder
ed7234e65e
Fix problem with UDF argument mapping to parameters reported by Torsten Grundke
2004-05-24 12:09:12 +00:00
brodsom
06f7148859
-Replace *_thread_data macros with inline functions
2004-05-22 14:23:10 +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
b30a0b8799
Macro cleaning
2004-05-12 00:02:37 +00:00
robocop
802f244ec1
Misc changes
2004-05-09 05:48:33 +00:00
skidder
e9f8ef102e
Fixes needed to make GCC 3.4 happy
2004-05-03 04:25:06 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
brodsom
e0854daa99
Removing ib_stdio.h
2004-04-28 22:00:03 +00:00
alexpeshkoff
e362fdbef3
fixed number problems after lls to Stack conversion
2004-04-21 14:48:23 +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
arnobrinkman
fe1e74c504
Fix wrong mapping for Count(*) in having clause when used with IN, ANY, SOME, ALL
2004-04-02 23:20:29 +00:00
arnobrinkman
217773ac42
1) Field with alias was also seraching for match in higher context then the first matching context found. Noted by Nickolay
...
Example (this does fail now with column o.ID unknown):
SELECT * FROM Orders o
WHERE
EXISTS(SELECT * FROM RDB$DATABASE o WHERE o.ID = 1)
2) Improved derived table support.
When using derived tables inside sub-selects it should be able to reference to higher contexts.
2004-03-21 01:48:29 +00:00
skidder
e1b6cec486
Allow using PSQL cursors in EXECUTE BLOCK statement
2004-03-15 02:57:07 +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
robocop
e6187cecd2
Cleanup
...
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
robocop
663e3b16e7
Cleanup
2004-02-02 11:02:12 +00:00
robocop
2b295a9108
General cleanup. Sorry if I missed some occurrence.
2004-01-28 07:50:41 +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
hvlad
d09206678b
Added support for default parameters and EXECUTE BLOCK statement
2004-01-16 10:43:21 +00:00
robocop
b441cd9aef
Cleanup
2004-01-13 09:52:19 +00:00
arnobrinkman
1cbc04f4cb
Fix check constraint bug caused by my previously commit
2004-01-10 18:04:40 +00:00
arnobrinkman
0fb9764dcc
Change ambiguity check for proper handling of sub-queries and non-aliassed (derived)tables.
...
This doesn't work anymore :
"select table.field from table t"
But now this does work correctly :
"select * from table t join table on (table.ID = t.ID)"
2004-01-09 02:23:46 +00:00
robocop
16cbc204df
Cleanup
2003-12-31 05:36:12 +00:00
robocop
9fafc348bf
const correctness
...
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
robocop
a94dbd85fd
const correctness and other minor items
2003-11-18 07:58:35 +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
robocop
f55c6f6f8c
const correctness and cleanup
2003-11-10 09:16:38 +00:00
brodsom
43683ea52b
Removing gdsold.h
2003-11-07 23:27:24 +00:00
dimitr
270dcf6aa0
Added ROWS clause. FIRST/SKIP remains allowed in unions, although I still think it doesn't have much sense.
2003-11-07 14:10:16 +00:00
brodsom
146b6f2001
Extern function cleaning
2003-11-07 13:25:53 +00:00
robocop
35396625f5
const correctness
...
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +00:00
brodsom
ff070a16a8
Replacing assert with fb_assert
2003-11-03 23:59:24 +00:00