Skip to content

Commit 5df7d8f

Browse files
authored
Introduce ODS 14 for v6 (#8208)
* Introduce ODS 14 for v6 * Builds/docs changes for ODS14
1 parent 68a740e commit 5df7d8f

File tree

13 files changed

+37
-30
lines changed

13 files changed

+37
-30
lines changed

builds/install/arch-specific/android/BuildFinalPackage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ $ANDROID_HOME/platform-tools/adb -s $AndroidDeviceName shell "rm -rf $AndroidDir
4343
$ANDROID_HOME/platform-tools/adb -s $AndroidDeviceName shell "mkdir $AndroidDir"
4444
$ANDROID_HOME/platform-tools/adb -s $AndroidDeviceName push gen/$InitialDebugTar $AndroidDir/
4545
$ANDROID_HOME/platform-tools/adb -s $AndroidDeviceName shell "(cd $AndroidDir && tar xvf $InitialDebugTar)"
46-
$ANDROID_HOME/platform-tools/adb -s $AndroidDeviceName shell "(cd $AndroidDir/firebird && ./common_test --log_level=all && ./libEngine13_test --log_level=all)"
46+
$ANDROID_HOME/platform-tools/adb -s $AndroidDeviceName shell "(cd $AndroidDir/firebird && ./common_test --log_level=all && ./libEngine14_test --log_level=all)"
4747
$ANDROID_HOME/platform-tools/adb -s $AndroidDeviceName shell "(cd $AndroidDir/firebird && ./AfterUntar.sh)"
4848
$ANDROID_HOME/platform-tools/adb -s $AndroidDeviceName pull $AndroidDir/firebird/firebird.msg gen/Release/firebird/
4949
$ANDROID_HOME/platform-tools/adb -s $AndroidDeviceName pull $AndroidDir/firebird/security6.fdb gen/Release/firebird/

builds/install/misc/firebird.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@
530530
#
531531
# Per-database & per-connection configurable.
532532
#
533-
#Providers = Remote,Engine13,Loopback
533+
#Providers = Remote,Engine14,Loopback
534534

535535

536536
# ----------------------------

builds/win32/msvc15/engine.vcxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@
151151
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
152152
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
153153
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
154-
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">engine13</TargetName>
155-
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">engine13</TargetName>
156-
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">engine13</TargetName>
157-
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">engine13</TargetName>
154+
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">engine14</TargetName>
155+
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">engine14</TargetName>
156+
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">engine14</TargetName>
157+
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">engine14</TargetName>
158158
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\temp\$(PlatformName)\$(Configuration)\firebird\plugins\</OutDir>
159159
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\temp\$(PlatformName)\$(Configuration)\firebird\plugins\</OutDir>
160160
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\temp\$(PlatformName)\$(Configuration)\firebird\plugins\</OutDir>

doc/README.connection_strings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ or TCP localhost loopback.
127127

128128
On the server side, default provider configuration is:
129129

130-
Providers = Remote, Engine13, Loopback
130+
Providers = Remote, Engine14, Loopback
131131

132132
It means that if the remote provider fails to match the connection string (because of missing
133133
protocol / host parts), then the embedded engine handles the hostless connection. If you need

doc/README.plugins.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<P STYLE="margin-bottom: 0in"><FONT SIZE=4><I>UserManager = Srp</I></FONT></P>
136136
<P STYLE="margin-bottom: 0in"><FONT SIZE=4><I>TracePlugin = fbtrace</I></FONT></P>
137137
<P STYLE="margin-bottom: 0in"><FONT SIZE=4><I>Providers =
138-
Remote,Engine13,Loopback</I></FONT></P>
138+
Remote,Engine14,Loopback</I></FONT></P>
139139
<P STYLE="margin-bottom: 0in"><FONT SIZE=4><I>WireCryptPlugin = Arc4</I></FONT></P>
140140
<P STYLE="margin-bottom: 0in"><FONT SIZE=4>This provides normal
141141
operation in server, client and embedded cases. If you want to add
@@ -158,10 +158,10 @@
158158
which is actually used in firebird.conf). Certainly in typical case,
159159
module contains one plugin, and that plugin works with only one
160160
configuration, and all 3 names are equal, and no more configuration
161-
is needed – for example libEngine13.so or Engine13.dll contains
162-
implementation of provider Engine13, and nothing else except record </FONT>
161+
is needed – for example libEngine14.so or Engine14.dll contains
162+
implementation of provider Engine14, and nothing else except record </FONT>
163163
</P>
164-
<P STYLE="margin-bottom: 0in"><FONT SIZE=4>Providers = Engine13</FONT></P>
164+
<P STYLE="margin-bottom: 0in"><FONT SIZE=4>Providers = Engine14</FONT></P>
165165
<P STYLE="margin-bottom: 0in"><FONT SIZE=4>in firebird.conf is needed
166166
to load it. But if you have something complex – configuration file
167167
plugins.conf will help you to have such plugin factories which you

