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

438 Commits

Author SHA1 Message Date
skidder
c64f31b712 Fix some warnings from GCC/Linux build. Some of them were subtle errors 2004-03-12 07:00:52 +00:00
robocop
2ab1f94dd2 Cleanup
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
skidder
b6e5ccd413 Clean up.
1. gds__alloc doesn't throw
2. Add NOMEM handlers to a couple places
3. kill HAVE_*SNPRINTF conditionals
2004-03-09 00:17:07 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
skidder
d92c8805f8 correction 2004-03-05 07:33:22 +00:00
skidder
b3af720a73 Fix memory corruption 2004-03-05 07:23:21 +00:00
skidder
dc7aab8f9c Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed 2004-03-01 03:35:23 +00:00
aafemt
fe89c2c502 Fix warning 2004-02-13 11:15:49 +00:00
robocop
663e3b16e7 Cleanup 2004-02-02 11:02:12 +00:00
dimitr
5deb857913 Removed obsolete EXECUTE VARCHAR syntax. 2004-01-31 13:35:37 +00:00
robocop
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +00:00
stryqx
56cff38d96 Regenerate after changing PAGE_SIZE to KW_PAGE_SIZE. 2004-01-27 07:09:21 +00:00
stryqx
501ba459c9 Change PAGE_SIZE to KW_PAGE_SIZE so as not to conflict with system define
on FreeBSD.
2004-01-26 07:06:37 +00:00
skidder
dc9d71a768 Use static bison parser stack and allocate it from thread stack 2004-01-23 06:35:26 +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
b02fbb32a8 Added support for default parameters and EXECUTE BLOCK statement 2004-01-16 13:05:14 +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
06a4df3708 A requiem for JOURNAL and WAL.
Instructions in the list.
2004-01-06 10:33:18 +00:00
dimitr
518923a0e6 Fixed old FB2 bug. 2004-01-04 14:12:40 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
robocop
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
skidder
1b43575fa9 Rollback crazy change made by Dimitry Sibiryakov and approved by Claudio Valderrama. We should not break compatibility with half of the world without apparent reasons. 2003-12-21 23:54:24 +00:00
skidder
56c979e1e9 Update parse.cpp 2003-12-21 01:35:05 +00:00
skidder
92576263ee Fix minor flaw in explicit nulls placement design. This change doesn't cause any
user-visible changes in engine behavior. Fix is critical for future development
in this area and needs to be backported in B1_5_Release.
2003-12-21 00:07:03 +00:00
dimitr
995417f11a Minor cleanup 2003-12-14 18:26:25 +00:00
arnobrinkman
b573aeedd0 bugfix: Post a error when no input string is given else engine will crash. 2003-12-11 00:00:51 +00:00
dimitr
1c1d834871 Fixed problem with parameters used as UDF arguments with type of CSTRING. 2003-12-06 18:13:57 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
eku
0bdee4e5ee Fixed syntax error. 2003-12-02 08:35:05 +00:00
brodsom
7844cc7cd4 Fix scope change that breaks posix build 2003-12-02 02:47:34 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
arnobrinkman
e944221d79 bugfix: SF841696 calculated output descriptor for COALESCE/CASE should give charsets other then NONE/ASCII precedence 2003-11-22 22:43:24 +00:00
robocop
a94dbd85fd const correctness and other minor items 2003-11-18 07:58:35 +00:00
brodsom
04f3b01b9d -Remove unneeded win32 headers 2003-11-17 23:39:38 +00:00
brodsom
6e8e00c191 -Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes 2003-11-16 01:44:51 +00:00
eku
71fab4de17 Yacc doesn't like C++ comments in the language section. 2003-11-11 14:47:08 +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
stryqx
7715c0db1b Undefine PAGE_SIZE to allow successful compile with gcc 3.3.3. 2003-11-10 06:27:45 +00:00
brodsom
7d3057ca84 -Removing gdsold.h and gds.h
-Replace gds__ functions with isc__ functions for internal use
2003-11-09 15:38:03 +00:00
brodsom
e9bfb1004f Removing gdsold.h 2003-11-08 16:20:11 +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
brodsom
79e5ff02dd Extern "C" cleaning 2003-11-06 17:57:01 +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
skidder
7b99b8a57b Basic INTL cleanup.
- Rework (mostly undo) John's changes
- Some function type safety
- Make INTL OO layer very thin (this should slightly improve performance)
2003-11-03 17:14:45 +00:00
dimitr
08a9f40b52 1. Reworked cursor management
2. Added explicit cursor statements
3. Slightly reworked LEAVE code
4. Lots of cleanup
2003-11-02 12:28:30 +00:00
robocop
cda707bd36 const correctness and other related changes 2003-11-01 10:26:43 +00:00
robocop
9ead7a37b4 const correctness
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
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