8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-26 10:43:03 +01:00
Commit Graph

1379 Commits

Author SHA1 Message Date
asfernandes
c51af68ff9 Misc 2008-11-09 22:42:11 +00:00
asfernandes
26e6444764 Misc 2008-11-08 18:05:21 +00:00
asfernandes
dcfdeca45c Fixed CORE-2176 - Unexpected (wrong) results with COALESCE and GROUP BY 2008-11-08 17:59:06 +00:00
asfernandes
db82e7cd6b Misc 2008-11-06 00:23:21 +00:00
alexpeshkoff
d8ea120ded AIX port - use FB_ prefix for alignment constants 2008-11-05 11:26:23 +00:00
asfernandes
52b1014ba6 Remove warnings by gcc 4.3.2 2008-11-05 01:08:20 +00:00
asfernandes
2a757281c6 Misc 2008-10-31 00:02:49 +00:00
hvlad
285879c331 Fixed bug CORE-2154 : "request synchronization error" when calling isc_dsql_sql_info with isc_info_sql_records parameter after last record fetched with "execute procedure"
Real reason is than engine alllows to fetch from statement with no cursor open. Currently it is forbidden.
2008-10-28 10:50:24 +00:00
alexpeshkoff
f6c2181187 make status vector have same structure for most uses of SQLERR -607 2008-10-27 15:10:45 +00:00
asfernandes
ad716e38d9 Misc 2008-10-20 23:46:46 +00:00
dimitr
7729fe8622 1) Let's avoid a deep recursion for the IN (<list>) predicate. At least on the parser side.
2) Fixed the IN elements limit to be 1500 (as documented) instead of 1499.
2008-10-20 10:43:50 +00:00
robocop
bbc988bd9f Correction. 2008-10-16 08:51:51 +00:00
asfernandes
262380af7b Misc 2008-10-16 02:31:49 +00:00
alexpeshkoff
0c021b27b5 Avoid code duplication as suggested by Claudio 2008-10-14 14:07:10 +00:00
dimitr
e6dc2d8f39 Fixed CORE-2115: Query plan is missing for the long query.
Some cleanup and misc code refactoring.
2008-10-13 07:23:19 +00:00
asfernandes
774635c3a9 Fixed another case for CORE-1246 - Incorrect column values with outer joins and derived tables:
select t2.n
  from rdb$database t1
  left join (
    select 11 n
      from (
        select 0 a
          from rdb$database
      ) x1
  ) t2
    on 1 = 0
;

