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

33431 Commits

Author SHA1 Message Date
firebirds
108e935cc9 nightly update 2012-04-07 04:49:54 +00:00
asfernandes
2f3d4918da Refactored nod_rows. 2012-04-07 04:21:46 +00:00
asfernandes
617ef670ed Refactored nod_select_expr, nod_with and nod_list (union). 2012-04-07 03:03:28 +00:00
firebirds
b73d8c65e9 nightly update 2012-04-06 04:51:52 +00:00
asfernandes
fa861b6e95 Misc. 2012-04-05 18:28:44 +00:00
firebirds
5213603a48 nightly update 2012-04-05 04:52:32 +00:00
firebirds
c378ba2218 nightly update 2012-04-03 04:52:13 +00:00
dimitr
fe01201cd4 Fixed CORE-3806: Wrong data returned if a sub-query or a computed field refers to the base table in the ORDER BY clause. 2012-04-02 15:25:36 +00:00
firebirds
b0749faa08 nightly update 2012-04-01 04:48:41 +00:00
firebirds
0f5b046a9f nightly update 2012-03-31 04:52:33 +00:00
hvlad
453e9d9ae1 Correct reference counting for log writer in trace plugin.
Also fixed few AVs.
2012-03-30 13:52:11 +00:00
firebirds
46fdc0b2e5 nightly update 2012-03-30 04:51:48 +00:00
hvlad
a935f95d5a Fixed bug CORE-3799 : with caller privileges option don't work with autonomous transaction option 2012-03-29 13:30:17 +00:00
firebirds
c0fca27cca nightly update 2012-03-28 04:50:23 +00:00
dimitr
46cc7d15af Optimized the shared counter generator to avoid LM calls if there's no contention on the protecting lock. 2012-03-27 10:52:15 +00:00
dimitr
a76dd8d3e7 Fixed CORE-3791: Performance degrades when actively working with databases bigger than the available RAM amount. 2012-03-27 07:24:55 +00:00
firebirds
501420a729 nightly update 2012-03-27 04:51:57 +00:00
alexpeshkoff
1ceb4847e1 Make plugins use passed instance of master interface, not one got from fb_get_master_interface(). This helps in case when >1 fbclient libraries is loaded by process. 2012-03-26 11:34:52 +00:00
alexpeshkoff
56eaa65de5 Fixed release build 2012-03-26 09:26:12 +00:00
firebirds
fb10246575 nightly update 2012-03-26 04:52:02 +00:00
dimitr
1a45f24925 Fixed CORE-3798: fb server die when carry out the LEFT + INNER JOIN. This is a v3 only regression. 2012-03-25 17:21:28 +00:00
firebirds
9cdbb3ba08 nightly update 2012-03-25 04:58:52 +00:00
asfernandes
38083d12dc Refactored nod_field_name, nod_var_name, nod_array and nod_collate. 2012-03-25 01:08:55 +00:00
firebirds
618a7d3c9c nightly update 2012-03-24 04:50:14 +00:00
alexpeshkoff
a89f9b7735 Fixed CORE-3782: Password encoding 2012-03-23 17:44:17 +00:00
alexpeshkoff
4791e63ce2 MAC port. Also cleaned up one related place, where names of struct and variable were same (bstream) 2012-03-23 14:06:14 +00:00
firebirds
8c09fcdd1b nightly update 2012-03-23 04:53:59 +00:00
dimitr
c1505af051 Slightly changed the logic to make it easier to understand. 2012-03-22 07:57:06 +00:00
firebirds
43c52baa49 nightly update 2012-03-22 04:48:59 +00:00
hvlad
bd96e2c2e5 New patch for CORE-3468 2012-03-22 00:21:57 +00:00
hvlad
e67ae1a372 Undo patch for CORE-3468 2012-03-21 14:45:44 +00:00
alexpeshkoff
ef87048ba1 Fixed segfault, reported by Thomas Steinmaurer in devel 2012-03-21 11:16:13 +00:00
firebirds
ec92273d2f nightly update 2012-03-21 04:50:01 +00:00
dimitr
0eb5957c73 Fixed the broken monitoring code. 2012-03-20 10:10:31 +00:00
firebirds
9da1c0eae6 nightly update 2012-03-20 04:49:05 +00:00
firebirds
014d071c1c nightly update 2012-03-19 04:48:08 +00:00
firebirds
8f449a70c4 nightly update 2012-03-18 04:48:39 +00:00
asfernandes
a0194aeaf3 Simplificate CastNode. There is no need for a format there. 2012-03-17 16:06:05 +00:00
firebirds
4a63dc6573 nightly update 2012-03-17 04:50:51 +00:00
asfernandes
dd46c387fb Misc. 2012-03-17 02:26:59 +00:00
alexpeshkoff
42e1763d37 Misc 2012-03-16 17:05:56 +00:00
firebirds
c2041a276e nightly update 2012-03-16 04:50:25 +00:00
alexpeshkoff
e0eda0c873 Fixed use of UTF8 strings in services 2012-03-15 15:05:31 +00:00
dimitr
0ea7ae11f3 Fixed CORE-3092: ROW_COUNT is not cleared before the singleton INSERT statement, 2012-03-15 10:40:45 +00:00
dimitr
2ac95b9982 Fixed CORE-3625: MON$IO_STATS doesn't report page writes performed asynchronously (at the AST level). 2012-03-15 09:29:33 +00:00
firebirds
f79a00b91f nightly update 2012-03-15 04:50:08 +00:00
dimitr
7c14588baf Fixed CORE-3569: CHAR(32767) present in XSQLVAR with length 32765. The JRD part of the patch is not strictly required, as it's used exclusively for VARCHARs right now, but let's be protected for the unpredictable future. 2012-03-14 17:38:32 +00:00
dimitr
8080bb2100 Front-ported CORE-3553: Nested loop plan is chosen instead of the sort merge for joining independent streams using keys of different types. 2012-03-14 16:04:06 +00:00
dimitr
d6c745b83d Fixed CORE-2286: Selecting from MON$CALL_STACK within a Trigger or SP sometimes return 0 rows. 2012-03-14 15:26:06 +00:00
dimitr
05c27aa212 Integrated the jumping information natively into the index bucket.
WARNING: This is an ODS change, databases must be recreated.
2012-03-14 14:33:41 +00:00
dimitr
455c4c82d6 Front-ported CORE-3457: Optimize the temporary space manager regarding small chunk allocations. 2012-03-14 14:00:38 +00:00
alexpeshkoff
2f7c526728 Implemented CORE-3788: Make all utilities follow same rules when expanding database name 2012-03-14 08:46:27 +00:00
firebirds
481f9a5e0a nightly update 2012-03-14 04:49:29 +00:00
dimitr
4dffb2c624 Made the jump nodes unconditional. To be continued. 2012-03-13 10:31:28 +00:00
firebirds
4db9432168 nightly update 2012-03-12 04:50:36 +00:00
firebirds
ba298dab36 nightly update 2012-03-11 04:48:47 +00:00
asfernandes
1758b1fdbe Misc. 2012-03-10 15:37:52 +00:00
firebirds
e18c700024 nightly update 2012-03-08 04:48:58 +00:00
firebirds
e37f620b2a nightly update 2012-03-07 04:51:02 +00:00
firebirds
81a7fc42f9 nightly update 2012-03-06 04:50:49 +00:00
firebirds
9a937a915c nightly update 2012-03-05 04:49:21 +00:00
firebirds
c67b92967b nightly update 2012-03-04 04:48:33 +00:00
firebirds
67436c2787 nightly update 2012-03-03 04:51:09 +00:00
firebirds
7414160770 nightly update 2012-03-02 04:49:42 +00:00
hvlad
52f3ed895e Fixed Windows build 2012-03-01 18:18:46 +00:00
alexpeshkoff
4e795f4047 Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports. 2012-03-01 08:55:43 +00:00
alexpeshkoff
6e6c7bcbcd Fixed opening read-only databases on unix 2012-03-01 08:37:55 +00:00
firebirds
87cfc2f431 nightly update 2012-03-01 04:50:12 +00:00
firebirds
d5adf13a1e nightly update 2012-02-29 04:51:17 +00:00
alexpeshkoff
a2ac117fe6 Lock database file when opening it 2012-02-28 12:58:07 +00:00
alexpeshkoff
12cf01d608 Cleanup unneeded parameter (was used in nbackup, where PIO is replaced with OS function calls) 2012-02-28 11:08:30 +00:00
firebirds
84a9f44f80 nightly update 2012-02-28 04:54:44 +00:00
firebirds
7f0b49b7b5 nightly update 2012-02-27 04:48:16 +00:00
asfernandes
435666cea5 Misc. 2012-02-26 14:27:27 +00:00
firebirds
4ba40ac5cc nightly update 2012-02-26 04:49:58 +00:00
asfernandes
1198014fcf Renamed error constant/message by Alex request. 2012-02-25 13:55:04 +00:00
firebirds
5867b88107 nightly update 2012-02-25 04:49:52 +00:00
alexpeshkoff
acd923aabb No use in specially handling DBB_security_db when closing engine. Keep it commented for a while. 2012-02-24 12:27:36 +00:00
firebirds
c62013843c nightly update 2012-02-24 04:49:32 +00:00
firebirds
264d0160a0 nightly update 2012-02-23 04:53:56 +00:00
firebirds
87f1fbe961 nightly update 2012-02-22 04:49:20 +00:00
firebirds
15326a1a99 nightly update 2012-02-21 04:49:31 +00:00
asfernandes
07f2d7117e Misc. 2012-02-20 21:52:29 +00:00
firebirds
f4b6d3b6bf nightly update 2012-02-20 04:50:16 +00:00
firebirds
7128ab2d24 nightly update 2012-02-19 04:48:52 +00:00
asfernandes
df31dac958 Refactor GRANT and REVOKE commands. This eliminates the DYN subsystem. 2012-02-19 02:17:27 +00:00
firebirds
4b2e143307 nightly update 2012-02-16 04:50:47 +00:00
asfernandes
4ffb392c89 Warnings. 2012-02-16 01:11:27 +00:00
robocop
0b5ee78cb7 Make more members of blb private. 2012-02-15 07:13:41 +00:00
firebirds
8b9a83fb45 nightly update 2012-02-15 04:50:57 +00:00
robocop
843ebacf0a Include a new type of validation error: unknown blob type. 2012-02-15 03:44:17 +00:00
robocop
5d2a0118c0 I don't see the point in creating temporary strings in these cases. 2012-02-15 03:43:06 +00:00
robocop
eed418a89e Make blb resemble more a class: private data members, convert some functions into methods, add methods with code that was in other files, etc. 2012-02-15 03:34:21 +00:00
firebirds
d3b55da0d2 nightly update 2012-02-14 04:49:10 +00:00
firebirds
0f197ee416 nightly update 2012-02-13 04:49:15 +00:00
firebirds
8654cf08f3 nightly update 2012-02-12 04:49:31 +00:00
asfernandes
8963f176e7 Misc. 2012-02-11 14:34:13 +00:00
firebirds
fd32211f87 nightly update 2012-02-10 04:52:09 +00:00
dimitr
bcd483d173 This should resolve CORE-3753. 2012-02-09 07:38:51 +00:00
firebirds
2ed75f6d96 nightly update 2012-02-07 04:56:43 +00:00
robocop
49bf3a476d const 2012-02-07 03:33:32 +00:00
robocop
186c817caa Playing with fire: converting some static functions into member functions. I tried to check every change I did. 2012-02-07 03:17:52 +00:00
firebirds
af4d1d158a nightly update 2012-02-06 04:49:29 +00:00
firebirds
15fb0e1015 nightly update 2012-02-04 04:51:23 +00:00
asfernandes
27bb1f8bc1 1) Removed READ/WRITE BLOB sql commands. 2) Refactored request operations to fix server crashes. 2012-02-03 19:01:36 +00:00
firebirds
aba334d844 nightly update 2012-01-29 04:36:52 +00:00
asfernandes
e51ddc7a38 Misc. 2012-01-29 02:53:44 +00:00
firebirds
d7acef0194 nightly update 2012-01-28 04:37:08 +00:00
robocop
32712c2c40 Misc and cleanup 2012-01-27 09:10:12 +00:00
firebirds
e79325330f nightly update 2012-01-27 04:37:52 +00:00
dimitr
43898b2d41 I believe this flag is redundant as it duplicates the information already available on the index root page. 2012-01-26 07:38:14 +00:00
dimitr
104814f721 Slightly refactored the b-tree nodes. This commit includes cleaning up ods.h from the runtime (in memory) structures and encapsulating the b-tree nodes implementation inside their corresponding objects. To be continued. 2012-01-26 07:01:45 +00:00
firebirds
88e24d5ed9 nightly update 2012-01-26 04:36:48 +00:00
alexpeshkoff
d9fd86a645 Warning 2012-01-25 13:30:52 +00:00
firebirds
a87befaf15 nightly update 2012-01-25 04:39:27 +00:00
robocop
21cd78a0fd Cleanup: unused functions, parameters & variables. 2012-01-24 03:37:43 +00:00
firebirds
cdad33c2a6 nightly update 2012-01-24 03:21:35 +00:00
robocop
e498deb078 Totally misc. 2012-01-24 02:23:43 +00:00
asfernandes
a62c4b17d3 Fixed CORE-2457 - UNICODE_CI internal gds software consistency check. 2012-01-24 00:16:50 +00:00
firebirds
ccc264fa42 nightly update 2012-01-22 03:20:56 +00:00
asfernandes
8d5413ee98 Misc. 2012-01-22 01:10:58 +00:00
asfernandes
540da0d53f Misc. 2012-01-21 19:04:28 +00:00
firebirds
2868cc6cdd nightly update 2012-01-21 03:23:22 +00:00
dimitr
f0112290c6 Disallowed deletions from RDB$DATABASE. This fixes the only problematic part of CORE-3735: Unprivileged user can delete from RDB$DATABASE, RDB$COLLATIONS, RDB$CHARACTER_SETS. The implemented solution could be used to protect other system tables from direct modifications. 2012-01-20 10:23:31 +00:00
firebirds
901e906fe3 nightly update 2012-01-20 03:22:42 +00:00
asfernandes
ed3d7ed720 Misc. 2012-01-20 01:42:03 +00:00
alexpeshkoff
77d484a6da Fixed CORE-3736: WITH LOCK clause is allowed for users with read-only rights on some table, thus blocking others from updating this table 2012-01-19 15:11:32 +00:00
robocop
e2914070b9 Misc. 2012-01-19 04:54:39 +00:00
firebirds
fa672443a6 nightly update 2012-01-19 03:20:33 +00:00
firebirds
f2ad1c28e4 nightly update 2012-01-18 03:22:00 +00:00
firebirds
9aab135cde nightly update 2012-01-17 03:20:12 +00:00
firebirds
24569d7c08 nightly update 2012-01-14 03:23:52 +00:00
firebirds
651593479e nightly update 2012-01-13 03:23:35 +00:00
asfernandes
c3709b35a4 Fixed (hope!) CORE-1997 - Broken foreign key handling for multi-segmented index using multi-level collations. 2012-01-12 14:54:35 +00:00
firebirds
8a06045451 nightly update 2012-01-12 03:22:12 +00:00
dimitr
2be20979b1 Cleanup. 2012-01-11 07:48:52 +00:00
firebirds
1b02692faa nightly update 2012-01-11 03:23:28 +00:00
asfernandes
226bec97de Invert the RDB$PACKAGE_NAME segment in system indexes to make them usable in more cases. 2012-01-10 13:53:44 +00:00
dimitr
4af9803007 Slightly different fix for CORE-3722: IS NOT DISTINCT FROM NULL doesn't use index. 2012-01-10 13:15:09 +00:00
firebirds
424f5b7011 nightly update 2012-01-10 03:21:48 +00:00
dimitr
0e41945307 1) Made the functions logic in sync with the procedures one.
2) Simplified the privileges creation code.
2012-01-09 09:48:14 +00:00
dimitr
d1c2b8b2a2 More indices to avoid full table scans on system tables (this time during the column modification). 2012-01-09 08:57:51 +00:00
dimitr
808f4ebc59 Added a system index that helps to avoid a full table scan on RDB$PROCEDURE_PARAMETERS and RDB$FUNCTION_ARGUMENTS during domain deletion.
Also, simplified the system index definitions and removed the gaps in the ID numbering.
2012-01-09 08:41:52 +00:00
firebirds
efed07b549 nightly update 2012-01-09 03:22:53 +00:00
asfernandes
ac5713d843 Misc. 2012-01-09 00:08:58 +00:00
asfernandes
c44c548f8c Corrections and cleanup. 2012-01-09 00:08:33 +00:00
dimitr
69cede6f1a Refactored CREATE/ALTER USER. Untested at runtime. 2012-01-08 18:33:59 +00:00
dimitr
e956e2e6c0 1) Restricted ALTER/DROP permissions to the object owners only. Now this applies to domains, charsets, collations, generators and exceptions. This fixes CORE-304: Metadata security hole - any user can alter/drop generators and exceptions.
2) Opened the gates to implement the standard USAGE privilege (CORE-2884). SQL support and validation logic are still to be developed.
3) Added the grant option to the owner permissions for packages, procedures and functions.
4) Misc cleanup and refactoring.
2012-01-08 14:05:29 +00:00
dimitr
ea73eb8935 Misc. 2012-01-08 09:40:58 +00:00
firebirds
f5f8a27a7d nightly update 2012-01-07 03:21:50 +00:00