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

384 Commits

Author SHA1 Message Date
brodsom
76c7382b78 Macro cleaning 2003-10-20 22:41:11 +00:00
robocop
2230c2fbbb Style; comment unused code 2003-10-20 10:12:49 +00:00
brodsom
ca027789ee Correct recent Claudio's change to allow posix build again. 2003-10-19 23:03:19 +00:00
brodsom
47bc4c93d9 Correct bad debug report (found by Claudio) 2003-10-17 13:01:18 +00:00
robocop
8182b6cba2 const correctness and other tasks 2003-10-16 08:51:06 +00:00
brodsom
938e66eb2f Macro cleaning 2003-10-14 22:22:32 +00:00
dimitr
adccd3d8ce Fixed server crash with explicit plans used in subqueries, when outer aggregation is performed. 2003-10-13 12:56:44 +00:00
robocop
f2a738de1b const correctness, vars in scope, etc. 2003-10-05 06:37:26 +00:00
robocop
e0b551838f style 2003-10-05 06:33:56 +00:00
robocop
bc93cc3c0b const correctness, vars in scope, etc. 2003-10-05 06:27:16 +00:00
robocop
c8e2ddfe40 style 2003-10-05 06:23:04 +00:00
brodsom
db312dfa0e Macro cleaning
extern cleaning
DLL_EXPORT cleaning
2003-10-03 02:00:40 +00:00
aafemt
76eac2d80d Move MSVC-related hack of vsnprintf to MSVC header because it crashed MinGW build 2003-10-02 10:17:40 +00:00
brodsom
c0485b7c67 Macro cleaning 2003-10-01 18:11:23 +00:00
aafemt
b5994fabad sym -> dsql_sym + some 'struct' cleanup 2003-10-01 10:58:07 +00:00
brodsom
24a616d5d6 Patch to Nickolay changes to make MinGW build again 2003-10-01 03:37:32 +00:00
brodsom
7f07d2a8a8 Patch to make msvc build again after Nickolay changes 2003-09-30 22:59:12 +00:00
skidder
7d3c07f5a1 Remove unused DSQL node types 2003-09-29 19:32:11 +00:00
robocop
c931a674c2 Cleanup.
Hopefully harmless
It should fix the issue introduced with constness in gds__interprete for current applications.
2003-09-29 12:43:14 +00:00
skidder
16cb0d2f2d Fix cosmetic issue noted by Claudio 2003-09-29 10:48:48 +00:00
skidder
235db035ce Ok, i'm joining Firebird destruction team with my cleanup:
1. Bring trace DSQL, DYN and BLR trace logging up-to-date
2. Remove redundant CSB pointer dereferences in BLR parser and request compiler
3. Convert RIGHT JOIN to LEFT JOIN early during BLR parsing
4. Check BLR syntax for unititalized contexts usage
5. Some type-safety and const-correctness fixes
2003-09-28 21:36:05 +00:00
dimitr
2f8c56b330 Fixed types convertion. 2003-09-28 12:05:10 +00:00
dimitr
f1cde7d613 Slightly reworked my labels implementation. 2003-09-28 11:12:03 +00:00
brodsom
4c9f386bd2 Macro cleaning 2003-09-28 00:36:28 +00:00
dimitr
6d6dae9295 Changed license of some files by Mark and myself. 2003-09-26 14:13:15 +00:00
brodsom
0c6527d260 -Macro cleaning 2003-09-26 11:02:12 +00:00
brodsom
bbbe47da2b -Macro cleaning 2003-09-26 10:50:59 +00:00
robocop
484c6ec372 Cleanup, const correctness, variables in scope, etc.
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
brodsom
9d5721473a Removing SHLIB_DEFS 2003-09-22 17:56:35 +00:00
skidder
ad60c5b70b Make RIGHT JOIN symmetrical to LEFT JOIN at DSQL layer.
This fixes a couple issues when engine rejected correct RIGHT JOINs
or accepted incorrect and failed subsequentally during query execution
2003-09-21 17:49:16 +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
brodsom
6e9ebc38ce Cleaning headers 2003-09-16 13:57:39 +00:00
arnobrinkman
71b17588d9 Added ORDER BY support on derived tables. (Suggested by Dmitry Yemanov) 2003-09-15 21:21:40 +00:00
brodsom
30f79b34f8 -Cleaning headers 2003-09-15 16:32:22 +00:00
dimitr
f7aa490111 The final part of my little PLAN enhancement. 2003-09-14 15:37:05 +00:00
brodsom
4a09b27a36 -Fix indents 2003-09-13 12:16:48 +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
dimitr
5ec79f66ef PLAN enhancements. The DSQL part of this change will follow. 2003-09-10 13:24:49 +00:00
skidder
5761966226 Make Win32 version of engine compile 2003-09-08 21:44:44 +00:00
skidder
29812f3af7 Update parse.cpp 2003-09-08 21:26:56 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +00:00
dimitr
6f66ae704c Fixed logic after Blas' change of the function return. 2003-09-08 11:29:36 +00:00
brodsom
2c738f6a67 -Change function return to SUCCESS=true, FAILURE=false (suggested by Claudio) 2003-09-05 11:28:23 +00:00
arnobrinkman
74380ab714 Don't forget unnamed derived tables 2003-09-04 21:40:21 +00:00
brodsom
a4416db52a -Replace BOOLEAN, TRUE and FALSE 2003-09-04 21:26:15 +00:00
brodsom
f51c931f6d Correction 2003-09-04 15:26:53 +00:00
arnobrinkman
2638aa9fd7 Remove generated comment 2003-09-04 15:05:06 +00:00
arnobrinkman
4a37161c8d Changed internally derived-table support to better readable/understanding code 2003-09-04 15:02:22 +00:00
brodsom
c4179f6e13 Fix cast warning 2003-09-04 13:45:06 +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
8624a7c209 -Use NULL instead 0 for null pointers
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
brodsom
a062a7dcfd Correction 2003-09-01 07:39:54 +00:00
dimitr
eb6acae759 Cleanup variable names. 2003-08-30 16:49:15 +00:00
brodsom
03e528a79b -Remove GDS_VAL and GDS_REF 2003-08-30 01:54:25 +00:00
aafemt
6fbb6c5ad7 No more isc_array_gen_sdl() in public API 2003-08-29 10:55:07 +00:00
arnobrinkman
cdec93e466 missing line/column-numbers 2003-08-28 20:29:07 +00:00
brodsom
602c201989 -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:07:29 +00:00
aafemt
66c47aeb65 move debug and error handling stuffs away from dsql.h 2003-08-28 10:58:35 +00:00
arnobrinkman
6027b94811 Change code-style and prepare for more info on error-message 2003-08-27 23:00:43 +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
11b4fcf5b7 1) Make COALESCE/CASE output descriptor more SQL-standard.
Exception is that we allow mixing datatypes with (var)char (except blob), because all datatypes are convertable to character-type and because this functionallity was available from 1st day COALESCE is introduced inside Firebird.
2) Fix bug with expressions without fields inside aggregate-functions.
Example :
  SELECT
    (SELECT Count(1) FROM RDB$DATABASE)
  FROM
    RDB$RELATIONS