was returning 11.
2008-10-04 02:48:35 +00:00
asfernandes
364fb47606 Misc 2008-10-03 00:45:13 +00:00
robocop
0c85fac2d4 CORE-1799: improve the almost useless "expression evaluation not supported" error message.
Did the DSQL part for now.
2008-09-27 09:51:53 +00:00
asfernandes
8513170298 Removed false assertion with statement:
select 1 + ? from rdb$database
2008-09-15 15:34:14 +00:00
asfernandes
db4e1bda25 Misc 2008-09-15 15:25:18 +00:00
asfernandes
7a5b0121d8 Misc 2008-09-14 23:17:58 +00:00
asfernandes
51a3f06427 Fixed CORE-2066 - Conversion of SQL_TEXT / SQL_VARCHAR to SQL_TIMESTAMP / SQL_TYPE_TIME / SQL_TYPE_DATE 2008-09-11 15:33:44 +00:00
robocop
276bc71915 Misc. 2008-09-11 06:49:27 +00:00
alexpeshkoff
121af76de7 Made XSQLDA parameter const in isc_dsql_fetch and a family of isc_dsql_exec functions as suggested by Dmitry Kovalenko.
Minor related cleanup in utld.
2008-09-10 12:31:54 +00:00
asfernandes
22c65f0153 Misc 2008-09-10 02:21:13 +00:00
alexpeshkoff
e80d9223a0 Fixed CORE-2071: isc_dsql_prepare crashes with statement_text=NULL 2008-09-09 11:27:10 +00:00
alexpeshkoff
e392297213 sligtly better places to check for missing SQL operator 2008-09-09 11:11:25 +00:00
asfernandes
cd8476bea3 Do not change the logic of things that was been working - thanks to Claudio 2008-09-09 11:01:29 +00:00
alexpeshkoff
79f97a1534 Fixed CORE-1506: Server crash with isc_dsql_execute_immediate and zero length string 2008-09-09 09:26:29 +00:00
asfernandes
50ab76f9a7 Fixed:
CORE-2067 - GROUP by and RDB$DB_KEY problems
CORE-2068 - Comparision with IN and subquery with RDB$DB_KEY returns wrong result
CORE-2069 - Incorrect VIEW expansion when RDB$DB_KEY is used in view body
2008-09-07 21:50:00 +00:00
asfernandes
384beddc49 Do not mix flags of union and rse. Problem recently introduced:
select n from t1
union all
select n from t2;
Error: multiple rows in singleton select
2008-09-07 20:25:18 +00:00
asfernandes
b550749a47 Fixed CORE-1246 - Incorrect column values with outer joins and derived tables 2008-09-07 19:44:48 +00:00
alexpeshkoff
35ed43e0da Some asserts 2008-09-05 11:46:26 +00:00
robocop
a6d4e3de82 Misc. 2008-09-03 12:18:59 +00:00
asfernandes
139e4f8ca9 Misc 2008-09-03 02:26:45 +00:00
dimitr
d64f97e260 Fixed CORE-2061: ALTER VIEW WITH CHECK OPTION crashes the engine. 2008-09-02 07:27:15 +00:00
asfernandes
9150e6f4f2 This should fix regressions related to fixes of:
CORE-501 - Optimization problem with COALESCE
CORE-1343 - Bug with a simple case and a subquery
CORE-2041 - update or insert with gen_id() with wrong generator value

And should fix this one (snapshot build bug):
CORE-2051 - don't work subquery in COALESCE
2008-09-01 13:18:02 +00:00
asfernandes
cc5b689eda Misc 2008-08-29 02:18:50 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
alexpeshkoff
b3e51d59e2 fixed release gcc build 2008-08-27 11:06:11 +00:00
alexpeshkoff
b61c1b2e59 Fixed diagnostics broken by my previous commit - thanks to Claudio 2008-08-27 07:33:09 +00:00
robocop
69aeb8cb71 Misc. 2008-08-26 11:04:39 +00:00
robocop
92f2d1dc1b Misc. 2008-08-26 10:28:58 +00:00
dimitr
1739c548b1 Fixed CORE-903: Update Field update / result Updated. 2008-08-25 07:58:45 +00:00
robocop
3ffc6889d4 Correction. 2008-08-23 11:08:21 +00:00
asfernandes
ed0c45c1b9 Temporary fix for the boot build 2008-08-22 02:13:02 +00:00
asfernandes
e54682efa0 Fixed CORE-1343 - Bug with a simple case and a subquery 2008-08-21 01:58:53 +00:00
asfernandes
b910161f82 Fixed CORE-501 - Optimization problem with COALESCE 2008-08-20 01:54:45 +00:00
alexpeshkoff
e33702d587 misc CORE-1964 2008-08-18 07:12:25 +00:00
alexpeshkoff
c188e3dc47 fixed compile error 2008-08-18 06:44:36 +00:00
asfernandes
736659c1a1 Misc 2008-08-16 15:42:38 +00:00
asfernandes
fdfe98f2a8 Fixed CORE-2044 - Incorrect result with UPDATE OR INSERT ... RETURNING OLD and non-nullable columns 2008-08-16 00:59:31 +00:00
asfernandes
5d4084d30c Fixed CORE-2041 - update or insert with gen_id() with wrong generator value 2008-08-15 16:32:42 +00:00
alexpeshkoff
1785fb6ee3 fixing CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid
finished cleanup of vararg in error diagnostics in DSQL
2008-08-15 11:21:47 +00:00
asfernandes
fd90a1e25b Improvement CORE-2029 - Increase number of contexts avaiable when using derived tables 2008-08-02 23:47:38 +00:00
robocop
7182bbaa8b Style. 2008-07-16 11:15:00 +00:00
alexpeshkoff
7c8427bc35 Separated CVT functions to common and jrd parts.
This made possible to avoid ugly CVT_move export.

