dimitr
ffa0c84d97
Added the missing RDB$SYSTEM_FLAG and RDB$DESCRIPTION columns into RDB$FUNCTION_ARGUMENTS.
2011-07-14 15:27:25 +00:00
dimitr
55b37f2648
Methinks this is a more correct logic than the one committed yesterday. Also, fixed the stream comparison for views.
2011-07-14 11:54:10 +00:00
dimitr
fbc944d4aa
Poor man's attempt to fix the expression indices. In the old code, we didn't require node1->stream and node2->stream to be the same, we just needed node2->stream to be the one we considered for index matching. Different contexts don't necessarily mean different nodes, the relation could still be the same.
2011-07-13 14:50:37 +00:00
asfernandes
06430c488b
Fixed problems in public headers.
2011-07-12 16:07:05 +00:00
asfernandes
cd7c8dee95
Use the BLR message definition of external procedures and functions.
2011-07-10 01:23:53 +00:00
alexpeshkoff
13e0341fea
Use interface-based API in remote server. Use stable "next" pointers in yvalve.
2011-06-29 09:41:47 +00:00
asfernandes
a36147a943
Warning.
2011-06-25 18:13:25 +00:00
asfernandes
866b0c8d98
Misc.
2011-06-22 00:30:30 +00:00
asfernandes
17c249fc3d
Complement fix for CORE-3140 - Preserve comments for parameters after altering procedures.
2011-06-17 12:39:25 +00:00
dimitr
4d91d6c564
Fixed the error handling broken after introducing system constraints.
2011-06-01 16:44:41 +00:00
asfernandes
7ad98cd292
Work in progress on the external engines API changes.
2011-06-01 01:44:54 +00:00
asfernandes
dd0047e3b7
Fixed CORE-3475 - Parameters inside the CAST function are described as not nullable.
2011-05-27 15:29:20 +00:00
asfernandes
7c5b69403e
Frontported changes of CORE-3491.
2011-05-27 02:05:27 +00:00
dimitr
ddb5264d94
Fixed CORE-3493: Adding a value to a timestamp below '16.11.1858 00:00:01' throws 'value exceeds the range for valid timestamp'. v2.1 wasn't really affected although the validation sequence was wrong.
2011-05-25 10:59:35 +00:00
asfernandes
0f39f04308
Fixed crash with nested unions, reported by Vlad.
...
SELECT 'a' FROM RDB$DATABASE
UNION ALL
SELECT X FROM
(
SELECT 'b' AS X FROM RDB$DATABASE
UNION ALL
SELECT 'c' FROM RDB$DATABASE
) AS T;
2011-05-14 02:49:02 +00:00
dimitr
83a3f80572
Fixed CORE-3477: Passing non-existing SQL parameters always crash server.
2011-05-12 14:56:54 +00:00
hvlad
fef1f49c94
Shared page cache implementation
2011-05-09 10:15:19 +00:00
asfernandes
efbd651d7f
Correction.
2011-04-29 15:16:53 +00:00
alexpeshkoff
256cb1e853
1. Use reference counted stable in global pool objects instead PublicHandle's validation.
...
2. Avoid massive segfaults when closing heavily loaded server.
3. Restored logic in YValve required for correct shutdown.
4. Do not change externally visible request body when preparing it.
2011-04-25 17:47:56 +00:00
asfernandes
d7127242c7
Improvement CORE-3446 - Allow conversion from/to BLOBs and others types in the API functions (XSQLVAR or blr messages).
2011-04-19 15:24:26 +00:00
asfernandes
c63493ffba
Added metadata support to IStatement.
2011-04-14 01:03:43 +00:00
asfernandes
6aa9a77199
Generate DSQL internal dbkey/rec_version only for SELECT...FOR UPDATE. They do nothing for others commands.
2011-04-13 17:14:31 +00:00
asfernandes
13bc02b147
Correction for cursor-based UPDATE/DELETE.
2011-04-13 16:57:58 +00:00
alexpeshkoff
437d841cfa
Rolled back my commit using IBlrMessage interface. Replaced with single plain structure FbMessage.
2011-04-13 12:41:40 +00:00
alexpeshkoff
7d1b48f122
Added more diagnostics in DEV_BUILD. If you find it reasonable, can be internationalized and added to release too.
2011-04-13 12:39:44 +00:00
asfernandes
04bb4ba305
Remove unused parameter and rename a constant.
2011-04-09 20:00:00 +00:00
alexpeshkoff
9a4689d3e9
Use interface IBlrMessage instead passing C++ class pointer to API interface's functions
2011-04-08 16:43:05 +00:00
alexpeshkoff
4c3f87d6bd
Continued renaming interfaces. Added comments
2011-04-08 15:18:50 +00:00
alexpeshkoff
5c88e478f6
Use better names for a number of objects according to Vlad's suggestion
2011-04-07 17:16:00 +00:00
dimitr
8809493e98
Fixed incorrect type evaluation for unions.
...
Example:
SELECT NULL AS PRICE FROM rdb$database
union all
SELECT 1.0 AS PRICE FROM rdb$database
2011-04-05 14:23:15 +00:00
dimitr
8f517dcbeb
One more part of the fix for CORE-3340.
2011-04-05 05:49:40 +00:00
asfernandes
c081b763b2
Fixed CORE-2606 - Multibyte CHAR value requested as VARCHAR is returned with padded spaces.
2011-04-05 00:31:58 +00:00
asfernandes
03ce334e2b
Misc
2011-04-04 13:37:47 +00:00
asfernandes
1a9f678844
Rework on the SQLDA support.
2011-04-02 19:39:27 +00:00
robocop
ddef541fc9
Misc, style, etc.
2011-04-02 04:51:27 +00:00
robocop
9d980c7e88
Misc, style, etc.
2011-04-02 04:24:20 +00:00
asfernandes
8d8a8b5047
Fixed problem with position handling (see CORE-2797).
2011-04-01 18:39:41 +00:00
dimitr
cc6f90ddf8
Apply Adriano's yesterday fix to functions as well.
2011-04-01 05:26:55 +00:00
asfernandes
c977df2141
Fixed CORE-3421 - AV with "UPDATE OR INSERT".
2011-03-31 14:26:59 +00:00
asfernandes
51f68bd9ac
Fixed CORE-3423 - Wrong RDB$PARAMETER_MECHANISM.
2011-03-31 14:26:31 +00:00
alexpeshkoff
9ef53b65e0
Remove reference counting where not appropriate
2011-03-31 13:44:22 +00:00
hvlad
e532b564fe
Fixed issue reported by Claudio privately
2011-03-31 10:28:36 +00:00
asfernandes
aeefde32c0
Fixed CORE-3401 - Collation errors with [type of] <domain>, type of column.
2011-03-22 18:59:13 +00:00
asfernandes
ed740ba832
Misc
2011-03-21 22:51:48 +00:00
asfernandes
c863db6e6d
Removed commented out Sqlda support and rename methods removing the word 'messsage'.
2011-03-20 19:15:55 +00:00
asfernandes
34fd6866bc
Remove unused message types.
2011-03-20 19:15:13 +00:00
asfernandes
2ce201f4ae
Use MessageBuffer in executeMessage and fetchMessage.
2011-03-20 19:14:03 +00:00
asfernandes
e4658d76c3
Misc
2011-03-20 16:24:46 +00:00
asfernandes
c12c710348
Simplification
2011-03-18 15:24:25 +00:00
hvlad
6b7e763f9b
Fixed bug CORE-3389 : isc_dsql_exec_immed2 with zero transaction handle could lead to a BUGCHECK(147).
...
While HEAD is not affected directly by this exact test case i see no harm to repeat the fix there too.
2011-03-16 21:08:32 +00:00