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

367 Commits

Author SHA1 Message Date
asfernandes
7ad98cd292 Work in progress on the external engines API changes. 2011-06-01 01:44:54 +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
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
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
c081b763b2 Fixed CORE-2606 - Multibyte CHAR value requested as VARCHAR is returned with padded spaces. 2011-04-05 00:31:58 +00:00
robocop
9d980c7e88 Misc, style, etc. 2011-04-02 04:24:20 +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
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
asfernandes
de959faf39 Misc 2011-03-01 01:07:44 +00:00
asfernandes
97da335f60 Removed the legacy DSQL hash table module (HSHD). 2011-02-26 21:52:47 +00:00
dimitr
b6e3e10182 Fixed CORE-1620: Incorrect error message if EXECUTE STATEMENT contains empty string. It doesn't fix the "uninitialized variable" issue per se, but I'm not sure this is strictly required, as it gets initialized if the statement contains at least one character, and all cases of empty string are now caught in advance. 2011-02-06 11:57:18 +00:00
dimitr
6449c942e7 Implemented CORE-3332: Provide more detailed information about the query execution plan. Some details are still to be worked on. 2011-02-02 11:31:04 +00:00
asfernandes
ccaaca7c72 Misc 2011-01-29 17:24:29 +00:00
dimitr
4d07318836 More work on enlarging the message buffers. To be continued. 2011-01-28 18:58:44 +00:00
dimitr
e0f5a68da0 More work on enlarging the message buffers. To be continued. 2011-01-28 18:50:27 +00:00
dimitr
fcf42108da Refactoring. Mostly short->long replacements for various buffer sizes. 2011-01-28 17:12:22 +00:00
alexpeshkoff
d6fcde387b New plugin manager. Use it for all types of plugins. 2011-01-14 17:31:40 +00:00
asfernandes
c9ec26c0c3 Feature CORE-726 - Boolean data type 2010-12-18 02:17:06 +00:00
hvlad
d3d459c93b Fixed bug CORE-3219 : trace manager crash server with DSQL_unprepare 2010-11-19 14:37:56 +00:00
dimitr
3795bcdd64 Fixed CORE-3029: Bugcheck "Too many savepoints (287)" at rollback after exception at EXECUTE BLOCK with exception handler. 2010-11-08 16:37:07 +00:00
asfernandes
045c090a38 Misc 2010-11-06 18:56:46 +00:00
dimitr
ec8e31604e Fixed SET TRANSACTION statement. 2010-11-02 09:35:48 +00:00
alexpeshkoff
131c6f3f4d Fixed segfault in dsql_prepare 2010-11-01 10:46:31 +00:00
dimitr
d15dc50d1e Fixed CORE-3205: isc_dsql_exec_immed2() doesn't return error codes isc_stream_eof and isc_sing_select_err.
Also, restore the legacy behavior for EXECUTE PROCEDURE and RETURNING queries. This is expected to fix CORE-3203.
2010-10-31 11:26:52 +00:00
asfernandes
3317eeeebc Refactor literal values. 2010-10-24 00:26:00 +00:00
asfernandes
91384eb587 Misc 2010-10-12 17:40:27 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
asfernandes
4d00fec2d6 Refactor parameters and GEN_ID. 2010-10-09 01:57:37 +00:00
asfernandes
c1b5abfdf2 1) Refactor all types of boolean nodes.
2) Remove the scratch from the nodes.
2010-09-17 03:15:32 +00:00
asfernandes
173b23109c 1) Better organization between request and statement. 2) Consts. 2010-08-05 15:55:49 +00:00
asfernandes
d7883e750d Fixed CORE-3047 - Wrong logic is used to resolve EXECUTE BLOCK parameters collations 2010-06-20 03:09:25 +00:00
asfernandes
12079f5ece Created class BlrWriter and reorganization (move BLR generation from statement to scratch) 2010-06-17 01:18:40 +00:00
asfernandes
a9adf6d626 1) Refactor PSQL support in DSQL. This started as subprocedure implementation, but I'm now separating things.
2) Fix thrown of isc_bad_default_value
2010-06-15 16:07:58 +00:00
asfernandes
3cef55490c Subtask CORE-2996 - Fix error code incompatibility introduced in fix for CORE-2552 2010-05-07 15:24:53 +00:00
asfernandes
ccd83436a1 Misc 2010-05-01 17:34:46 +00:00
skidder
f540236674 Re-introduce access to DSQL debugging facility accidentally made inaccessible by Dmitry Y. during Firebird 2.5 development cycle. Also document it firebird.conf and enable it in PROD_BUILD. It is rather hard to debug DSQL compiler issues without intermediate trace output. 2010-05-01 13:47:39 +00:00
asfernandes
4763533669 Refactor jrd_req into JrdStatement (shared part) and jrd_req (execution of a statement).
Fixed some bugs found in the way.
2010-04-18 22:19:11 +00:00
asfernandes
fd8a4d3b00 Small cleanup 2010-04-06 01:13:22 +00:00
asfernandes
c737d6a807 Create ExprNode class hierarchy.
Convert CONCATENATE and aggregate functions to it.

Fix some bugs:
- select sum(n) over (order by n2), sum(n) over (), n, n2 from x1;
- select (select 1 from x1 b where list(1, a.n) = 1) from x1 a;
2010-02-13 20:29:29 +00:00
hvlad
17a92e5235 Correction, thanks to Claudio 2010-02-09 09:00:51 +00:00
hvlad
b9012c8ddf Fixed bug CORE-2852 : Server crash when executing syntactical wrong SQL statement with an active trace session 2010-02-08 14:51:22 +00:00
dimitr
aa7e2eb6ec This trivial change allows to print the single stream pseudo-unions properly (while still reporting crappy output for real multi-stream unions). 2010-01-19 12:43:26 +00:00
dimitr
d35f6e316b 1) Simplify the explicit plan handling between the parser and the engine. It makes no sense to pass the join type as it's ignored internally.
2) Support hash joins in the plan output and in the parser. For the latter, it's just the syntax sugar, same as loop vs merge join (see above).
2010-01-19 09:25:29 +00:00
asfernandes
7fbee2c76b Feature OVER (PARTITION BY ...) clause for window functions 2010-01-18 21:37:47 +00:00
asfernandes
631ed08aea Misc 2009-12-27 16:49:46 +00:00