Cleanup of errors handling in CVT functions.
2008-07-10 15:57:33 +00:00
asfernandes
45786da3bc Misc 2008-07-06 16:42:52 +00:00
alexpeshkoff
95335a7356 restored const correctness after tag move 2008-07-04 10:37:26 +00:00
alexpeshkoff
c8ce5f505a fixed Darwin/gcc 4.0 build 2008-07-04 10:35:33 +00:00
alexpeshkoff
fc51563cc1 temporary reverted to be able to fix A1 tag 2008-07-04 10:33:11 +00:00
alexpeshkoff
5ac5869661 CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come. 2008-07-03 12:02:54 +00:00
robocop
1d7bc9916b Misc. 2008-07-03 07:12:36 +00:00
robocop
1ffc7a2291 Misc. 2008-07-02 09:46:44 +00:00
asfernandes
ce4bf91533 Misc 2008-07-01 01:12:02 +00:00
robocop
720b2655b9 Implement new message for DSQL. 2008-06-28 04:33:29 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
asfernandes
cf7af2292d Fixed CORE-1962 - Incorrect extraction of MILLISECONDs 2008-06-25 15:58:03 +00:00
asfernandes
d30d6410ea Misc 2008-06-13 01:42:58 +00:00
robocop
30b5480c66 Move the new EXEC STMT functionality to a separate function. 2008-06-12 09:02:54 +00:00
hvlad
66fd7d5488 Make blr_exec_stmt extensible in the future.
Sorry, recompile of stored objects using new EXECUTE STATEMENT is necessary. Hope the last time ;)
2008-06-10 22:43:30 +00:00
alexpeshkoff
5f0278b14e Added GRANTED BY clause to GRANT and REVOKE commands.
Fixed CORE-1869: Roles granting/revoking logic differs between 2.0 and 2.1.
2008-06-10 10:55:48 +00:00
robocop
017d04dbfc Misc. 2008-06-10 10:11:39 +00:00
dimitr
c639285420 Fixed the Linux build. 2008-06-10 03:31:19 +00:00
alexpeshkoff
bbd35943db fixed gcc build 2008-06-09 07:49:56 +00:00
asfernandes
26a79e3c6e Misc 2008-06-09 01:34:33 +00:00
hvlad
5d9c430674 Implemented improvement CORE-1928 : Allow EXECUTE STATEMENT to inherit access privileges of caller stored procedure or trigger.
Allow to specify EXECUTE STATEMENToptional clauses in any (not fixed) order.
Use INTERNAL_PROVIDER for access to the current database by another user too.
2008-06-08 20:42:27 +00:00
asfernandes
552f58dd48 Misc 2008-06-06 02:25:35 +00:00
robocop
b8ea332022 Misc. 2008-06-05 11:02:42 +00:00
robocop
d9c191f831 Fix the logic in two unused functions (in case they aren't dropped). 2008-06-05 10:58:17 +00:00
robocop
a1906d634f Style. 2008-06-03 06:19:50 +00:00
robocop
ab2987a3aa Style.
Remove useless parentheses.
2008-06-03 06:19:21 +00:00
robocop
07c087094d Mostly remove useless parentheses. 2008-06-03 06:14:59 +00:00
asfernandes
dbaf050e86 Set the tdbb->request to NULL when committing an autonomous transaction, as a normal COMMIT does. This fixes assertion related to system blobs created by DDL commands in EXECUTE STATEMENT. Test case:
execute block
as
begin
  in autonomous transaction do
     execute statement 'create table x (n integer)';
end!
2008-06-01 19:14:41 +00:00
asfernandes
0d84abc6d4 Fixed CORE-1919 - Memory corruptions in EXECUTE STATEMENT may crash the server 2008-06-01 01:19:54 +00:00
alexpeshkoff
b9be96d37f Applied Damyan's patch eliminating some warnings in gcc 4.3 2008-05-28 13:22:26 +00:00
alexpeshkoff
093901c134 fixed gcc 3 build 2008-05-28 13:11:36 +00:00
asfernandes
0d979e5b92 Misc 2008-05-28 02:11:00 +00:00
asfernandes
679ac834a5 Small inconsistency noticed by Claudio 2008-05-25 15:41:54 +00:00
robocop
2cc3233658 Misc. 2008-05-25 12:17:58 +00:00
robocop
88859fdc51 Make operations a bit faster by enabling the vector to add an array of values in a single pass (the same idea as insert's overloaded version). 2008-05-25 12:16:20 +00:00
robocop
0d3d93ac90 Complete Adriano's change. 2008-05-25 11:48:01 +00:00
robocop
4acad057dc Give explicit names to vars that save state for later restoration. 2008-05-25 11:44:11 +00:00
asfernandes
84603f1169 Misc 2008-05-25 01:39:16 +00:00
asfernandes
d4bf9ab246 Split dsql_req into dsql_req and CompiledStatement. This should be my last refactoring to 2.5:
- dsql_req becomes a running request;
- CompiledStatement is derived from dsql_req. The compilation state previously in dsql_req comes to here;
- Rename many "request" parameters to "statement" where type is changed from dsql_req to CompiledStatement.
This changes makes easy the path to support compiled statement cache.
2008-05-24 03:19:52 +00:00
asfernandes
71bd20b209 Fixed CORE-1910 - Not valid fields in MERGE's insert clause are allowed 2008-05-23 01:37:19 +00:00
asfernandes
bdf999ddef Slight more correct usage of scope level in MERGE 2008-05-23 00:38:06 +00:00
asfernandes
36e7ddd38c Corrections 2008-05-22 23:19:09 +00:00
asfernandes
9fc4a1881f Misc 2008-05-22 21:45:22 +00:00
robocop
5cd11867ec Get rid of (ALLOC/FREE)_LIB_MEMORY macro as requested by Dmitry. 2008-05-22 09:38:21 +00:00
asfernandes
ffe554acc1 Misc 2008-05-21 16:04:10 +00:00
asfernandes
d84c1c1d2f Misc 2008-05-21 16:02:25 +00:00
asfernandes
725a100324 Correction - thanks to Claudio 2008-05-21 15:22:22 +00:00
robocop
83f77468a0 Misc. 2008-05-21 13:00:37 +00:00
robocop
66aab208b0 Simplification. 2008-05-21 12:52:29 +00:00
robocop
ff1d4c61cf Misc. 2008-05-21 12:41:58 +00:00
asfernandes
900c4ff7d3 Misc 2008-05-20 00:58:14 +00:00
asfernandes
d52dc96278 1) Move the new Node classes to appropriate files
2) Creation of StmtNode
3) Conversion of IN AUTONOMOUS TRANSACTION to InAutonomousTransactionNode (inherited from StmtNode) - it makes this feature almost self-contained