2003-08-25 23:35:30 +00:00
arnobrinkman
79c10074c0 Already fix COALESCE/CASE output-descriptor behaviour inside HEAD branch to conform with SQL-standard.
FB1.5_RELEASE will follow when error-message is added
2003-08-24 22:15:23 +00:00
arnobrinkman
9cf1f386fa fix bad behaviour with auto-union-cast 2003-08-24 15:22:11 +00:00
arnobrinkman
006070b331 added comment and nested derived table fix 2003-08-24 02:56:53 +00:00
arnobrinkman
c61cbdc5ca fix some derived tables problems 2003-08-24 02:36:46 +00:00
aafemt
8798a33d84 ENUM removal 2003-08-22 10:56:55 +00:00
arnobrinkman
9b4b90d606 bugfix nested derived tables 2003-08-19 23:56:28 +00:00
arnobrinkman
05d343bda8 Oops missed something 2003-08-19 23:47:07 +00:00
arnobrinkman
506b858567 Added PLAN support for derived tables 2003-08-19 23:34:23 +00:00
robocop
e15aef8e87 Damn loop 2003-08-19 10:25:21 +00:00
arnobrinkman
f5002b3f5b Code clean-up and re-apply comments as suggested by Claudio V. 2003-08-18 21:37:47 +00:00
arnobrinkman
5f844f7428 added comment 2003-08-16 13:14:35 +00:00
arnobrinkman
95ab087c1f latest versions 2003-08-16 00:37:40 +00:00
arnobrinkman
9e82b6d20b Fixed ambiguous columnname problems with derived tables.
Added support for unnamed derived tables.
2003-08-16 00:36:54 +00:00
arnobrinkman
cc3be26481 latest versions 2003-08-15 14:39:38 +00:00
arnobrinkman
c12b4da4b1 added comment and fix derived table bug inside view, that couldn't use unions. 2003-08-15 14:38:33 +00:00
aafemt
9dbf56310a sdl is UCHAR again 2003-08-15 10:23:46 +00:00
arnobrinkman
193d613f7c derived table support 2003-08-15 00:33:15 +00:00
arnobrinkman
0d203a2c36 derived table support 2003-08-15 00:02:18 +00:00
arnobrinkman
a19beb8922 derived table support 2003-08-14 23:34:37 +00:00
fsg
8647f177b5 make gcc happy again
FSG
2003-08-14 07:11:24 +00:00
robocop
c9dac29670 There are less unnamed fields now.
Changed the code style, too.
2003-08-13 11:09:57 +00:00
robocop
4530191c09 Little C->C++ style change 2003-08-13 11:08:50 +00:00
skidder
14edeaf008 Update parse.cpp 2003-08-11 11:24:52 +00:00
arnobrinkman
e9953885e5 forgotten cleanup, thanks for your attention BLAS 2003-08-11 01:06:52 +00:00
arnobrinkman
294dddc865 bugfix: CASE / COALESCE functions determine always NUMERIC even when all values where int or long. 2003-08-11 00:43:42 +00:00
arnobrinkman
77d9804ed0 Support all expressions directly in GROUP BY clause 2003-08-10 15:19:43 +00:00
arnobrinkman
0100d93cc9 Added optional AS keyword to table alias 2003-08-10 10:06:34 +00:00
brodsom
e3d16f06ab -Fix cast warnings.
-Remove unneeded casts
2003-08-09 21:57:50 +00:00
skidder
64c12e15c4 Make Windows happier. DIFFERENCE defined as a macro there 2003-08-06 20:21:40 +00:00
skidder
143f8d2443 Implementation of fast physical incremental backup 2003-08-06 16:30:49 +00:00
arnobrinkman
f81b831315 2nd RC4 bugfix, but much better tracking of supported nested aggregates. 2003-07-29 00:29:17 +00:00
arnobrinkman
0df22b0b31 bugfix RC4: a higher context was supported with nested aggregates, but this isn't possible.
Only a lower context is possible with nested aggregates.
2003-07-28 19:22:56 +00:00
aafemt
b672867147 sdl is a plain char again. Some cleanup around it 2003-07-24 10:21:42 +00:00
skidder
905670f5f9 Separate DSQL cursors management and explicit locks as suggested by Ivan Prenosil 2003-07-11 22:36:05 +00:00
brodsom
8feff51688 Remove depends (unused and unmaintained) 2003-07-08 23:38:30 +00:00