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

32641 Commits

Author SHA1 Message Date
asfernandes
34fcf769dd Misc 2010-10-27 00:52:32 +00:00
firebirds
806f3c061a nightly update 2010-10-26 03:14:56 +00:00
firebirds
f0e4607598 nightly update 2010-10-25 03:13:59 +00:00
firebirds
46bd0a4630 nightly update 2010-10-24 03:13:20 +00:00
asfernandes
3317eeeebc Refactor literal values. 2010-10-24 00:26:00 +00:00
firebirds
59fdc9ee89 nightly update 2010-10-23 03:14:55 +00:00
hvlad
2415148b7e Engine always works in embedded mode 2010-10-22 20:48:26 +00:00
asfernandes
16ff0c51ce Refactor NULL expression 2010-10-22 15:00:22 +00:00
firebirds
e8a5c02df9 nightly update 2010-10-22 03:14:28 +00:00
asfernandes
5c7e5ce634 Misc 2010-10-22 01:24:31 +00:00
firebirds
ce8a552a85 nightly update 2010-10-21 03:15:03 +00:00
firebirds
50e801319d nightly update 2010-10-20 03:14:33 +00:00
alexpeshkoff
88e0503dc6 Fixed CORE-3148: possible segfault in SQZ_apply_differences 2010-10-19 13:05:19 +00:00
firebirds
5372b2b377 nightly update 2010-10-19 03:15:16 +00:00
hvlad
f223086fdd Corrections for new build system. Work in progress... 2010-10-18 17:23:36 +00:00
firebirds
ab028ddef6 nightly update 2010-10-17 03:13:57 +00:00
asfernandes
2e0da292df Refactor EXTRACT 2010-10-16 18:53:25 +00:00
asfernandes
2dcef5c7ce Refactor *_LENGTH functions 2010-10-16 18:17:00 +00:00
asfernandes
aa78df6f91 Refactor SUBSTRING 2010-10-16 17:42:04 +00:00
asfernandes
38ba5852ae Cleanup: remove blr_prot_mask and blr_lock_state support 2010-10-16 15:34:52 +00:00
firebirds
0ac7b3e9d9 nightly update 2010-10-16 03:15:24 +00:00
alexpeshkoff
8a8a95448f warnings 2010-10-15 09:05:34 +00:00
firebirds
ffa9b70aa9 nightly update 2010-10-15 03:14:59 +00:00
asfernandes
7b652bcb9a Misc 2010-10-15 01:55:57 +00:00
asfernandes
7b9dcd86cc Correction 2010-10-15 00:52:33 +00:00
alexpeshkoff
db34472378 Frontported fix for CORE-3115: Bugs in the internal record compression routines 2010-10-14 12:28:58 +00:00
alexpeshkoff
3afd884f5b Temporal quickfix for working engine shutdown 2010-10-14 11:13:29 +00:00
dimitr
af23581244 Front ported my recent changes. I'm unable to verify the compilation now, sorry. 2010-10-14 05:27:08 +00:00
firebirds
8dd8dbfb49 nightly update 2010-10-14 03:15:15 +00:00
alexpeshkoff
250a808107 Temporary disable suggested by me solution for request format check - needs better checks, as is breaks CREATE DATABASE 2010-10-13 13:35:40 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
alexpeshkoff
c6932824f7 Full fix for CORE-3024 2010-10-13 09:15:48 +00:00
alexpeshkoff
1c0a683249 More lost files 2010-10-13 05:50:53 +00:00
firebirds
6e072bed20 nightly update 2010-10-13 03:17:18 +00:00
asfernandes
91384eb587 Misc 2010-10-12 17:40:27 +00:00
alexpeshkoff
83d6a2f88c Restored a lot of changes, rolled back by me unintentionally 2010-10-12 11:36:51 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
firebirds
fdfcc4ed7e nightly update 2010-10-10 03:13:00 +00:00
asfernandes
ac3c00d503 1) Refactored LOWER, UPPER and TRIM.
2) Fixed CORE-3174 - Expression index with TRIM may lead to incorrect indexed lookup
2010-10-09 18:39:45 +00:00
firebirds
f76961d639 nightly update 2010-10-09 03:12:58 +00:00
asfernandes
4d00fec2d6 Refactor parameters and GEN_ID. 2010-10-09 01:57:37 +00:00
asfernandes
9bf9ca4ef7 Misc 2010-10-09 01:50:18 +00:00
hvlad
6a37e8c261 Fixed bug CORE-3170 : Engine could enter infinite loop if EVENT's are posted but no subscribers exists 2010-10-08 11:57:57 +00:00
dimitr
df245ba88e Fixed problems with recursive PSQL functions. Minor refactoring. 2010-10-08 09:40:14 +00:00
firebirds
d9975031b9 nightly update 2010-10-08 03:13:58 +00:00
firebirds
dde918ad71 nightly update 2010-10-07 03:13:17 +00:00
firebirds
9931395c98 nightly update 2010-10-06 03:14:27 +00:00
firebirds
79e42ead7d nightly update 2010-10-05 03:13:47 +00:00
firebirds
439fac187a nightly update 2010-10-03 03:15:10 +00:00
asfernandes
2227426f2e Sub-task CORE-3147 - Fix SUBSTRING(SIMILAR) in regard to initial and final shortest matching specified in the standard 2010-10-03 00:50:17 +00:00
firebirds
5d7bd25c38 nightly update 2010-10-01 03:15:31 +00:00
asfernandes
58a7979097 Improve the debug log 2010-09-30 15:40:06 +00:00
firebirds
4e7ff222e5 nightly update 2010-09-28 03:15:12 +00:00
firebirds
9b9f26aa15 nightly update 2010-09-26 03:14:45 +00:00
asfernandes
b49391c8d0 Misc 2010-09-25 23:08:18 +00:00
asfernandes
1f8342a3a1 Fixed CORE-3141 - The last column in a view is returning as a null value even when it's not 2010-09-25 20:19:43 +00:00
firebirds
236b07a221 nightly update 2010-09-25 03:14:43 +00:00
robocop
98a2c6822d Warnings. 2010-09-24 09:53:51 +00:00
robocop
c7abd52cea Misc. 2010-09-24 09:23:12 +00:00
firebirds
44c21083d7 nightly update 2010-09-24 03:14:34 +00:00
asfernandes
bbd048fede Make refactored code match original one, as see by Claudio.
The affected code is something that never executes.
2010-09-23 15:22:44 +00:00
robocop
25b691353e Misc. 2010-09-23 09:53:50 +00:00
firebirds
cd75b18f00 nightly update 2010-09-21 03:14:24 +00:00
asfernandes
0eb26b8e97 Misc 2010-09-20 16:26:25 +00:00
asfernandes
9b8171d5c1 1) Refactor nod_value_if.
2) Created ExprNode::expressionEqual method to replace a new big and ugly switch.
3) Make boolean referencers use BoolExprNode instead of jrd_nod, except nod_validate for now. This includes BinaryBoolNode and NotBoolNode working without jrd_nod references.
4) Rework in the impure allocation code (replace "csb_impure += ..." by CMP_impure calls).
2010-09-20 16:07:50 +00:00
firebirds
9e786f0c8a nightly update 2010-09-19 03:13:18 +00:00
dimitr
34dd100554 Fixed CORE-3137: Partial rollback is possible for a selectable procedure modifying data. 2010-09-18 06:52:46 +00:00
firebirds
1c1b3abfa5 nightly update 2010-09-18 03:13:24 +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
firebirds
dcdb4e4426 nightly update 2010-09-15 03:18:23 +00:00
firebirds
1009980967 nightly update 2010-09-14 03:06:00 +00:00
firebirds
f54e3120f5 nightly update 2010-09-10 03:14:38 +00:00
firebirds
21acb613f2 nightly update 2010-09-09 03:14:38 +00:00
dimitr
7083a2fff5 Corrections to the multi-key hashing. Thanks to Adriano. 2010-09-08 18:05:28 +00:00
firebirds
d5ce10e647 nightly update 2010-09-08 03:14:17 +00:00
firebirds
5bd3d2a43f nightly update 2010-09-05 03:12:59 +00:00
asfernandes
b7b63becf3 Refactor a number of expression nodes: nod_add, nod_divide, nod_multiply, nod_negate, nod_user_name, nod_subtract, nod_current_date, nod_current_time, nod_current_timestamp, nod_add2, nod_subtract2, nod_multiply2, nod_divide2, nod_current_role, nod_internal_info 2010-09-04 21:36:41 +00:00
firebirds
4607360acf nightly update 2010-09-02 03:13:54 +00:00
asfernandes
f42c9bd874 Fixed CORE-3101 - Cannot alter the domain after migrating from older versions 2010-09-01 15:55:32 +00:00
asfernandes
60bfdf264f Fix warning 2010-09-01 15:54:54 +00:00
firebirds
6a7ae9708a nightly update 2010-09-01 03:15:19 +00:00
firebirds
d33b2197e2 nightly update 2010-08-31 03:14:29 +00:00
asfernandes
ada671c034 Refactor nod_index and nod_bit_* to InversionNode 2010-08-31 00:20:33 +00:00
asfernandes
6b261f1b81 Misc 2010-08-31 00:12:20 +00:00
asfernandes
cadef3fbf0 Small cleanup 2010-08-30 15:39:50 +00:00
firebirds
1163bea5f1 nightly update 2010-08-30 03:14:08 +00:00
asfernandes
8f857a6deb Refactor plan nodes to PlanNode 2010-08-29 20:20:19 +00:00
asfernandes
76ff0957fd Cleanup 2010-08-29 18:25:55 +00:00
asfernandes
96f2829728 Refactor nod_map and nod_sort to type-safe MapNode and SortNode 2010-08-29 18:20:44 +00:00
firebirds
dde6bbcb53 nightly update 2010-08-29 03:13:47 +00:00
dimitr
523120f717 Fixed CORE-2155: Join of SP with view or table may fail with 'No current record for fetch operation'. 2010-08-28 12:41:51 +00:00
dimitr
f1b959694c Fixed the engine crash caused by the recent refactoring. 2010-08-28 08:52:37 +00:00
firebirds
b17937848c nightly update 2010-08-28 03:14:01 +00:00
firebirds
bf6be92408 nightly update 2010-08-27 03:15:10 +00:00
asfernandes
8e4aae8e8b Fixed CORE-3109 - [Crash] isc_dql_exec_immed3_m for "create database ..." and NULL transaction 2010-08-27 02:55:09 +00:00
asfernandes
8047048dc4 Misc 2010-08-26 15:40:51 +00:00
firebirds
fc2376c032 nightly update 2010-08-26 03:14:14 +00:00
asfernandes
588c545d17 Rework WindowSourceNode to use type-safe partitions 2010-08-25 15:52:46 +00:00
dimitr
e7c44824e6 Fixed a few suspicious places related to the variable cloning. 2010-08-25 08:02:21 +00:00
firebirds
0c79c118cd nightly update 2010-08-25 03:15:25 +00:00
asfernandes
53d7b386fa Move dozen of parameters of virtual/overriden function to OptimizerBlk 2010-08-25 03:10:12 +00:00
asfernandes
7eb5bb0ae3 Misc 2010-08-25 01:35:33 +00:00
asfernandes
0497251edd Remove do-nothing checks from the new file 2010-08-25 01:01:22 +00:00
asfernandes
e736c7d15c Misc 2010-08-25 00:42:17 +00:00
dimitr
a048813907 Refactored the rivers management a bit. 2010-08-24 17:49:23 +00:00
asfernandes
0ce8cb6f2f Correction 2010-08-24 16:26:20 +00:00
asfernandes
48d83b8fef Refactor nod_rse, nod_relation, nod_procedure, nod_union, nod_aggregate and nod_window. 2010-08-24 03:25:01 +00:00
firebirds
77fa416d04 nightly update 2010-08-16 03:14:03 +00:00
firebirds
0fde4aa77f nightly update 2010-08-14 03:14:17 +00:00
asfernandes
18a6a6b4f9 More consts 2010-08-13 15:22:00 +00:00
firebirds
b0bc4b10c1 nightly update 2010-08-13 03:16:33 +00:00
robocop
5159171578 Misc. 2010-08-12 10:32:50 +00:00
firebirds
16119fb584 nightly update 2010-08-12 03:13:26 +00:00
asfernandes
7b8a8065c4 More consts 2010-08-12 00:59:48 +00:00
firebirds
e3a3ac8f86 nightly update 2010-08-11 03:16:18 +00:00
asfernandes
8657f4b599 Better internal handling of dependencies 2010-08-11 02:59:33 +00:00
firebirds
9199492419 nightly update 2010-08-10 11:04:59 +00:00
asfernandes
de5098b85d Misc 2010-08-10 00:37:26 +00:00
asfernandes
4c9eb2c3ce Correct double indirection (jrd_nod**) so const cascades to every dereference 2010-08-09 16:06:23 +00:00
asfernandes
dadc0f560c Const correction for EVL, EXE and they subsystems. Adjustments to CMP and OPT. 2010-08-09 15:48:51 +00:00
alexpeshkoff
14962fb831 Damian's patch for additional CPUs under linux 2010-08-09 13:56:20 +00:00
hvlad
087a7f7cda Fixed bug CORE-3100 : Wait mode and lock timeout of external transaction of EXECUTE STATEMENT not matched to corresponding parameters of local transaction 2010-08-07 21:18:23 +00:00
asfernandes
96b2ed0925 Hope this assumption to be correct 2010-08-07 15:49:53 +00:00
asfernandes
c5016fb4f4 Misc 2010-08-07 02:44:39 +00:00
asfernandes
361727d549 Misc 2010-08-07 02:38:12 +00:00
asfernandes
7f3dc62888 Frontport fix for CORE-3090 - Incorrect LEFT JOIN result using table and derived constant subquery 2010-08-07 02:10:08 +00:00
hvlad
1ca9c0a020 Fixed bug CORE-3089 : Attempt of execute statement on external datasource failed when datasource is interbase 4.1 2010-08-06 15:16:13 +00:00
asfernandes
173b23109c 1) Better organization between request and statement. 2) Consts. 2010-08-05 15:55:49 +00:00
asfernandes
2e9f01a4e0 Fix DDL triggers 2010-08-05 00:44:58 +00:00
asfernandes
7adb129d37 Frontport fix for CORE-3094 - Parameters doesn't work with NOT IN from a selectable procedure 2010-08-04 15:50:26 +00:00
asfernandes
ad57aa29a1 Refactor CREATE/ALTER/CREATE OR ALTER/RECREATE VIEW and cleanup related to previously refactors 2010-08-02 02:22:26 +00:00
asfernandes
e664de5f00 Fixed CORE-3091 - Built-in function POWER(X, Y) does not work when the X argument is negative and the Y value is scaled numeric but integral 2010-07-31 18:40:45 +00:00
asfernandes
96cd57ba83 Better error reporting and adjustments 2010-07-29 00:36:31 +00:00
asfernandes
3197757f00 Rename misleading TriStateType class name to Nullable 2010-07-29 00:20:53 +00:00
asfernandes
36f092fe0e Improvement CORE-3085 - Add clause ALTER DOMAIN <name> [NOT] NULL 2010-07-28 16:14:20 +00:00
hvlad
4495a7ce16 Fixed bug CORE-3079 : Strong slowing down inserts with EVENT-s in a single transaction 2010-07-26 10:51:00 +00:00
asfernandes
0b7c21172a Refactor CREATE/ALTER/DROP/RECREATE TABLE and DROP VIEW commands 2010-07-26 02:37:57 +00:00
asfernandes
be078848df Create system constraints for better error reporting. Change to GBAK must be backported to avoid future problems. 2010-07-26 02:14:48 +00:00
asfernandes
2cbc4e3675 Misc 2010-07-24 02:43:28 +00:00
hvlad
6e2db049ea Make Windows build work (MSVC8 only) after Alex changes.
Some corrections is still required.
2010-07-23 14:06:29 +00:00
alexpeshkoff
b02f9aff61 gsec always worked only with SYSDBA - thx to Vlad 2010-07-23 14:01:54 +00:00
alexpeshkoff
d24cd9cbd7 Implemented self-registering plugins format (same plugin can be easily linked statically
or as dynamic library, depending upon platform requirements). Self-registering plugins
need not export any functions, instead they call fb_register_plugin() on startup.

