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

217 Commits

Author SHA1 Message Date
robocop
45cc25511c Cleanup. 2009-11-28 07:29:26 +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
579a456329 Style. 2009-11-25 08:38:52 +00:00
robocop
9ce4040042 Replace the now obsolete dbb_minor_original by dbb_minor_version. 2009-11-18 12:02:00 +00:00
robocop
1386adcf90 Style. 2009-11-16 08:06:31 +00:00
asfernandes
8af12c8aca Fixed CORE-2722 - Storage of malformed blob is allowed when copying from a blob with NONE/OCTETS charset 2009-11-01 16:59:12 +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
asfernandes
2b63fe58a9 Misc 2009-10-13 15:49:38 +00:00
dimitr
b30a01af1e Fixed CORE-2675: Small memory leak per every blob transliteration.
To be reviewed by Adriano.
2009-10-13 08:22:56 +00:00
robocop
98a5f2e6a4 Misc. 2009-09-03 11:17:46 +00:00
robocop
bd60fe786b Comments. 2009-08-23 07:08:40 +00:00
robocop
b217b6cf09 Style. 2009-08-13 10:35:56 +00:00
asfernandes
6377356940 Misc 2009-07-23 00:56:28 +00:00
alexpeshkoff
3ae2411db7 This fixes bugs with blob_filter in my recent commit and at the same time should be compileable on SUn Studio. Thanks to Dmitry Yemanov. 2009-07-22 13:43:32 +00:00
alexpeshkoff
4506ae61bc Solaris 9 patch from SAS 2009-07-21 08:58:28 +00:00
dimitr
0d67ae90cf Totally misc. 2009-07-14 12:23:31 +00:00
asfernandes
78f400fc5b Misc 2009-06-09 00:56:58 +00:00
robocop
b4a695a031 Misc. 2009-06-08 12:15:19 +00:00
robocop
eca8ad1a4d bool, style. 2009-06-07 10:16:41 +00:00
alexpeshkoff
ae92789faf Fixed bugs noticed by Claudio 2009-05-05 07:27:20 +00:00
asfernandes
38a2912669 Misc 2009-05-03 21:57:13 +00:00
robocop
60ba0586dd Undo two of Alex' suspicious or wrong changes until he can return and rethink them. 2009-05-02 13:05:29 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
alexpeshkoff
8c983fec26 Fixed alignment issues with on-stack vary strings 2009-04-29 14:00:32 +00:00
dimitr
21375f80f8 Let's avoid creating temporary files unless really necessary. 2009-04-01 17:40:16 +00:00
asfernandes
261604fd1d Misc 2009-01-27 16:52:39 +00:00
roman-simakov
80fcc2f332 Avoiding creating/destructing AutoBlb object when it's unnecessary 2009-01-26 20:50:30 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33:59 +00:00
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +00:00
robocop
5f6113f63b Change param type from SLONG* to UCHAR* because we gain nothing with the old declaration, except forced casts. 2008-12-22 10:06:43 +00:00
robocop
9c9e4e9b0b There's no need to check whether a pointer is null before applying delete or delete[]. 2008-12-20 08:16:55 +00:00
robocop
0a94d6fee8 Style. 2008-12-18 10:57:12 +00:00
alexpeshkoff
af3b4e62b1 Frontported fix for CORE-2242: Engine incorrectly fills BPB 2008-12-15 18:08:27 +00:00
robocop
511c7eb7d8 Promote thread_data* as function argument. 2008-12-14 10:19:27 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
alexpeshkoff
d8ea120ded AIX port - use FB_ prefix for alignment constants 2008-11-05 11:26:23 +00:00
asfernandes
acb11513c9 Fixed CORE-2122 - Translation of large text BLOB between UNICODE_FSS (UTF8) and other charsets 2008-10-25 03:44:03 +00:00
dimitr
1a943d1990 Splitted the undo log into two parts: in-memory one for initial undo items (but they're much more dense now) and on-disk (cached up to TempSpaceLimit) one for full record versions (used in update-in-place).
This dramatically reduces the memory usage for bulk updates, thus solving CORE-1575 (serious memory bug on multiple update a table in a single transaction) and CORE-1477 (Avoiding excessive memory consumption by undo-log after series of updates) and predicting out-of-memory conditions that could often lead to record-level corruptions.
2008-10-14 10:07:37 +00:00
asfernandes
dcd70caa31 Visual Studio was complaining about inconsistent line end on this file 2008-09-11 15:41:44 +00:00
robocop
5bc24e78f2 Misc. 2008-08-28 07:14:20 +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
5a111d8427 Misc 2008-08-15 02:06:23 +00:00
asfernandes
49c1957156 Fixed CORE-2042 - Connection lost to database when used AUTONOMOUS TRANSACTION 2008-08-14 18:46:22 +00:00
asfernandes
6fb42c33c4 Misc 2008-08-12 00:26:10 +00:00
hvlad
12745b5faa Allow to create temporary blobs on read-only databases.
This also fixed bug CORE-2026 : Problem with a read-only marked database and Firebird 2.1
2008-08-10 10:06:46 +00:00
skidder
b9571d48ee When GFIX is invoked with -MEND option it marks blobs and records with
inconsistencies as damaged (rhd_damaged). When later GBAK is invoked with
-IGNORE option it instructs the engine to skip such marked blobs and records
to be able to create backup of the database.

However, for damaged BLOBs the engine returns inconsistent statistics via
isc_blob_info call making GBAK to fail defeating the purpose of GFIX -MEND.
This problem is present in all Firebird versions.

This patch corrects the above behavior, and makes the engine return damaged
blobs to GBAK with -IGNORE option as consistent zero-length blobs permitting
database backup to succeed.
2008-07-05 19:31:52 +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
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
robocop
89cf9c449c Comment unused fields. 2008-05-08 14:22:09 +00:00
robocop
f8dee95b8c Misc. 2008-04-21 11:39:35 +00:00