hvlad
416b61b5b6
Fixed one more case of bug CORE-5087 : Database shutdown can cause server crash if multiple attachments run EXECUTE STATEMENT
2020-06-17 11:09:58 +03:00
hvlad
1aa3d4de79
Global cache of system privs names should not use per-dbb dictionary.
2020-06-17 11:09:57 +03:00
firebirds
ae2870e987
increment build number
2020-06-17 00:04:43 +00:00
Alexander Peshkov
cb6fee68eb
Small meta name ( #271 )
...
Keep metadata name strings in hash table having just a pointer to a hash table member in all places where metadata name is needed in order to save RAM. Hash table of metadata names is almost lock-less: mutex is used only when new segment of memory is needed or hash table should be grown.
Co-authored-by: hvlad <hvlad@users.sourceforge.net>
2020-06-16 19:22:15 +03:00
firebirds
0d9511f4ef
increment build number
2020-06-16 00:04:44 +00:00
AlexPeshkoff
f9603e83cc
Fixed CORE-6334: Missing relocation support
2020-06-15 20:09:36 +03:00
Dmitry Yemanov
82b2b2188e
Refactored the code backing DBKEY concatenation for views. Re-attempted to fix CORE-4985: Non-privileged user can implicitly count records in a restricted table.
2020-06-15 19:25:35 +03:00
firebirds
4782e44b32
increment build number
2020-06-15 00:04:48 +00:00
Adriano dos Santos Fernandes
c9ca093b46
Remove garbage commited.
2020-06-14 18:00:57 -03:00
2401b66e9e
Receive features list from a real provider ( #266 )
...
* Receive features list from a real provider
* Prevent statement caching if the provider doesn't support it
* Changes requested by Dmitry Yemanov
2020-06-14 20:01:53 +03:00
hvlad
e7ac0c0a9b
Fixed random conversion errors (FBT test "functional.gtcs.cast-datatypes" failed sometimes).
2020-06-13 14:21:07 +03:00
firebirds
bb60e14c32
increment build number
2020-06-12 00:04:35 +00:00
Adriano dos Santos Fernandes
1951362a73
Improve allocation of request impure space, specially statements, to not waste alignment space (CORE-6330).
2020-06-11 14:28:11 -03:00
Adriano dos Santos Fernandes
98054a2093
Fixed CORE-6331 - Memory leak with some statements and expressions.
2020-06-11 14:27:59 -03:00
Adriano dos Santos Fernandes
c57c4fc1c2
Update generated files.
2020-06-11 11:52:25 -03:00
firebirds
1d949a5485
increment build number
2020-06-11 00:04:45 +00:00
hvlad
5f43ab808d
This should fix unregistered bug : connection timeout doesn't work for INET if remote side is not answered on op_connect packet
2020-06-10 21:34:27 +03:00
hvlad
876791ed40
Correction
2020-06-10 21:26:49 +03:00
hvlad
d46b1e0d6a
Generate correct VERSION numbers at implementation section.
2020-06-10 16:43:53 +03:00
firebirds
68b570c0d6
increment build number
2020-06-10 00:04:49 +00:00
hvlad
b3d12b9902
Fixed AV (pure virtual call) in EDS::Transaction::rollback when engine shuts down.
2020-06-09 12:45:33 +03:00
hvlad
5b8ef34a96
Fixed assert in Statement::freeClientData().
2020-06-09 12:16:44 +03:00
firebirds
c8ef67f105
increment build number
2020-06-09 00:04:34 +00:00
Adriano dos Santos Fernandes
a7368588e6
Fix MacOS build.
2020-06-08 09:06:47 -03:00
Adriano dos Santos Fernandes
b0d2b71c9c
Protect static field NullNode::INSTANCE as suggested by Dmitry.
2020-06-07 21:58:33 -03:00
Adriano dos Santos Fernandes
b34e20493f
Improve statement memory consumption using better alignment and enum storage size.
2020-06-07 21:58:32 -03:00
Adriano dos Santos Fernandes
734bca7a4f
Improve statement memory consumption removing the type from the nodes, adding as virtual method to the vtable.
2020-06-07 21:58:31 -03:00
Adriano dos Santos Fernandes
c4889de9ac
Misc.
2020-06-07 21:58:30 -03:00
Adriano dos Santos Fernandes
58da72a5a4
Improve request memory consumption avoiding unnecessary allocation of impure space for some nodes.
2020-06-07 21:58:29 -03:00
Adriano dos Santos Fernandes
cdd35c17ca
Fixed CORE-6325 - NTILE may cause problems in big statements.
2020-06-07 21:58:14 -03:00
firebirds
eb2c21023d
increment build number
2020-06-08 00:04:12 +00:00
hvlad
b7c00f7100
Additional fix for CORE-2274 : MERGE non-standard behaviour, accepts multiple matches.
...
Take into account naturally updatable VIEW WITH CHECK OPTION.
Thanks to Pavel Zotov.
2020-06-07 15:21:12 +03:00
firebirds
6141d3b7d3
increment build number
2020-06-07 00:05:03 +00:00
Dmitry Yemanov
a53c6db88e
Rollback my fix for CORE-4985 doe to found regression
2020-06-06 10:18:29 +03:00
Adriano dos Santos Fernandes
0da3d6855d
Improve statement memory consumption using single NullNode instance.
2020-06-05 23:05:42 -03:00
firebirds
030d963b35
increment build number
2020-06-06 00:04:25 +00:00
Adriano dos Santos Fernandes
7806ad34df
Use std::initializer_list in RegisterNode to avoid multiple variable registration for each node.
2020-06-05 13:57:46 -03:00
Adriano dos Santos Fernandes
24359455ff
Improve Node memory consumption.
2020-06-04 23:05:55 -03:00
Adriano dos Santos Fernandes
5a6ec09552
Correction: remove duplicate field present in base class.
2020-06-04 23:05:55 -03:00
firebirds
f3462219d9
increment build number
2020-06-05 00:04:58 +00:00
Dmitry Yemanov
5ec0e6fd2f
Fixed the build
2020-06-04 10:48:58 +03:00
Dmitry Yemanov
9032a60aee
Frontported CORE-6323: File-system ID may be duplicated among databases located on different volumes
2020-06-04 10:24:27 +03:00
Adriano dos Santos Fernandes
995a4badeb
Resolve some warnings with for each.
2020-06-03 21:40:44 -03:00
firebirds
81f74562d7
increment build number
2020-06-04 00:04:48 +00:00
Dmitry Yemanov
20f6f76802
Attempted to remove some warnings
2020-06-03 09:44:01 +03:00
Dmitry Yemanov
34cb7c8c25
Refactoring: simplify the rescheduling usage
2020-06-03 09:44:01 +03:00
hvlad
bea124b133
Fixed DEBUG build
2020-06-02 21:04:54 +03:00
hvlad
eda1b74220
Let TouchFile store full path to the file, not pointer to the on-stack variable.
...
Thanks to Ilya Eremin.
2020-06-02 18:32:12 +03:00
hvlad
62c1b17f01
Revert back pure-virtual declarations.
2020-06-02 15:40:07 +03:00
hvlad
798c51fba0
Implemented methods should not be marked as pure-virtual.
...
Lets print impureOffset for StmtNode.
2020-06-02 14:24:42 +03:00