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

438 Commits

Author SHA1 Message Date
alexpeshkoff
9a34ce553c make bool (isEmpty/hasData) checks for string and stack safe 2004-05-27 16:26:52 +00:00
brodsom
a799e5f44b -Use C++ struct declaration style. 2004-05-24 17:22:35 +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
75a0483d75 -Comment some common.h unused macros
-Replace VA_START macro with va_start function (it was already some places where it is not used)
2004-05-23 23:28:06 +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
964219523c Move SQL_DIALECT constants from ibase.h to sqlda_pub.h and use it in gpre.h instead the full ibase 2004-05-20 00:58:55 +00:00
brodsom
908ceca06c Update 2004-05-19 20:12:44 +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
98d9fe6e63 Macro cleaning 2004-05-18 16:32:07 +00:00
brodsom
b76a60e8b7 Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build) 2004-05-17 22:30:09 +00:00
brodsom
ee34db7e20 Macro cleaning (THREAD_*) 2004-05-15 00:58:46 +00:00
brodsom
6ec150ac00 -Avoid gcc -pedantic warnings 2004-05-14 19:20:01 +00:00
brodsom
141fe5aae7 -Removing c++ comments from public headers 2004-05-14 16:23:41 +00:00
brodsom
996b40079f -Avoid shadow warning 2004-05-13 00:33:17 +00:00
brodsom
8699aec9c9 -Avoid shadow warning 2004-05-12 19:23:17 +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
brodsom
62a4b10c22 -Replace define with const
-Remove ifdef cplusplus from internal code
-Remove unused macros
2004-05-06 18:09:24 +00:00
eku
7009af2b13 Fixed compiler error: cannot convert dsql_nod**' to dsql_nod*' in initialization 2004-05-06 05:46:24 +00:00
brodsom
b335e32d88 Obsolete compiler message 2004-05-05 13:59:10 +00:00
skidder
45fc09ce60 Fix bugs in my commit found by Claudio 2004-05-05 04:20:39 +00:00
skidder
16cc322505 Regenerate parse.cpp 2004-05-03 04:29:23 +00:00
skidder
e9f8ef102e Fixes needed to make GCC 3.4 happy 2004-05-03 04:25:06 +00:00
skidder
8a4cb13eb2 Care about quirks of Windows platform 2004-05-03 01:53:24 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
skidder
c73aa5ee46 Please Claudio and do not return descriptors for VARCHAR(32767) for UDFs 2004-05-01 08:33:35 +00:00
brodsom
a549091c94 - Split sqlda.h to avoid duplicated definitions between ibase.h and sqlda.h
- Replace define for constants
- Remove contants.h where not used.
2004-04-30 22:47:16 +00:00
brodsom
2c0ab256cf Removing duplicated definitions between
ibase.h and blob_filter.h
ibase.h and constants.h
2004-04-29 17:48:39 +00:00
brodsom
2f4865a195 Replace defines for constants 2004-04-29 14:51:02 +00:00
brodsom
e0854daa99 Removing ib_stdio.h 2004-04-28 22:00:03 +00:00
skidder
29481ae5e2 Make CSTRING map to VARCHAR, not CHAR in DSQL layer 2004-04-28 18:36:50 +00:00
alexpeshkoff
e362fdbef3 fixed number problems after lls to Stack conversion 2004-04-21 14:48:23 +00:00
alexpeshkoff
e0ce53cbec fixed number problems after lls to Stack conversion 2004-04-21 14:23:46 +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
robocop
6d4c0ab908 Three changes to isql:
Fix isql bug #910430.
Add SET HEADING ON/OFF option
Add -M2 command-line option to send output of statistics and plans to the same file than the rest of the output.
Those items do not appear when using HELP SET inside isql or with isql -? from the command line.
2004-04-11 04:04:18 +00:00
robocop
59b235cea3 Small corrections 2004-04-10 00:25:22 +00:00
hvlad
7ab6e4c2f4 Corrects an error at DDL generation when the total size of all generated BLR exceeds 64K, but each slice does not exceed 64K. For ex, procedure sources is 55K and generated BLR is 12K.
Note: this fix is safe because jrd8_ddl (DYN_ddl\DYN_execute) do not use parameter 'length', wrongly declared as USHORT
2004-04-09 08:03:59 +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
skidder
b80d4eb99d Fix counting of line numbers in DSQL parser when multi-line literals and identifiers are used 2004-04-02 03:24:25 +00:00
alexpeshkoff
2934843020 fixed memory leak in execute statement 2004-03-31 17:27:08 +00:00
robocop
1824343930 Cleanup.
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
skidder
f26d84f76b 1. POSIX build libraries export only public API. 2. Unify exports for PROD_BUILD and DEV_BUILD. 3. Support for context memory pools. 4. Memory manager has lower memory overhead exceptionally on 64 bit targets 2004-03-25 23:12:50 +00:00
arnobrinkman
dd64bc0749 Improved derived table support.
When using derived tables inside sub-selects it should be able to reference to higher contexts.
2004-03-21 02:10:39 +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
alexpeshkoff
7007d6f2a4 1. introduced Jrd and Ods namespaces
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
958f9e31aa Cleanup
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +00:00
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +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