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

298 Commits

Author SHA1 Message Date
robocop
9c71413426 Style. 2009-11-16 09:18:24 +00:00
verbguy
8192bf7723 fix a bunch of 64-bit sign extension warnings, reported by Sun Studio option, -xport64=implicit 2009-11-04 15:15:57 +00:00
asfernandes
8c6f98e25c Fixed CORE-2724 - Validate or transform string of DML queries so that engine internals doesn't receive malformed strings 2009-11-01 18:38:16 +00:00
robocop
3c7615230d Misc. 2009-10-31 08:20:14 +00:00
dimitr
7bdb39e616 Wipe out the SCROLLABLE_CURSORS code + minor cleanup.
Also, surfaced scrollability for PSQL cursors (without internal support yet).
2009-10-31 06:17:49 +00:00
asfernandes
ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
dimitr
e4791f966e Optimization for the large number of columns, basically mirroring the one inside var_info(). 2009-10-12 06:42:39 +00:00
asfernandes
9b11713517 Fixed the problem reported in fb-devel about wrong "string right truncation" error 2009-09-30 02:16:18 +00:00
asfernandes
f590889311 Fixed CORE-2607 - Introducer (_charset) problems with monitoring and persistent modules 2009-08-30 02:26:50 +00:00
asfernandes
fea56bf058 Misc 2009-08-06 01:06:05 +00:00
robocop
e90fc8d63f Change the interface again. Please full rebuild (although the many recent changes to common.h almost qualify as full rebuild). 2009-08-05 12:30:32 +00:00
asfernandes
4171c16988 Some things discussed with Dmitry and Claudio - rename the new function to fb_print_blr, use ULONG parameter for blr_length and return int 2009-08-03 15:52:48 +00:00
asfernandes
4759973045 Fixed CORE-2576 - Server may crash parsing wrong or truncated BLR
Full rebuild required - CMP_compile2 prototype changed
2009-08-02 04:10:07 +00:00
asfernandes
91dc75000c Misc 2009-07-14 15:51:41 +00:00
asfernandes
08bc7eaff4 Fixed CORE-2552 - isc_dsql_execute2 does not return errors when called with a non-NULL output SQLDA 2009-07-14 15:49:37 +00:00
robocop
d5635f76aa Isolate more scrollable cursors code. 2009-07-06 10:43:47 +00:00
asfernandes
928d2616fd Misc 2009-06-19 02:29:08 +00:00
hvlad
1a202ab6dd Correct typo 2009-06-18 16:53:00 +00:00
robocop
6bfacad413 CORE-2509. Took the opportunity to fix several data types. 2009-06-18 12:07:07 +00:00
robocop
3343776e96 More unused params. 2009-04-28 14:13:46 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
robocop
74537636b9 Comments. 2009-04-18 14:13:26 +00:00
dimitr
ca94ba9d07 Restored the legacy logic that was zapping the output NULL descriptors to mimic some pseudo-empty values.
Just for symmetry, unconditionally applied the same logic to inputs (it was there for blobs only).
Finally, do the same in the original place, EXE_assignment(). A more complex original code that tried to care about character sets is removed.
2009-03-03 14:57:53 +00:00
hvlad
026c2412e6 Constness 2009-02-09 15:25:01 +00:00
robocop
a18dc0519f Misc, style, fixing dangerous warnings, constness, etc. 2009-02-08 11:23:46 +00:00
asfernandes
891845836d CORE-2298 - Add support for "some_col = ? or ? IS NULL" conditions 2009-02-05 14:29:28 +00:00
hvlad
a0ab0d9109 Trace correctly failed SQL statement prepare attempts and SET TRANSACTION statement. 2009-02-02 16:23:05 +00:00
asfernandes
612c108e3e Misc 2009-02-02 03:35:52 +00:00
hvlad
115602ff06 Trace services support 2009-02-01 22:10:12 +00:00
asfernandes
ced3b0010e Rollback CORE-2298 2009-01-29 20:36:29 +00:00
asfernandes
3592de2b06 Adjustments related to CORE-2298 2009-01-28 22:04:55 +00:00
asfernandes
9784181a33 Improvement CORE-2298 - Add support for "some_col = ? or ? IS NULL" conditions 2009-01-28 21:37:45 +00:00
robocop
8dca837420 Style. 2009-01-06 05:53:34 +00:00
robocop
d11c994960 Style. 2008-12-31 05:06:08 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +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
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
robocop
bbc988bd9f Correction. 2008-10-16 08:51:51 +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
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
alexpeshkoff
e392297213 sligtly better places to check for missing SQL operator 2008-09-09 11:11:25 +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
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
asfernandes
736659c1a1 Misc 2008-08-16 15:42:38 +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
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
552f58dd48 Misc 2008-06-06 02:25:35 +00:00
robocop
b8ea332022 Misc. 2008-06-05 11:02:42 +00:00