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
Dmitry Yemanov
decab0d0b4
Fix page numbers datatype + misc cleanup & adjustments.
2016-05-15 12:41:44 +03:00
firebirds
5d39f5fb7d
increment build number
2016-05-15 00:02:41 +00:00
Roman Simakov
d378769ccc
Fixed showing grants in show role
2016-05-14 18:33:18 +03:00
Dmitry Yemanov
15bd0c311a
Merge pull request #26 from redsoftbiz/fix_show_grants2
...
Fixed show grants <rolename> for cumulative roles
2016-05-14 07:51:37 +03:00
firebirds
f603860cb9
increment build number
2016-05-14 00:02:50 +00:00
Roman Simakov
dd3f0c6b57
Fixed show grants <rolename> for cumulative roles
2016-05-13 22:04:56 +03:00
Roman Simakov
352591aaf0
Fixed output of show grants ( #25 )
2016-05-13 16:03:19 +03:00
firebirds
13ad68de93
increment build number
2016-05-13 00:02:41 +00:00
Roman Simakov
238fff3a2d
Fixed CORE-1815: Ability to grant role to another role ( #23 )
...
* Initial patch for cumulative roles
* Fixed multiple records in USER_PRIVILEGES and reworked logic on additional grant default role and admin option
2016-05-12 17:03:54 +03:00
Adriano dos Santos Fernandes
ab49785f7a
Fixed problems reported by PVS-Studio - http://www.viva64.com/en/b/0396/
2016-05-12 08:31:12 -03:00
hvlad
07b8cde474
Refactor relation protection routines into a class.
...
Alex, please review changes related with DFW_reset_icu.
2016-05-12 14:05:29 +03:00
hvlad
c95aaf9300
Place expression index support routines where it should be.
...
Add protection from changes while expression index is built.
Remove PCMET module.
2016-05-12 14:03:01 +03:00
firebirds
6f0544d54a
increment build number
2016-05-12 00:02:41 +00:00
Adriano dos Santos Fernandes
c31769c46a
Fixed problems reported by PVS-Studio - http://www.viva64.com/en/b/0396/
2016-05-11 13:16:24 -03:00
firebirds
986c37303b
increment build number
2016-05-11 00:02:46 +00:00
Dmitry Yemanov
170656443c
Postfixes for CORE-2192, thanks to Pavel Zotov.
2016-05-10 10:44:30 +03:00
Dmitry Yemanov
f2d0b64ba2
Misc adjustments after CORE-5232 and more encapsulation for the Lock
...
class.
2016-05-10 10:44:30 +03:00
firebirds
67bf1deb4c
increment build number
2016-05-10 00:02:37 +00:00
Adriano dos Santos Fernandes
82b18b30f2
Misc.
2016-05-08 23:05:39 -03:00
firebirds
41d8b9ec55
increment build number
2016-05-09 00:02:43 +00:00
Dmitry Yemanov
64fa4d3c59
Merge pull request #21 from jrtc27/lock-big-endian
...
Fix locking on big-endian architectures
2016-05-08 19:19:30 +03:00
firebirds
4d8d85836f
increment build number
2016-05-08 00:02:41 +00:00
James Clarke
0dc0a4b595
Fix locking on big-endian architectures
...
4e4d8002e5
extended locks to have 64-bit
keys in most cases, but some were left as 32-bit. However, code using
these 32-bit locks assumed that the significant bytes of the key's long
value started from lck_string[0], which is false on big-endian
architectures. This commit adds Lock::getKeyString(), which gets a
pointer to the first used byte of lck_string, and should be used in
place of accessing lck_string directly.
2016-05-07 22:09:09 +01:00
Adriano dos Santos Fernandes
1ace1b49ce
Regenerate files.
2016-05-06 22:31:20 -03:00
firebirds
c48c816049
increment build number
2016-05-07 00:02:46 +00:00
Dmitry Yemanov
8186c1e40b
CORE-2192: Extend maximum database page size to 32KB. All underlying
...
changes were already implemented during the v3 development.
2016-05-07 00:16:37 +03:00
Dmitry Yemanov
522f4c09bd
Switch to 64-bit savepoint numbers as a straightforward solution for
...
CORE-5228 (Restore may hang if the database contains more than 4 billion
records).
2016-05-06 23:18:36 +03:00
Dmitry Yemanov
3b7b3161fb
Bugfix CORE-5226.
2016-05-06 20:19:04 +03:00
Dmitry Yemanov
174c252e0c
Major refactoring of savepoints. Beware of possible regressions.
2016-05-06 20:16:14 +03:00
8967b64c20
Use symbolic name for current dir
2016-05-06 12:15:15 +02:00
Dmitry Yemanov
a5fcb82173
Merge pull request #18 from mkubecek/mk/4.0/gcc6
...
mk/4.0/gcc6
2016-05-06 11:37:26 +03:00
Michal Kubecek
13aa5420f2
Allow to enforce IPv4 or IPv6 in URL-like connection string.
2016-05-04 21:38:36 +02:00
firebirds
535a0e5204
increment build number
2016-05-03 00:03:01 +00:00
Dmitry Yemanov
7e0c287412
Bugfix CORE-5224: Transaction id tags for services API do not support
...
new 48 bit transaction ids.
2016-05-02 09:28:25 +03:00
firebirds
a82dc91e82
increment build number
2016-05-01 00:02:49 +00:00
086c479a4c
Fix CORE-5223
2016-04-30 18:03:00 +02:00
Dmitry Yemanov
d1d8b36a07
Prevent stack trace (line/column info) from overriding the real error's
...
SQLSTATE.
2016-04-30 18:15:24 +03:00
Dmitry Yemanov
34399c1bf4
Bugfix CORE-5222: SELECT WITH LOCK may raise unexpected update conflict
...
errors under concurrent load.
2016-04-30 17:12:01 +03:00
firebirds
3b0ee41625
increment build number
2016-04-30 00:04:36 +00:00
Adriano dos Santos Fernandes
1f6e7e83d1
Postfix for CORE-5220.
2016-04-29 13:39:10 -03:00
Adriano dos Santos Fernandes
d1d0cac0b0
Fixed CORE-5220 - ISQL -X: double quotes are missed for COLLATE <C> of CREATE DOMAIN statement when <C> is from any non-ascii charset.
2016-04-29 13:33:34 -03:00
firebirds
9042343c61
increment build number
2016-04-29 00:02:42 +00:00
Michal Kubecek
2c10d58231
Misc - fix misleading indentation
2016-04-28 22:19:54 +02:00
Dmitry Yemanov
5df083273b
Correction, as per Sean's comment.
2016-04-28 22:06:40 +03:00
Dmitry Yemanov
c88f659b2d
Fix CORE-5217 and CORE-5218 with one shot.
2016-04-28 20:23:39 +03:00
Michal Kubecek
038f9fbf55
Provide sized global delete operators when compiled in C++14 mode
2016-04-28 16:20:47 +02:00
Dmitry Yemanov
1d2eed6f24
CORE-5216: Provide location context (line/column numbers) for runtime
...
errors raised inside EXECUTE BLOCK.
2016-04-28 15:38:15 +03:00
firebirds
dcfcd3e94a
increment build number
2016-04-27 00:02:41 +00:00
Dmitry Yemanov
d3e5237844
Postfix for CORE-5183. Thanks to Adriano for assistance.
2016-04-26 19:37:42 +03:00
hvlad
3c80ce03c2
Fixed bug CORE-5120 : Firebird 3.0 + fbclient 3.0 - POST_EVENT won't work
2016-04-26 19:01:30 +03:00