Please do a boot build or at least run blr_table.
2008-05-19 13:47:48 +00:00
asfernandes
e469bd562a Cleanup on the "proc_flag" logic: store it on the request and changes when necessary. 2008-05-17 16:51:07 +00:00
asfernandes
7072385162 Typo 2008-05-15 16:02:33 +00:00
asfernandes
6c7170463a Follow the standard and do not allow binary strings with odd number of characters 2008-05-15 15:27:43 +00:00
hvlad
0d27b88752 Commented out never reduced rule. 2008-05-15 11:43:56 +00:00
alexpeshkoff
27a97e2a6a 1. Modified syntax of ALTER ROLE command according to Dmitry's request.
2. Avoid any use of predefined NT group name "Domain Admins".
3. Fixed DYN code generation for USER operations.

                     ***** WARNING *****
After this commit all previous backups of 2.5 databases with turned on
admins mapping become unrestorable. ODS is not changed.
2008-05-14 11:24:45 +00:00
asfernandes
7d34ead84e 1) Allow to reference others fields in the expression of ALTER...COMPUTED
2) Documentation
2008-05-11 20:05:12 +00:00
robocop
e44a99f339 Style and minor cleanup. 2008-05-10 03:44:57 +00:00
asfernandes
90b3b08ca0 Fixed the problematic assert 2008-05-06 15:20:18 +00:00
asfernandes
ac1cfe49a8 Remove a lot of warnings compiling parse.cpp with GCC 4.2.3 2008-05-01 16:12:16 +00:00
hvlad
02f2cef2db Update DSQL_pretty to print nod_src_info contents even more correctly :) Noted by Adriano. Also make DSQL_pretty to not loop endlessly on nod_return. 2008-05-01 07:26:53 +00:00
hvlad
a1b08862f0 Corrected fix for bug CORE-1875. Noted by Adriano. 2008-05-01 07:22:11 +00:00
hvlad
62b5c645e5 Fixed bug CORE-1875 : Error on script with current_date 2008-04-30 20:04:18 +00:00
hvlad
7667d6e88f Update DSQL_pretty to print nod_src_info contents correctly 2008-04-30 20:03:40 +00:00
dimitr
6fbb76c115 Fixed the crash reported privately by Bill Oliver. 2008-04-30 17:45:46 +00:00
hvlad
6ee4242552 Fixed bug CORE-1841 : If some VIEW used derived tables and long table names\aliases, It is possible to overflow RDB$VIEW_RELATIONS.RDB$CONTEXT_NAME.
Attention : ODS changed !
2008-04-29 16:39:17 +00:00
robocop
83d3ddd6cb Replace custom code by helper class ThreadStatusGuard. 2008-04-26 10:29:52 +00:00
asfernandes
d75951e8e5 Misc 2008-04-18 01:37:44 +00:00
hvlad
48f8d0ff80 Correct my mistake 2008-04-17 10:47:31 +00:00
asfernandes
28d5b99afc Misc 2008-04-16 16:02:01 +00:00
asfernandes
a7a7e18220 Fixed the bug reported by Claudio - crash when getting plan of DDL requests 2008-04-16 15:28:16 +00:00
hvlad
23dad7416f Generate old blr codes (blr_exec_sql or blr_exec_into) if given EXEC STMT statement is compatible with old syntax. Per Adriano request. 2008-04-16 13:08:51 +00:00
robocop
4580126101 Do not use flags for values that are exclusive (can't be combined). 2008-04-16 10:38:08 +00:00
robocop
6f31045e33 Misc. 2008-04-16 09:25:36 +00:00
hvlad
a8a0a39248 Fixed CORE-1837 : Procedure text is stored truncated in system tables if any variable have default value 2008-04-15 19:45:19 +00:00
asfernandes
e4db82781f Corrections 2008-04-15 15:31:21 +00:00
asfernandes
882e71fa81 Put nod_auto_trans in DSQL_pretty - noted by Claudio 2008-04-15 15:19:20 +00:00
asfernandes
77e97a47c0 Feature requests CORE-1737 and CORE-1803:
1) ALTER CHARACTER SET <charset> SET DEFAULT COLLATION <collation>
2) CREATE DATABASE ... [ DEFAULT CHARACTER SET <charset> [ COLLATION <collation> ] ]
2008-04-15 02:18:38 +00:00
asfernandes
79f8d2ceef Misc 2008-04-15 00:57:19 +00:00
asfernandes
f66f7b28f5 1) Fix another possible invalid memory access in parse.y and the memcpy problem reported by valgrind
2) Misc
2008-04-14 15:22:52 +00:00
robocop
caa5f285c4 Minor cleanup. 2008-04-14 14:26:44 +00:00
asfernandes
e97cccd79d Hope this fix a problem detected by valgrind 2008-04-14 13:35:15 +00:00
robocop
73093a8889 Mark dead code. 2008-04-14 13:01:54 +00:00
robocop
d54a9f7ef6 - Let BIN_AND, BIN_OR and BIN_XOR take two params as minimum.
- Implement BIN_NOT.
2008-04-14 11:09:16 +00:00
robocop
876cb8c11c Better fix for the "unnamed field" bug. Thanks to Adriano for discovering a case that shouldn't be matched. 2008-04-14 07:05:49 +00:00
asfernandes
0ca6d7c20f Use the collation defined in RDB$DEFAULT_COLLATE_NAME in strings constants 2008-04-12 22:26:24 +00:00
hvlad
f0899a7256 Make INTO clause of new EXECUTE STATEMENT consistent with other statements - move it at last position. By agreement in fb-devel. 2008-04-12 21:12:29 +00:00
asfernandes
80baf91394 Small cleanup 2008-04-12 16:07:45 +00:00
robocop
4de9c4050b Use array notation. 2008-04-12 11:54:42 +00:00
robocop
64ea67ddf6 The "unnamed field" bug strikes again. :-( 2008-04-11 03:45:42 +00:00
asfernandes
6e59d736df 1) Fix Linux build
2) Misc
2008-04-11 01:38:50 +00:00
asfernandes
0e8febd6e3 Misc 2008-04-10 02:35:30 +00:00
hvlad
fe3f8c184b New EXECUTE STATEMENT with support of external data source implementation 2008-04-09 20:18:47 +00:00
asfernandes
9037d1908a Hope this fix one "problem" detected by Valgrind 2008-04-09 20:01:41 +00:00
robocop
cd9ede5768 Delete obsolete comment, fix indentation and style. 2008-04-09 13:47:15 +00:00
robocop
7c4114a7d6 It's harder to fix the assertion than to verify the code. 2008-04-08 06:26:34 +00:00
asfernandes
017e3a9cd0 Misc 2008-04-06 15:02:35 +00:00
asfernandes
29fbfbb8ff Misc 2008-04-06 14:45:51 +00:00
robocop
752e3f1d43 Totally misc. 2008-04-06 08:07:00 +00:00
dimitr
4c9045523f Removed the wrong assert. Adriano, please make sure the rest of the logic is ready for a zero field_string.
Test case: CREATE VIEW vt (id) AS SELECT id, 5 FROM t;
2008-04-04 18:26:38 +00:00
dimitr
1dcf8baa39 Put an extra check. Does anyone think that the condition should be "length > 0" instead? 2008-04-04 16:59:01 +00:00
dimitr
29229a10a6 Simplify the optional default value parsing and processing. This also fixes CORE-1512. 2008-04-04 16:53:29 +00:00
asfernandes
14c3e3f49d Misc 2008-04-04 10:48:47 +00:00
dimitr
580544fbd7 More changes targeted to a better error diagnostics. 2008-04-04 10:01:06 +00:00
asfernandes
bc3a7f965d Comment the new assertions as it's being false when using parameters in isql (UPDATE UserGroup SET ACL = ?) - to be reviewed by Claudio 2008-04-04 00:51:50 +00:00
robocop
ee46acd6bc Misc. 2008-04-03 13:17:32 +00:00
dimitr
08c5783ab2 Misc. 2008-04-03 11:02:11 +00:00
hvlad
2b7f14dc69 Fixed CORE-1817 : The RelaxedAliasChecking parameter has no effect concerning RDB$DB_KEY 2008-04-02 14:27:17 +00:00
dimitr
e0feb6e228 Misc. 2008-04-01 12:56:30 +00:00
dimitr
30f7cce178 Fixed CORE-1811. A solution is to move the validation code from GEN to PASS1 in order to catch bad things earlier. This differs from the SAS solution, but hopefully it's more generic. 2008-04-01 06:11:29 +00:00
robocop
49ad645051 A half-backed solution to the const conflict problem. I hope the cure is at least slightly better than the disease. 2008-03-30 09:44:02 +00:00
robocop
3de79a20c9 Fixing the damn interface. 2008-03-30 09:42:24 +00:00
dimitr
e18a16e3cb Removed OldParameterOrdering. 2008-03-25 16:42:10 +00:00
robocop
7806b09a62 Literal strings should be treated as const data. 2008-03-25 12:05:17 +00:00
asfernandes
21a13650eb More problematic cases of CORE-1798 - thanks to Dmitry 2008-03-21 19:05:24 +00:00
asfernandes
3aca6f92b1 Misc 2008-03-21 02:42:24 +00:00
dimitr
d637ed09e2 Major cleanup of the old-style blk and allocator-based blk_type. 2008-03-19 16:29:17 +00:00
dimitr
13f5cc92e1 Major cleanup of the old-style blk and allocator-based blk_type. 2008-03-19 16:09:00 +00:00
robocop
3e724a9286 Misc. 2008-03-18 13:02:21 +00:00
dimitr
2c722e5854 Fixed the build. 2008-03-17 17:17:33 +00:00
hvlad
0170deaff3 Fixed bug CORE-1793 : AV at prepare of query with unused parametrized CTE 2008-03-17 10:27:01 +00:00
asfernandes
a6f5327cc8 Fixed EXECUTE STATEMENT returning BLOBs 2008-03-14 15:29:23 +00:00
asfernandes
c7ec88bee4 1) Created classes PreparedStatement and ResultSet
2) Changed EXECUTE STATEMENT to use these classes
3) Fixed CORE-1784 - Error with EXECUTE PROCEDURE inside EXECUTE STATEMENT
2008-03-13 16:37:20 +00:00
robocop
55e17e46d7 - Made some constructor explicit and discovered that for adding one byte to a string, a temporary string was being created on the fly. Unacceptable in loops.
- Disabled constructor from hell for now. I wasn't the only one confused about the nature of the only argument: only looking at the signature one realizes it's a byte's value, not the initial length.
2008-03-13 10:38:39 +00:00
dimitr
ff090e6a7b Cleanup. 2008-03-12 16:42:51 +00:00
robocop
2da08d1afc Cleanup. 2008-03-10 09:32:43 +00:00
robocop
dadefcb479 Binary things are UCHAR. Let's try to fix them from the innermost layer to the outermost layer until we can fix the public interfaces. 2008-03-10 09:31:40 +00:00
robocop
cc46a7b12e Cleanup. 2008-03-10 09:23:27 +00:00
robocop
2912e6a5be Cleanup and misc. 2008-03-10 08:44:07 +00:00
asfernandes
74d8711856 Misc 2008-03-08 21:20:26 +00:00
asfernandes
0b6ecafe1b 1) Remove REPLAY_OSRI_API_CALLS_SUBSYSTEM code
2) Remove internal y-valve function INTERNAL_COMPILE_REQUEST
3) Go direct to engine internals from DSQL, without need to exit/enter the attachment lock and check exceptions in status vector
2008-03-07 15:23:21 +00:00
robocop
62c9dd45c6 Let's better use UCHAR for binary streams. 2008-03-05 08:40:55 +00:00
robocop
c6d8b0f46f Style. 2008-03-05 08:39:26 +00:00
asfernandes
ebcbf8f998 Correction 2008-03-05 02:35:42 +00:00
dimitr
5e2dc9b624 Fixed the status vector thrown for the NULL transaction handle. 2008-03-04 10:58:20 +00:00
robocop
8888ecb544 Let's better use UCHAR for binary streams. 2008-03-04 06:03:34 +00:00
robocop
3e9476e464 Misc. 2008-03-04 06:02:32 +00:00
asfernandes
e88fd596d9 Let DSQL cache lock logic in SS too - per Dmitry request 2008-03-03 15:40:56 +00:00
dimitr
c4fbdeddd7 Cleanup. 2008-03-03 14:38:32 +00:00
dimitr
b04f38e171 Fixed the NULL transaction handle crash reported by Dmitry Kovalenko in fb-devel. 2008-03-03 06:31:00 +00:00
asfernandes
88b6f39f82 1) Restore logic of not handled exceptions
2) Initialize some status vectors
2008-03-03 00:47:04 +00:00
asfernandes
7a2dedaa39 Go direct to engine internals from DSQL, without need to exit/enter the attachment lock - more to follow 2008-03-02 21:16:16 +00:00
robocop
c5ed71f77b Style. 2008-03-02 08:44:10 +00:00