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

263 Commits

Author SHA1 Message Date
brodsom
4c9f386bd2 Macro cleaning 2003-09-28 00:36:28 +00:00
skidder
79dea9d5a3 - Fix incorrect assignment of DYN constants for NBACKUP
- Fix minor inconsistency in drop_generator DYN constant definition
Noted by Dmitry Emanov
2003-09-21 13:33:45 +00:00
brodsom
a2713837d2 Cleaning macros 2003-09-20 23:28:38 +00:00
robocop
f7dc675500 Trivial correction 2003-09-13 10:26:47 +00:00
robocop
2ed1a3e87b trivial correction 2003-09-12 09:19:21 +00:00
brodsom
b46945d049 BOOLEAN cleaning 2003-09-12 01:41:03 +00:00
arnobrinkman
f691e5d79c Change types that were used as booleans to the real bool type 2003-09-03 23:52:47 +00:00
arnobrinkman
e5574959ad Change BOOLEAN to bool type 2003-09-01 23:22:22 +00:00
brodsom
a062a7dcfd Correction 2003-09-01 07:39:54 +00:00
brodsom
03e528a79b -Remove GDS_VAL and GDS_REF 2003-08-30 01:54:25 +00:00
dimitr
323bae2372 1. MAP renamed to DSQL_MAP
2. Minor cleanup
3. Fixed BREAK/LEAVE code to support FOR EXECUTE STATEMENT loops
4. Added support for loop labels and LEAVE <label> statement
5. Fixed SUBSTRING to support value expressions as its arguments
2003-08-26 07:13:33 +00:00
arnobrinkman
a19beb8922 derived table support 2003-08-14 23:34:37 +00:00
skidder
143f8d2443 Implementation of fast physical incremental backup 2003-08-06 16:30:49 +00:00
brodsom
fda73f91a4 Changes only inside #ifdef DEBUG.
Needed to be able to build with -DDEBUG on gcc.(there are also some format corrections)
2003-06-30 10:48:03 +00:00
dimitr
df8750c65b Fixed metadata cache issues with CREATE OR ALTER statement. 2003-06-28 13:59:02 +00:00
dimitr
43aaa45d42 Enabled BREAK/LEAVE and EXITcommands in non-system triggers. 2003-05-14 08:15:25 +00:00
dimitr
90278add21 Damn, what I was thinking about that time? 2003-04-28 07:41:29 +00:00
aafemt
b3436b5cd7 STATUS -> ISC_STATUS 2003-04-10 06:32:58 +00:00
brodsom
42ef1314ec DSQL warning fixes. 2003-04-08 00:31:20 +00:00
dimitr
5e5803d6ff Fixed another bug with RECREATE VIEW. 2003-03-15 08:14:54 +00:00
dimitr
718af8c8c9 Fixed bug in RECREATE/ALTER VIEW. 2003-03-03 19:10:23 +00:00
brodsom
18ccbd5688 Put unused functions declaration and definition inside NOT_USED_OR_REPLACED ifdef. 2003-03-03 08:29:18 +00:00
brodsom
89702f3e88 Restore inlines 2003-02-25 00:05:06 +00:00
dimitr
6052221f37 Allowed access to both contexts in universal triggers. 2003-02-15 15:10:20 +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
45efaaa7e0 Remove inline keyword. 2003-02-13 22:49:16 +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
dimitr
801ae673ec Rolled back previous commit. 2003-01-17 12:40:01 +00:00
dimitr
0474fdc4ca Restored compatibility with FB1. Index name is no longer assigned automatically for constraints. 2003-01-17 11:11:02 +00:00
dimitr
9dc68b4a7b Fixed bug with BREAK and partially implemented labels and LEAVE statement. 2002-12-18 15:01:50 +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
arnobrinkman
24fa36302d bugfix previous added code. correct way of retrieving length for
an variable inside SP/Trigger. This was needed for CASE expressions.
2002-12-16 00:48:53 +00:00
arnobrinkman
d8450be335 bugfix: length of text variables inside procs/triggers wasn't copied to descriptor structure. 2002-12-13 02:02:38 +00:00
eku
34e9391a97 Use the new macro FB_NELEM to calculate the number of elements in an array. 2002-12-02 09:45:52 +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
hippoman
62cf7d7a88 change TRA,REQ,TRG,REL,CTX or PRC, to module local names. 2002-11-17 00:04:19 +00:00
alexpeshkoff
865b39fec1 Fixed bug with exception inside for/while loop in triggers 2002-11-13 15:57:29 +00:00
hippoman
c75a6d3019 * Changed NOD struct name to DSQL_NOD. 2002-11-11 19:08:37 +00:00
skidder
8e6622a20e Merging changes from skidder branch - explicit locks, savepoints, build system changes 2002-10-29 20:20:44 +00:00
dimitr
969fab91c8 BLOB subtypes are no longer ignored in views (expression fields only). 2002-10-06 10:51:54 +00:00
dimitr
4b1d91b887 Made it in-sync with the FB1 tree. 2002-10-02 13:24:03 +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
skidder
c74d8b6e7d Fixed cached metadata error which caused many DDL/DML statements to fail 2002-09-12 19:53:44 +00:00
skidder
7ca3274707 Fixed cached metadata error which caused many DDL/DML statements to fail 2002-09-12 19:51:50 +00:00
dimitr
8b131027ea More complete implementation of the INDEX subclause of a constraint declaration. 2002-09-06 07:51:33 +00:00
dimitr
cf6dddaf52 Fixed bug with wrong RDB$SYSTEM_FLAG values for the relation constraint triggers. 2002-09-05 11:48:40 +00:00
dimitr
c6e838a144 Changed syntax of the INDEX subclause of a constraint declaration,
now it looks as:
[USING [ASC[ENDING] | DESC[ENDING]] INDEX index]
2002-09-04 12:09:25 +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
7922269845 1. BIGINT is now the only keyword for the 64-bit exact numerics and it's available
in dialect 3 only.
2. BREAK statement has been disabled in triggers (like EXIT) because of the known
   BLR limitations. I hope it can be safely used in stored procedures though, hence
   I'd prefer to have it officially documented.
3. More complete implementation of the GROUP BY clause. You can group by internal
   functions and have ability to use more complex grouping conditions than before.
   By Arno Brinkman.
4. Allowed declaring and defining local variables at the same time.
   By Claudio Valderrama.
   Syntax: declare [variable] <var_name> <var_type> [{= | default} <default_value>]
5. Allowed ordinals to be used in the GROUP BY clause (like ORDER BY).
   By Arno Brinkman.
   Example: select extract(month from order_date), sum(order_sum) from orders group by 1
6. The first approach to the ALTER VIEW statement. Only high-level implementation so far.
   A lot of work in dfw.epp, metd.epp, etc. still required.
   By Dmitry Yemanov.
2002-08-11 08:04:54 +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
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
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
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
9a776a604e First steps towards a C++ conversion. 2001-05-23 13:26:42 +00:00