asfernandes
6e59d736df
1) Fix Linux build
...
2) Misc
2008-04-11 01:38:50 +00:00
hvlad
fe3f8c184b
New EXECUTE STATEMENT with support of external data source implementation
2008-04-09 20:18:47 +00:00
asfernandes
312a391d78
Misc
2008-02-26 02:23:28 +00:00
dimitr
c1f75dcdf8
Ported SQLSTATE from Vulcan.
...
Part II: handling of isc_arg_sql_state.
2008-02-24 15:02:04 +00:00
robocop
f8007f4071
Misc.
2008-02-24 03:23:40 +00:00
robocop
e9e1ead67a
Mostly style, constness, native memcpy and explicit constructors.
2008-02-02 17:04:06 +00:00
dimitr
a38b327886
Cleanup. Get rid of the JrdMemoryPool.
2008-01-29 10:11:52 +00:00
dimitr
43594ed53a
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 13:17:19 +00:00
alexpeshkoff
39896cb955
Fixed CORE-1671: atexit() calls in client libraries cause segfaults
...
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory
To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.
Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
6992f2a638
The merge continued.
2008-01-16 09:41:31 +00:00
asfernandes
41faeba3cc
Misc
2007-12-05 00:03:15 +00:00
robocop
1147c140fe
Fixed the message
...
column @1 is not defined in table @1
and added a new one for unknown field in procedure (with Dmitry's permission).
2007-12-04 10:05:17 +00:00
alexpeshkoff
eea9070f48
Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster
2007-12-03 15:46:39 +00:00
hvlad
2b47bbe55b
Revert files back after wrong commit
2007-11-19 00:21:18 +00:00
hvlad
86f1141328
Execute statement with support of external data source
2007-11-18 22:59:20 +00:00
asfernandes
3e4bb82182
Rework on the non-existent fields handling after Alex change in met.epp
2007-11-03 17:18:50 +00:00
alexpeshkoff
edc03201ca
Fixed CORE-1537: NBackup creates difference file in bad place
2007-10-26 13:21:16 +00:00
asfernandes
1706ea36d3
Backport patch to make references (at BLR level) to non-existent system fields return NULL - to simplify ODS differences handling
2007-10-14 01:32:24 +00:00
asfernandes
944108171e
Use const in SysFunction as suggested by Dmitry Kovalenko
2007-10-12 20:25:04 +00:00
dimitr
fbc66a7bd9
Added assert per Adriano's request.
2007-09-28 04:03:04 +00:00
dimitr
162cf20817
Fixed a restore bug reported by Alex.
2007-09-27 11:32:56 +00:00
hvlad
671e59e993
Fixed bug CORE-1373 : Incorrect result of recursive CTE query when recursive member's SELECT list contains expression using self-referenced fields
2007-07-21 21:28:56 +00:00
alexpeshkoff
c4ef60de50
Slightly better way to do the same thing
2007-06-14 12:28:27 +00:00
asfernandes
0f4663dc1a
Fixed CORE-1318 - Error "Identifier ... is too long using multiple (nested) derived tables.
...
Front-ported fix done by Alex in 2.0.
2007-06-13 01:53:00 +00:00
asfernandes
f7b7f2b96f
Some changes as per Claudio comments
2007-04-16 15:31:28 +00:00
dimitr
6ced0295a5
Misc.
2007-04-13 13:21:23 +00:00
asfernandes
166fc0b865
Misc
2007-04-13 01:37:44 +00:00
asfernandes
8c7076b67f
Port of Yaffil builtin functions
2007-04-12 15:56:34 +00:00
alexpeshkoff
f0d465bf34
Fixed gcc warnings, general (un)signed usage cleanup
2007-04-11 09:28:50 +00:00
alexpeshkoff
6e735f7c53
Misc + gcc warning hunting
2007-04-09 16:15:29 +00:00
asfernandes
34b914fb05
Misc
2007-03-13 02:33:10 +00:00
robocop
fefac22672
Simplification.
2007-03-12 11:48:08 +00:00
robocop
c5a711e3a6
Fix for CORE-1165 is just one byte change in the source code. :-)
2007-03-12 10:13:00 +00:00
dimitr
bbd2aec3ab
Fixed both bugs mentioned in CORE-1112.
2007-01-29 03:00:09 +00:00
asfernandes
cec7eaa8b6
Some changes based on Claudio's comments
2007-01-21 15:35:35 +00:00
asfernandes
f30ee6b63e
Use debug informations in EXECUTE BLOCK
2007-01-20 14:18:18 +00:00
asfernandes
be9e3a8a84
1) Correction for input parameters
...
2) Correct message for constraint violation in CAST
3) Display parameter/variable number when there is no debug info
2007-01-17 23:59:23 +00:00
asfernandes
aca179f398
Full domain support and NOT NULL in PSQL
2007-01-17 01:19:01 +00:00
dimitr
6699c7f23e
Fixed bug introduced by me recently.
2006-12-22 14:34:53 +00:00
dimitr
8ea7c4f915
A bit different fix for CORE-1004 in HEAD. Experimental.
2006-12-12 16:12:15 +00:00
asfernandes
fc0b7d7a89
Fixed memory corruption in REPLACE...RETURNING
2006-11-26 15:37:50 +00:00
hvlad
f48f2af25b
Few corrections pointed by Claudio
2006-11-03 09:42:42 +00:00
asfernandes
88a9a84a01
Misc
2006-10-31 14:23:31 +00:00
hvlad
58d381edd7
1. Remove blr_src_info code as it is prevents database downgrade from ODS 11.1
...
2. Put debug information (mapping between blr offset and source line\column and names of local variables) into new blob field RDB$DEBUG_INFO
This is first step to implement native SQL debugger i believe
2006-10-30 20:58:06 +00:00
asfernandes
095c498e08
Correction
2006-10-02 02:37:45 +00:00
asfernandes
06c273a293
Fixed untracked collation dependencies in PSQL
2006-10-01 22:09:05 +00:00
robocop
c3551a7d17
Fix problem detected by Bill Oliver: we allowed 256 streams by mistake.
2006-09-14 09:40:23 +00:00
asfernandes
55ec30965d
REPLACE statement
2006-09-03 01:09:23 +00:00
asfernandes
b7af27215e
Allow usage of domains in PSQL (with TYPE OF syntax)
2006-08-19 02:52:39 +00:00
asfernandes
e538061c38
Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations
2006-08-07 16:39:21 +00:00
hvlad
b20aa92714
Common table expressions implementation
2006-08-01 20:37:58 +00:00
asfernandes
155ab12384
Misc
2006-07-20 03:14:15 +00:00
dimitr
6992f3b904
Reject attempts to select from executable procedures.
2006-07-19 14:50:33 +00:00
hvlad
fac53c8177
Added blr_src_info. Error call stack now contains not only
...
procedures\triggers names but line\column numbers also.
Thanks to Eugeney Putilin for idea
2006-07-04 14:44:43 +00:00
robocop
3fa49e994b
Style and typo correction.
2006-05-26 05:19:48 +00:00
dimitr
025b9cca9b
Getting rid of the old allocator routines.
2006-05-23 10:04:08 +00:00
dimitr
bc25f0cf2e
Removed one of the Nickolay's protections in order to be able to restore databases containing views with check option.
2006-05-23 07:52:38 +00:00
dimitr
54d4cc4ddf
The core implementation of the LIST function. Unstable yet.
2006-04-24 16:56:58 +00:00
dimitr
8da75613c4
Fixed yet another bug in explicit cursors.
...
Unfortunately, BLR compatibility is not provided, so users have to recompile their SPs/triggers.
2006-03-07 17:52:33 +00:00
robocop
10cb928ddc
More cleanup.
2006-02-23 06:52:25 +00:00
robocop
1f84bac700
Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc.
2006-02-23 05:08:26 +00:00
robocop
044c5841ad
Misc.
2006-02-10 03:28:43 +00:00
robocop
3389149564
The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
...
Tenth step: some code was tagged PC_ENGINE but was for SCROLLABLE_CURSORS instead, hence restore it. Also, clean unused data members, obsolete BLR verbs and the like.
2006-02-07 08:08:49 +00:00
robocop
2b99e764e3
The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
...
Sixth step: remove the places protected by the macro PC_ENGINE. More to come. (I guess all of you who have pending functional changes to post will love this commit. <g>)
2006-02-02 07:32:07 +00:00
dimitr
9a6ce8b2d1
Fixed SF #1404215 .
2006-01-13 09:33:40 +00:00
robocop
5a80bcbfe1
I think I solved the code that puzzled John three years ago: procedure parameters ids start at zero, but we were allocating num_of_params plus one for both input an output params. This explains why when iterating we ignored the last element of the vector containing them. Crap that we inherited from IB.
2005-12-04 05:32:25 +00:00
robocop
e2f440a374
Finish Mike work after 3 years. :-)
2005-12-03 06:43:19 +00:00
robocop
f00fc0ff56
1.- Make "vec" type safe and get rid of several code contortions. Fix some small bugs meanwhile.
...
2.- Put inside PC_ENGINE several data members that belong to that feature.
3.- Put inside PC_ENGINE the code that does cleanup on those unused data members.
2005-12-02 07:35:34 +00:00
dimitr
e36d06d7e6
Misc.
2005-11-24 08:43:23 +00:00
dimitr
868a5bb21f
Better (and more honest) diagnostics.
2005-10-21 09:43:26 +00:00
dimitr
15874a6ed9
Added optional seconds precision to CURRENT_TIME and CURRENT_TIMESTAMP
...
as agreed with Ann and others times ago.
2005-08-24 09:16:19 +00:00
asfernandes
559ce29c51
1) Replace length_ to strlen as noted by Claudio and Dmitry
...
2) Change USHORT to ULONG in intl.cpp
2005-06-06 18:14:10 +00:00
dimitr
d9294d7938
Added new error message.
2005-06-06 13:37:31 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
robocop
e3039572d8
- Solve char/UCHAR mismatch.
...
- Track dependencies on indices mentioned in explicit plans for procedures and vierws.
2005-05-26 04:00:45 +00:00
alexpeshkoff
c03d2241c5
fixed issues, reported by Claudio
2005-05-17 18:20:07 +00:00
alexpeshkoff
5729790ed6
1. Applied class MetaName
...
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
robocop
73c5351bb7
1.- Misc.
...
2.- Use constants instead of harcoded positions in node's arguments.
2005-01-21 08:36:06 +00:00
skidder
37739c2c57
Add check for overly long identifiers when pasing BLR. This helps with savepoints problem reported by Vlad and other similar issues as well
2004-12-22 18:34:52 +00:00
robocop
2814294027
Misc.
2004-12-16 03:03:13 +00:00
skidder
720ba9b883
Fix the mistake in error message. The third time.
2004-12-09 06:53:48 +00:00
skidder
c40eb08a27
Remove CURRENT_DATABASE keyword
2004-11-22 20:50:34 +00:00
hvlad
c36109414f
Fixed broken stored procedures default parameters handling. Thanks to Nickolay
2004-11-17 20:41:16 +00:00
skidder
1e26d6c80d
CURRENT_DATABASE implementation. Established identity may also be used for isc_info_db_id datum
2004-11-11 05:37:52 +00:00
robocop
e5be73b048
Misc: extra semicolons do not help. :-)
2004-11-07 10:47:20 +00:00
dimitr
09c51110b4
Added the equivalence operator. The major index optimizations are done.
...
Notes:
1) Some optimizations will follow after more deep analysis.
2) The syntax "==" is not yet agreed on. I'd prefer it to be changed.
2004-10-14 19:09:19 +00:00
dimitr
8d6ebc97d9
Some changes to support procedure-based views. Much work is still required.
2004-10-13 18:17:43 +00:00
robocop
840bf14b36
If we are using namespace fb_utils, it doesn't make sense to prefix functions in it with fb_ again. Mechanical replacement made one by one (no bulk automatic changes).
2004-09-26 01:49:52 +00:00
robocop
7dcb66a250
When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
...
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +00:00
alexpeshkoff
31039a254e
next step preparing to allocate auto objects memory from appropriate pool
2004-08-16 12:28:43 +00:00
skidder
9c03314ebc
Be slightly more explicit in our memory allocation desires. Also fix savepoints breakage
2004-06-26 22:12:50 +00:00
alexpeshkoff
1591a54e5e
Thread cleanup:
...
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
alexpeshkoff
9a34ce553c
make bool (isEmpty/hasData) checks for string and stack safe
2004-05-27 16:26:52 +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
f4ca41fa3d
-Replace *_thread_data macros with inline functions (jrd step 1)
2004-05-22 14:28:54 +00:00
skidder
35b7115d3d
Small 64-bitness fixes
2004-05-20 21:58:15 +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
60d9d085a0
Macro cleaning
2004-05-03 21:43:56 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
brodsom
10e0822cbb
Replace define for constants
2004-04-29 00:50:02 +00:00