Reworked all user management to use self-registering plugins.

Removed system table RDB$USERS. PLG$USERS is not created automatically by plugin, but
will be later (work in progress).
2010-07-23 12:04:18 +00:00
asfernandes
2c51032b1e Misc 2010-07-15 00:47:24 +00:00
dimitr
1249095a38 Reworked the SEC$USERS implementation so that no new physical table type and data access method would be required. More changes are likely to follow soon. 2010-07-13 12:33:55 +00:00
dimitr
da183a98ed Reworked the SEC$USERS implementation so that no new physical table type and data access method would be required. More changes are likely to follow soon. 2010-07-13 12:31:35 +00:00
dimitr
5e88ca725b Mirror the recent Alex's change for Windows. It doesn't seem being strictly required, but let's be safe. 2010-07-13 07:05:30 +00:00
hvlad
f4718dfe80 Fixed unregistered bug in EXECUTE STATEMENT : make internal cache of prepared statements work properly. 2010-07-12 08:09:46 +00:00
asfernandes
4db389758f Refactor CREATE/ALTER/CREATE OR ALTER/RECREATE/DROP EXCEPTION commands 2010-07-11 18:21:42 +00:00
robocop
5d2e4a1df9 Misc. 2010-07-10 08:33:19 +00:00
robocop
3308522158 Fix compilation error. 2010-07-10 08:32:50 +00:00