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

311 Commits

Author SHA1 Message Date
asfernandes
dd6331f002 Some fixes; Misc. 2009-12-22 00:08:49 +00:00
asfernandes
7f8f83613d Just started some separation of concerns 2009-12-21 15:11:57 +00:00
asfernandes
50542e3f00 Make dsql_req::statement constant 2009-12-21 14:56:12 +00:00
asfernandes
985bc2db87 Separate the scratch, statement and request flags. Don't ask me why I didn't change them to bools. 2009-12-20 22:42:43 +00:00
asfernandes
488eb40fe0 Refactor DSQL, continuing the work I started in 2.5:
- Renamed CompiledStatement to DsqlCompilerScratch and removed inheritance to dsql_req.
- Introduced DsqlCompilerStatement, moving things from dsql_req - not completelly shareable yet.
- Make dsql_req reference a DsqlCompilerStatement. DsqlCompilerScratch may be discarded in the future.
- Replaced AlterCharSetNode usage by PreparedStatement for the default collation in database creation.
- Changed METD API.
2009-12-20 21:01:10 +00:00
asfernandes
486babc09a Push more state out of dsql_parameter 2009-12-19 22:52:17 +00:00
asfernandes
c7a3f6f6e1 Separating run state from compiled statements 2009-12-19 21:20:36 +00:00
asfernandes
20ed875d57 Replaced linked list of dsql parameters by array 2009-12-19 18:50:38 +00:00
asfernandes
209b9a688c Misc 2009-12-19 15:39:23 +00:00
asfernandes
fbcaf72adf Move and rename methods 2009-12-06 19:11:25 +00:00
asfernandes
7a78601ef2 1) Use metadata character set in DSQL cache
2) Make exceptions in metadata charset and convert them to the client charset - this should fix CORE-2431
3) Support for "internal" (engine) DSQL statements and use in COMMENT ON
2009-12-05 14:21:52 +00:00
robocop
f955568fc9 The architect created ODS12 and saw it was good, then he said "thy shall be the only one among your race", dropped the older ones and sent the developers to the four corners of the cyberspace to convert the masses to ODS12. 2009-11-27 02:33:40 +00:00
robocop
47008b1bbb Misc. 2009-11-17 07:33:39 +00:00
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