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

47396 Commits

Author SHA1 Message Date
fa9f723cce Minor diagnostics cleanup 2016-07-28 15:19:39 +03:00
firebirds
8df890c52c increment build number 2016-07-27 00:02:19 +00:00
Adriano dos Santos Fernandes
600b40883a Postfix for rework on CORE-5277 to avoid CORE-5304 regression (0d46c91).
CORE-5277 - Parameters with multibyte character sets allow to bypass the character limit of varchar fields.
CORE-5304 - Regression: Can not restore database with table contains field CHAR(n) and UTF8 character set.
2016-07-26 13:23:27 -03:00
firebirds
5fd5021ea3 increment build number 2016-07-25 00:02:18 +00:00
Dmitry Yemanov
6d70adfc97 Fix a couple of issues with transaction numbers. 2016-07-24 11:22:07 +03:00
firebirds
73c6ac00a7 increment build number 2016-07-24 00:02:19 +00:00
a81d583845 Fixed CORE-5291: Error messages differ when regular user tries to RESTORE database, depending on his default role and (perhaps) system privilege USE_GBAK_UTILITY 2016-07-23 15:07:11 +03:00
firebirds
da48b92446 increment build number 2016-07-23 00:02:18 +00:00
Dmitry Yemanov
76899617d1 Attempting to fix a new incarnation of the infinite loop inside the
CrossJoin ctor.
2016-07-22 20:08:52 +03:00
firebirds
c2665b0683 increment build number 2016-07-22 00:02:55 +00:00
efcd63bbab cleanup 2016-07-21 20:41:16 +03:00
1ee0e9c571 Test repository access rights 2016-07-21 20:14:20 +04:00
firebirds
066af4665e increment build number 2016-07-18 00:02:47 +00:00
Adriano dos Santos Fernandes
e192e9e70f Fixed CORE-5313 - Data type unknown error with LIST. 2016-07-17 20:42:47 -03:00
firebirds
e98b886fc9 increment build number 2016-07-17 00:02:55 +00:00
Adriano dos Santos Fernandes
24df7c3d9c Remove hability to overflow declared character length in legacy multibyte charsets. 2016-07-16 15:46:54 -03:00
firebirds
244d996035 increment build number 2016-07-16 00:03:10 +00:00
f06a8c30a9 Code cleanup 2016-07-15 18:46:44 +03:00
97afe43dc3 Fixed CORE-5264: To unlock a raw device DB is not working. 2016-07-15 18:05:24 +03:00
firebirds
4d53676261 increment build number 2016-07-15 00:03:01 +00:00
Dmitry Yemanov
f91cce98b9 Postfix for Adriano's commit. 2016-07-14 13:00:30 +03:00
firebirds
b8302acff3 increment build number 2016-07-14 00:02:59 +00:00
Adriano dos Santos Fernandes
36e4fa9461 Rework on CORE-5277 to avoid CORE-5304 regression.
CORE-5277 - Parameters with multibyte character sets allow to bypass the character limit of varchar fields.
CORE-5304 - Regression: Can not restore database with table contains field CHAR(n) and UTF8 character set.
2016-07-13 16:28:45 -03:00
Adriano dos Santos Fernandes
14ca252891 Allow to use the BULK_INSERT hack with others commands. 2016-07-13 16:28:45 -03:00
Dmitry Yemanov
4759ea8aa3 Bugfix for CORE-5307: Random 'invalid transaction handle' errors are returned from the engine. 2016-07-13 18:48:12 +03:00
72535dc120 Fixed CORE-5308: ISQL hangs in BLOBVIEW command 2016-07-13 13:05:51 +03:00
firebirds
8cfc297ccf increment build number 2016-07-12 00:02:54 +00:00
Dmitry Yemanov
614489e3e0 Postfix for CORE-5277: zero-initialize strings allocated for (? IS NULL) parameters to avoid garbage being read while validating the length. 2016-07-11 13:31:45 +03:00
cccf76695c Style - thanks to Adriano 2016-07-11 12:18:48 +03:00
44e97a7a73 Fixed CORE-5284: Firebird fails to build with USE_VALGRIND 2016-07-11 12:09:57 +03:00
Adriano dos Santos Fernandes
8962c089bb Misc. 2016-07-10 22:51:02 -03:00
firebirds
609111ba32 increment build number 2016-07-10 00:02:54 +00:00
Dmitry Yemanov
373c4599d3 Extend variable value in MON$CONTEXT_VARIABLES up to the possible
maximum (32765 bytes). This resolves CORE-5246: String truncation error
while selecting from MON$ tables if some user-defined context variable
exceeds 255 bytes in length.
2016-07-09 12:24:26 +03:00
firebirds
ec7cbdf4ef increment build number 2016-07-09 00:03:42 +00:00
Dmitry Yemanov
118a78e6e6 Bugfix CORE-5236: IN/ANY/ALL predicates may cause sub-optimal (late
filtering) execution of joins.
2016-07-09 01:14:50 +03:00
firebirds
e9bed7154e increment build number 2016-07-08 00:02:51 +00:00
Roman Simakov
195517cc7a Make restore RDB$GRANT_OPTION more correct 2016-07-07 16:23:49 +03:00
4d82f78976 Make it build again 2016-07-07 15:38:12 +03:00
hvlad
a75e0af175 Fixed bug CORE-5302 : Performance regression when bulk inserting into table with indices 2016-07-07 15:35:33 +03:00
Roman Simakov
e10553e714 Fixed check of NULL for RDB by backup of user privileges 2016-07-07 14:09:00 +03:00
firebirds
7c6430255b increment build number 2016-07-07 00:03:10 +00:00
hvlad
a12035d461 Remove not necessary sync points - dbb_threads_sync 2016-07-06 16:16:22 +03:00
hvlad
d6fae697a3 Remove not necessary sync points - dbb_lck_sync 2016-07-06 16:08:11 +03:00
hvlad
1276907d30 Follow Alex recent commit (updated internal memleaks search tool) - Windows part 2016-07-06 11:29:12 +03:00
firebirds
2fff52f09f increment build number 2016-07-06 00:02:58 +00:00
ee105ddfe6 Fixed CORE-5294: Memory leak when use SHOW GRANTS on new empty database (3.0.1 & 4.0; SS & SC), also updated internal memleaks search tool 2016-07-05 15:04:27 +03:00
firebirds
0727566164 increment build number 2016-07-01 00:02:59 +00:00
3faddd1a44 Fix hardware CRC calculation for data with length 4x+1 2016-06-30 20:37:30 +02:00
Dmitry Yemanov
9c28f6188a Bugfix for CORE-5154: Services API don't work with non-ascii database names (ported from aafemt/firebird). Also add some missing tags that might require transliteration. 2016-06-30 09:56:33 +03:00
firebirds
953affa94d increment build number 2016-06-30 00:03:01 +00:00
Dmitry Yemanov
53630eb84e Merge pull request #29 from aafemt/CORE-5252
Fix CORE-5252
2016-06-29 23:19:39 +03:00
Adriano dos Santos Fernandes
92218e4f82 Misc. 2016-06-29 15:02:38 -03:00
Adriano dos Santos Fernandes
0bd8fd6bb2 Features CORE-3616, CORE-3617, CORE-3618.
- CORE-3616 - Window Function: percent_rank()
- CORE-3617 - Window Function: cume_dist()
- CORE-3618 - Window Function: ntile(num_buckets integer)
2016-06-29 14:22:51 -03:00
Adriano dos Santos Fernandes
e367ede9f4 Corrections. 2016-06-29 14:21:47 -03:00
129c43b0bc Fixed CORE-5292: Database corrupted when trying to encrypt it but appropriate key is missing 2016-06-29 20:15:49 +03:00
Adriano dos Santos Fernandes
26895605f4 Merge branch 'new_window_functions' of git://github.com/nakagami/firebird into new-window-functions 2016-06-29 12:26:45 -03:00
Adriano dos Santos Fernandes
3c9df93939 Refactor window functions to support new types of functions. 2016-06-29 11:20:55 -03:00
056164ab95 Fixed CORE-5296: Error in network protocol when performing callback to client for database crypt key 2016-06-29 13:41:03 +03:00
firebirds
6e6dfd4987 increment build number 2016-06-29 00:02:56 +00:00
hvlad
6c1fb82629 Additional fix for CORE-4645, thanks to Dmitry 2016-06-28 14:47:00 +03:00
hvlad
2b58717ee4 Fixed bug CORE-5295 : Validation could read after the end-of-file when handle multifile database 2016-06-28 13:06:04 +03:00
firebirds
f058f8d6e5 increment build number 2016-06-23 00:03:39 +00:00
hvlad
b5d150e56a Optimize run-time stats collection a bit 2016-06-23 00:30:47 +03:00
hvlad
9d09321b80 Fixed bug CORE-5289 : Small memory leak when resultset is empty 2016-06-22 12:18:51 +03:00
firebirds
731f328dda increment build number 2016-06-21 00:02:53 +00:00
5cf6d59891 Fixed CORE-5285: Segfault when attachment is closed before it's request/statement/etc. 2016-06-20 13:09:40 +03:00
3bece52e69 Fix for crash during test bugs.core_3008 (#37) 2016-06-20 12:33:11 +03:00
firebirds
ffeea09e7d increment build number 2016-06-19 00:03:10 +00:00
Dmitry Yemanov
0229709101 Bugfix for CORE-5275: Expression index may become inconsistent if CREATE
INDEX was interrupted after b-tree creation but before commiting.
2016-06-18 15:57:25 +03:00
19254eff81 Fixed CORE-5279: Granting access rights to view is broken 2016-06-18 10:30:43 +03:00
firebirds
e918d0c2da increment build number 2016-06-18 00:03:11 +00:00
Adriano dos Santos Fernandes
5e3fd2d5a2 Postfix for CORE-5277 - It's probably better to first check for well-formed data before calculat ethe length. 2016-06-17 11:08:30 +00:00
Adriano dos Santos Fernandes
234e25f078 Fixed CORE-5277 - Parameters with multibyte character sets allow to bypass the character limit of varchar fields. 2016-06-17 11:03:33 +00:00
firebirds
21a0af48a7 increment build number 2016-06-16 00:03:49 +00:00
1c920ac578 Fixed CORE-5278: A number of SPB parameters fail in FB 3 & 4 2016-06-15 19:16:29 +03:00
hvlad
e37cea3e6a Fixed bug CORE-5273 : Crash when attempt to create database with running trace 2016-06-15 18:10:12 +03:00
firebirds
2b4a1dc615 increment build number 2016-06-15 00:03:54 +00:00
2b72824684 Postfix for DY refactoring that leaded to loop in savepoint chain 2016-06-14 19:28:27 +02:00
Adriano dos Santos Fernandes
91a2a3c78f Complements CORE-749 with configuration options. 2016-06-14 17:05:36 +00:00
d042f60ed7 Fix CORE-5252 2016-06-14 19:03:14 +02:00
firebirds
3e4fdba74a increment build number 2016-06-14 00:02:50 +00:00
Adriano dos Santos Fernandes
fc95191875 Decrease the length to 63 to avoid BLR problems (CORE-749) - per Dmitry comment in fbdevel. 2016-06-13 16:02:52 +00:00
firebirds
869f6c7c3c increment build number 2016-06-13 00:02:59 +00:00
Adriano dos Santos Fernandes
b987958946 Changed UCharBuffer to Array<UCHAR> to be correct. 2016-06-12 19:45:53 -03:00
Adriano dos Santos Fernandes
f1a8f5a8e3 Merge branch 'met-unaligned-access' of git://github.com/jrtc27/firebird into jrtc27-met-unaligned-access 2016-06-12 19:45:34 -03:00
firebirds
52eb7b90cb increment build number 2016-06-12 00:03:04 +00:00
8830bfb558 Postfix for #24 that fixes CORE-5271 2016-06-11 18:37:14 +02:00
firebirds
f4a30f5512 increment build number 2016-06-11 00:02:58 +00:00
Adriano dos Santos Fernandes
e69a823efa Improvement CORE-749 - Increase maximum length of object names to 64 characters. 2016-06-10 16:41:22 +00:00
fc1ebda20e Fix for CORE-5237 and excessive config cache invalidation (#24)
* Fix for CORE-5237 and excessive config cache invalidation

* Use named constants instead of magic numbers. Ignore backslash on POSIX.
2016-06-10 17:42:40 +03:00
a742e7d624 Fixed CORE-5225: Authentication end with first plugin that has the user but auth fails; should continue with next plugin 2016-06-10 17:18:04 +03:00
Dmitry Yemanov
ef9cc3f99f Fix CORE-5268: Nested OR conditions may lead to incorrest results 2016-06-10 15:22:03 +03:00
firebirds
b79b66ab9c increment build number 2016-06-10 00:03:12 +00:00
James Clarke
dc2718ae0b Fixed CORE-5233: Fix unaligned memory access in MET_format 2016-06-09 20:44:08 +01:00
78354c80f4 Committed patch from Damyan Ivanov - fixed spelling in messages 2016-06-09 18:13:03 +03:00
Adriano dos Santos Fernandes
c07101e929 Misc. 2016-06-08 21:50:01 -03:00
firebirds
e6a259b809 increment build number 2016-06-07 00:02:48 +00:00
644e2777aa Added license to new file 2016-06-06 18:18:32 +03:00
1a4f58bc85 Optimize system privilege check - move permanent job to compile phase 2016-06-06 17:54:12 +03:00
d0ee4b27cb Make it static - thanks to Adriano 2016-06-06 15:01:48 +03:00
Dmitry Yemanov
54f89c276c Adjustments for engine13. MONITOR_FILE does not need to include the
engine number, it's a per-database mapping.
2016-06-06 11:07:53 +03:00
firebirds
bc164e7e69 increment build number 2016-06-04 00:03:17 +00:00
88748bd890 Fixed CORE-5213 2016-06-03 15:52:46 +03:00
firebirds
f9985fca79 increment build number 2016-06-03 00:02:41 +00:00
hvlad
11b0bf7db8 Improvement CORE-5257 : Enable nested keys in plugin configuration 2016-06-03 01:00:16 +03:00
Roman Simakov
1597188f4d Fixed windows build 2016-06-02 17:26:51 +03:00
Dmitry Yemanov
337ef7707d Adjust docs and CMake build re. new engine name. 2016-06-01 12:04:09 +03:00
Dmitry Yemanov
3232eb8c50 Postfix for the new library name. 2016-06-01 11:55:39 +03:00
Dmitry Yemanov
dd9e32b2a4 Bump ODS version to 13.0 for FB4. 2016-06-01 10:48:13 +03:00
Dmitry Yemanov
217cffe103 Fix non-reserved flag and move the new non-reserved tokens to their
proper place at the end of the list.
2016-05-31 21:05:41 +03:00
Dmitry Yemanov
ea906adfd0 Remove unused (since v3) token/parser versioning. This was a big source
of confusion during the past years.
2016-05-31 20:54:04 +03:00
7ad99b795e Added support for system privileges 2016-05-31 20:07:08 +03:00
hvlad
70e3848eeb Fix build error 2016-05-31 18:29:34 +03:00
hvlad
1a6b7740db Better usage of lock guards 2016-05-31 18:23:55 +03:00
hvlad
eb5c0123c7 Little optimization 2016-05-31 18:20:01 +03:00
Dmitry Starodubov
ef5fecf545 Fixed pointers style 2016-05-31 15:07:12 +03:00
Dmitry Yemanov
c35662af03 Merge pull request #31 from aafemt/CORE-5223
Postfix for CORE-5223: root is lost on POSIX
2016-05-31 10:25:58 +03:00
firebirds
0fbd406e4a increment build number 2016-05-31 00:02:37 +00:00
Dmitry Starodubov
6347882209 Simplified passing variables to sub-make. Move functions from "fb_io" namespace to "os_utils" (#30) 2016-05-30 17:50:02 +03:00
af81c6ba46 Postfix for CORE-5223: root is lost on POSIX 2016-05-30 16:10:21 +02:00
firebirds
4b6a4b1d55 increment build number 2016-05-28 00:02:40 +00:00
Roman Simakov
651334272f Added constants for GRANT and ADMIN OPTIONS 2016-05-27 17:26:47 +03:00
firebirds
6c631a0074 increment build number 2016-05-27 00:02:38 +00:00
Adriano dos Santos Fernandes
d7944df661 Misc. 2016-05-26 15:06:18 -03:00
Adriano dos Santos Fernandes
fbba8ad798 Misc. 2016-05-26 14:59:03 -03:00
Adriano dos Santos Fernandes
721a168477 Correction. 2016-05-26 14:58:23 -03:00
Adriano dos Santos Fernandes
f0cc315a53 Misc. 2016-05-26 13:21:14 -03:00
Adriano dos Santos Fernandes
52575b896a Looks like one wanted to partially change our code conventions. 2016-05-26 13:20:44 -03:00
Adriano dos Santos Fernandes
235ed2d1e1 Misc. 2016-05-26 12:37:23 -03:00
firebirds
9c86b067c0 increment build number 2016-05-26 00:02:47 +00:00
Dmitry Starodubov
c3722be6de Added LSB compliance (#28) 2016-05-25 15:14:01 +03:00
firebirds
6cef0ffa19 increment build number 2016-05-24 00:02:41 +00:00
58e8a3210f Fixed CORE-5249: Incorrect use of readlink() system call 2016-05-23 12:18:44 +03:00
firebirds
7cd3457501 increment build number 2016-05-19 00:02:41 +00:00
hvlad
619cec5427 Correction, as Dmitry suggests. 2016-05-19 00:12:50 +03:00
hvlad
db6debb072 Fixed bug CORE-5234 : Access violation on UDF crashes server 2016-05-18 19:07:47 +03:00
6b4a5c9b15 Fixed CORE-5244: Wrong error message when trying to execute SELECT statement using isc_dsql_execute_immediate 2016-05-18 18:27:31 +03:00
dmitry-starodubov
d81d9a648e Fixed possible buffer overflow when reading /etc/mtab (#27) 2016-05-18 11:47:52 +03:00
firebirds
7d3424d27b increment build number 2016-05-17 00:02:47 +00:00
Dmitry Yemanov
9f3a0095e7 This should fix CORE-5241 (Affected rows are not counted for some update
operations with views). Old hacks are not actual these days.
2016-05-16 19:07:45 +03:00
Roman Simakov
1b73df27fc Fixed re-add privilege after revoking of default role 2016-05-16 17:19:43 +03:00
Dmitry Yemanov
6a6eb3c554 Fix CORE-5231 (EXECUTE STATEMENT: BLR error if more than 256 output
parameters exist).
2016-05-16 13:03:29 +03:00
Dmitry Yemanov
4690eb6a0d Misc adjustments/renaming/comments based on Vlad's feedback. 2016-05-16 11:31:13 +03:00
firebirds
4653b6b80a increment build number 2016-05-16 00:02:47 +00:00
Dmitry Yemanov
dc52507399 Fix request savepoint stack handling when tx-level savepoint was already
dropped.
2016-05-15 23:17:28 +03:00
Dmitry Yemanov
d68d4facc4 Merge pull request #19 from aafemt/CORE-5223
Fix CORE-5223
2016-05-15 22:39:17 +03:00
Dmitry Yemanov
df0633a61c Correction. 2016-05-15 18:52:42 +03:00
Dmitry Yemanov
46a7d66246 Change the savepoint start function, as suggested by Dimitry Sibiryakov. 2016-05-15 18:51:55 +03:00
Dmitry Yemanov
fbd7bd86da Add missing index depth protection during index creatiion + new error
code/message.
2016-05-15 16:07:44 +03:00
Dmitry Yemanov
08c42cb080 Rework fast_load() local structures to achieve a clearer code. Reduce
number of runtime allocations. Restore the original (before MAX_KEY
increase) stack requirements.
2016-05-15 12:41:45 +03:00