alexpeshkoff
878b0b6091
Fixed EXECUTE STATEMENT to support INTO clause
2003-03-01 19:19:23 +00:00
hippoman
1cb0c17ace
* Formated comments to make Doxygen Happy..
2003-02-15 03:01:51 +00:00
hippoman
ad14320d0e
* formated dsql.h comments to make Doxygen happy..
...
* changed DSQL_debug values as follow..
/*! \var unsigned DSQL_debug
\brief Debug level
0 No output
1 Display output tree in PASS1_statment
2 Display input tree in PASS1_statment
4 Display ddl BLR
8 Display BLR
16 Display PASS1_rse input tree
32 Display SQL input string
64 Display BLR in dsql/prepare
> 256 Display yacc parser output level = DSQL_level>>8
*/
2003-02-15 02:05:10 +00:00
brodsom
3cb91fce80
Remove PIPE and STACK defines (PIPE_SERVER, PIPE_CLIENT, PIPE_LIBRARY, PIPE_SERVER_YVALUE, PIPE_BRIDGE_TO_V3, V3, V3_PATH, ALTPIPE)(STACK_EFFICIENT, STACK_REDUCTION)
2003-02-14 02:24:44 +00:00
dimitr
6e42d8c093
Fixed exception handling.
2003-02-13 12:01:28 +00:00
dimitr
f833079b2f
CONST -> const
2003-02-13 09:33:26 +00:00
tamlin
bc383ff498
A bit const correctness added and some reinterpret_casts removed.
...
Changed DSQL's str to actually hold char.
2003-02-12 19:28:13 +00:00
hippoman
801a2ad538
Some fixes to to DSQL_pretty:
...
-. Added some missing verbs and mispellings
-. Fixed a bug displaying parameters info.
2003-01-25 01:50:32 +00:00
skidder
ba5e11b15c
Integrate new memory manager into the engine
2003-01-16 17:47:10 +00:00
dimitr
8e838186f5
Reworked internal info stuff.
2003-01-15 11:57:28 +00:00
dimitr
2fb1a59ef4
Remove REQ_SAVEPOINT from allowed requests in EXECUTE STATEMENT.
2003-01-14 13:47:30 +00:00
alexpeshkoff
8f04fd8e3b
Cleanup of mixed use of macro FRBRD and struct why_hndl
2003-01-12 18:16:50 +00:00
arnobrinkman
31eea59b1a
bugfix: PLAN wasn't correctly returned. bug probable introduced by c to c++ port.
2002-12-29 22:26:35 +00:00
alexpeshkoff
90cdfbdaf5
Rename all links to why.cpp handle to struct why_hndl *
...
Warning! Don't commit parse.cpp and dsql.tab.h, because:
1. I use another YACC version.
2. They must be removed from CVS at all.
Execute STATEMENT also here
2002-12-16 15:38:26 +00:00
hippoman
9a8f0768b9
Changed struct fld and FLD to local module names
2002-11-30 17:45:02 +00:00
hippoman
7387e6fb70
changed nod,tra,req,trg,rel,ctx,prc struct names to local module names
2002-11-20 23:18:16 +00:00
dimitr
776c54bdac
Renamed MSG to DSQL_MSG.
2002-11-19 12:35:28 +00:00
hippoman
62cf7d7a88
change TRA,REQ,TRG,REL,CTX or PRC, to module local names.
2002-11-17 00:04:19 +00:00
dimitr
5f61e44ddc
Global names change:
...
FBOK=>FB_SUCCESS
FAILURE=>FB_FAILURE
xxx_FBOK=>xxx_SUCCESS
2002-11-14 08:33:08 +00:00
kkuznetsov
6887f405ab
Renaming all occurences of SUCCESS to FBOK
2002-11-13 15:01:21 +00:00
alexpeshkoff
e39d470832
Avoid deadlocks:
...
lock databases_mutex only when THREAD_EXITed
2002-11-12 16:04:01 +00:00
hippoman
c75a6d3019
* Changed NOD struct name to DSQL_NOD.
2002-11-11 19:08:37 +00:00
dimitr
127c64dc9c
Committed Ignacio's fix for DSQL_pretty (affects debug builds only).
2002-11-09 08:05:26 +00:00
seanleyne
0b82f4aa07
Removed obsolete "Netware" port
2002-10-30 06:40:58 +00:00
skidder
8e6622a20e
Merging changes from skidder branch - explicit locks, savepoints, build system changes
2002-10-29 20:20:44 +00:00
dimitr
536d8c0552
1. Reworked internal_info implementation in both DSQL and JRD.
...
New helper class created to serve it properly.
2. Added exception re-raise semantics.
Syntax: EXCEPTION;
If there was handled exception, re-initiate it, otherwise evaluate to no-op.
3. Implemented run-time exception messages.
Syntax: EXCEPTION <exception_name> [<value>];
If <value> is specified, evaluate it and use instead of RDB$EXCEPTION_MESSAGE.
4. Added new SQLCODE and GDSCODE system variables.
Available in procedures/triggers only.
If there wasn't any exception raised, return zero (success), otherwise return an error code.
5. Implemented ROWS_AFFECTED system variable.
Available in procedures/triggers only.
Count rows affected by the last INSERT/UPDATE/DELETE statement.
For any other statement, result is always zero.
2002-09-28 14:04:35 +00:00
skidder
6d64014e57
Changed engine to store source file name/line number information for EVERY allocation when DEBUG_GDS_ALLOC is defined. All allocation should be done using FB_NEW or FB_NEW_RPT macros instead of keyword new since now
2002-09-25 17:12:16 +00:00
eku
4eaf8c0914
Autoconf cleanup:
...
o since the define 'VAX' was only used to tell that the byte order is
LITTLE_ENDIAN (it have nothing else to do with the VAX computer family)
it can safely replaced with '!WORDS_BIGENDIAN'.
o check if pointers are 64 bit
o replaced HAS_64BIT_POINTERS with 'SIZEOF_VOID_P == 8'
2002-09-17 05:58:40 +00:00
dimitr
94fa429dc4
- allowed user-defined index names for PK/FK/UK constraints
...
- fixed ugly hardcoded name checks for primary/foreign keys
- implemented RECREATE VIEW statement
2002-09-01 15:44:45 +00:00
dimitr
b45eb004a2
Implemented CREATE OR ALTER statement for procedures/triggers/views.
2002-08-27 07:48:34 +00:00
dimitr
15a9015236
1) Implemented CASE, NULLIF, COALESCE
...
2) Allowed grouping by internal functions (some work in pass1.cpp still required)
Thanks to Arno Brinkman.
2002-08-03 15:27:20 +00:00
skywalker
89e06a1b43
Merge final changes from fb1 tree.
2002-07-06 05:32:02 +00:00
skywalker
350b251820
Changes to get compiling on linux (post fb1 changes).
2002-07-05 15:00:26 +00:00
dimitr
88edfc0714
Merging changes from fb1 (stage 2 - fixing porting errors).
2002-07-02 12:20:50 +00:00
skywalker
ae266af6d1
Merging changes from fb1.
2002-06-29 06:56:51 +00:00
dimitr
c013eea874
Fixed bug with the server crash when XSQLDAs are prepared for not all statement parameters.
2002-06-28 13:49:47 +00:00
paul_reeves
f8388295c2
Remove superfluous include
2002-06-27 12:14:54 +00:00
paul_reeves
f9b8800970
Updated code to support building under Linux. Main changes are to support the platform manager and the move of kanji.* to /intl.
2002-06-23 19:51:37 +00:00
dimitr
95281ccf25
1. New system variables - CONNECTION_ID and TRANSACTION_ID
...
2. Universal triggers
(parser changes are not very nice, but at least it works;
perhaps it should be polished up a bit later)
2002-06-14 12:07:20 +00:00
dimitr
8463265fc1
Implemented 'EXECUTE VARCHAR' command.
2002-04-04 13:53:20 +00:00
bellardo
60bf531271
Cleaning up unneeded setjmp/longjmp code.
2002-04-04 05:35:21 +00:00
tamlin
5ae485f0b5
cleaning up
2001-12-29 11:41:29 +00:00
tamlin
80f7fb6dd4
New C++ memory pool
2001-12-24 02:51:06 +00:00
skywalker
4c4bc9a95c
Global changes for new Makefile and firebird2 compile on linux
2001-07-29 23:43:24 +00:00
skywalker
816439e5d7
Fix simple syntax errors
2001-07-14 00:44:14 +00:00
bellardo
747d13c0d5
Changes to bring FB2 to c++ on *nix.
2001-07-12 05:46:06 +00:00
awharrison
baa3485651
read only databases are supported unconditionally in fb2
2001-07-10 17:35:13 +00:00
tamlin
9587c717b3
ongoing cleanup
2001-05-24 14:54:26 +00:00
tamlin
9a776a604e
First steps towards a C++ conversion.
2001-05-23 13:26:42 +00:00