doc/README.providers.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
</P>
4848
<P STYLE="text-indent: 0.39in; margin-bottom: 0in"><FONT SIZE=4>Next
4949
samples are with default configuration, which contains 3 providers:
50-
<B>Remote</B> (establish network connection), <B>Engine13</B> (main
50+
<B>Remote</B> (establish network connection), <B>Engine14</B> (main
5151
database engine) and <B>Loopback</B> (force network connection to
5252
local server for database name without explicitly given network
5353
protocol).</FONT></P>
@@ -59,7 +59,7 @@
5959
That's how typical client configuration works.</FONT></P>
6060
<P STYLE="text-indent: 0.39in; margin-bottom: 0in"><FONT SIZE=4>When
6161
database name does not contain network protocol (just <I>dbname</I>)
62-
<B>Remote</B> provider rejects it and <B>Engine13</B> provider comes
62+
<B>Remote</B> provider rejects it and <B>Engine14</B> provider comes
6363
to stage. It tries to open <I>dbname</I> &ndash; and in case of
6464
success we get embedded connection to the database. Pay attention &ndash;
6565
we do not need special embedded library to have embedded connection,
@@ -74,7 +74,7 @@
7474
created by that user in embedded mode or if he was not explicitly
7575
given OS rights for embedded access to databases on given box.
7676
Moreover, setting access rights in such a manner is a requirement for
77-
correct superserver operation. So after failure of <B>Engine13</B> to
77+
correct superserver operation. So after failure of <B>Engine14</B> to
7878
access database <B>Loopback</B> provider is attempted for an attach.
7979
It does not differ much from <B>Remote</B>, but tries to access
8080
database <I>dbname</I> on a server running on local host. On windows

doc/Using_OO_API.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2121,7 +2121,7 @@ <h1><font size="4" style="font-size: 14pt">Generic interfaces.</font></h1>
21212121
<p style="margin-bottom: 0cm"><font size="4" style="font-size: 14pt">DIR_GUARD
21222122
– where guardian lock is stored (fb_guard)</font></p>
21232123
<p style="margin-bottom: 0cm"><font size="4" style="font-size: 14pt">DIR_PLUGINS
2124-
– plugins directory ([lib]Engine13.{dll|so})</font></p>
2124+
– plugins directory ([lib]Engine14.{dll|so})</font></p>
21252125
<p style="margin-bottom: 0cm"><br/>
21262126

21272127
</p>

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ add_library (boot_engine SHARED ${engine_generated_src_boot} ${V
494494
target_link_libraries (boot_engine engine_common boot_alice boot_burp common boot_yvalve)
495495
set_output_directory (boot_engine plugins CURRENT_DIR)
496496
set_exported_symbols (boot_engine fbplugin)
497-
copy_and_rename_lib (boot_engine Engine13)
497+
copy_and_rename_lib (boot_engine Engine14)
498498
project_group (boot_engine Boot)
499499

500500
endif() # if (NOT CMAKE_CROSSCOMPILING)
@@ -506,7 +506,7 @@ endif() # if (NOT CMAKE_CROSSCOMPILING)
506506

507507
add_library (engine SHARED ${engine_generated_src_master} ${VERSION_RC})
508508
target_link_libraries (engine engine_common alice burp common yvalve)
509-
set_target_properties (engine PROPERTIES OUTPUT_NAME Engine13)
509+
set_target_properties (engine PROPERTIES OUTPUT_NAME Engine14)
510510
set_output_directory (engine plugins)
511511
set_exported_symbols (engine fbplugin)
512512

src/isql/isql.epp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4034,7 +4034,7 @@ static void check_autoterm()
40344034
}
40354035

40364036
if (!(protocolVersion == 0 || protocolVersion >= 19) && // PROTOCOL_VERSION19
4037-
ENCODE_ODS(isqlGlob.major_ods, isqlGlob.minor_ods) >= ODS_13_2)
4037+
isqlGlob.major_ods >= ODS_VERSION14)
40384038
{
40394039
setValues.AutoTerm = false;
40404040

src/jrd/constants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ const TraNumber MAX_TRA_NUMBER = 0x0000FFFFFFFFFFFF; // ~2.8 * 10^14
464464
const unsigned OPT_STATIC_ITEMS = 16;
465465
const unsigned OPT_STATIC_STREAMS = 64;
466466

467-
#define CURRENT_ENGINE "Engine13"
467+
#define CURRENT_ENGINE "Engine14"
468468
#define EMBEDDED_PROVIDERS "Providers=" CURRENT_ENGINE
469469

470470
// Features set for current version of engine provider

0 commit comments

Comments
 (0)