Skip to content

Commit

Permalink
v.2.3.6
Browse files Browse the repository at this point in the history
test form update
[New] ExportInfo.InsertLineBreakBetweenInserts = false
[Fix Bug] MySql Data type, while "default value" = current_timestamp, is skipped and not exported into dump.
  • Loading branch information
adriancs2 committed Oct 17, 2021
1 parent c3662b1 commit 193769d
Show file tree
Hide file tree
Showing 13 changed files with 85 additions and 35 deletions.
4 changes: 2 additions & 2 deletions source code/Test_WinForm/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ namespace MySqlBackupTestApp
{
static class Program
{
public static string Version = "V1.9";
public static string DateVersion = "September 22, 2021";
public static string Version = "V2.3.6";
public static string DateVersion = "October 17, 2021";

private static string _connectionString = "";

Expand Down
10 changes: 5 additions & 5 deletions source code/Test_WinForm_DevartExpress/App.config
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Devart.Data" publicKeyToken="09af7300eec23701" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-5.0.2158.0" newVersion="5.0.2158.0"/>
<assemblyIdentity name="Devart.Data" publicKeyToken="09af7300eec23701" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.2158.0" newVersion="5.0.2158.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.data>
<DbProviderFactories>
<add name="dotConnect for MySql" invariant="Devart.Data.MySql" description="Devart dotConnect for MySql" type="Devart.Data.MySql.MySqlProviderFactory, Devart.Data.MySql, Version=8.19.1944.0, Culture=neutral, PublicKeyToken=09af7300eec23701"/>
<add name="dotConnect for MySql" invariant="Devart.Data.MySql" description="Devart dotConnect for MySql" type="Devart.Data.MySql.MySqlProviderFactory, Devart.Data.MySql, Version=8.19.1985.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
</DbProviderFactories>
</system.data></configuration>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ private void button_Backup_Click(object sender, EventArgs e)

mb.ExportInfo.BlobExportModeForBinaryStringAllow = cbAllowBinaryChar.Checked;

mb.ExportInfo.InsertLineBreakBetweenInserts = cbExport_InsertLineBreaksBetweenInsert.Checked;

mb.ExportToFile(Program.TargetFile);
}
conn.Close();
Expand Down
4 changes: 2 additions & 2 deletions source code/Test_WinForm_DevartExpress/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ namespace MySqlBackupTestApp
{
static class Program
{
public static string Version = "V1.9";
public static string DateVersion = "September 22, 2021";
public static string Version = "V2.3.6";
public static string DateVersion = "October 17, 2021";

private static string _connectionString = "";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<OutputType>WinExe</OutputType>
<RootNamespace>TestApp_DevartExpressMySql</RootNamespace>
<AssemblyName>TestApp_DevartExpressMySql</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
Expand Down Expand Up @@ -37,11 +37,11 @@
<ApplicationIcon>logo.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Devart.Data, Version=5.0.2736.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL">
<HintPath>..\packages\dotConnect.Express.for.MySQL.8.19.1944\lib\Devart.Data.dll</HintPath>
<Reference Include="Devart.Data, Version=5.0.2777.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL">
<HintPath>..\packages\dotConnect.Express.for.MySQL.8.19.1985\lib\Devart.Data.dll</HintPath>
</Reference>
<Reference Include="Devart.Data.MySql, Version=8.19.1944.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL">
<HintPath>..\packages\dotConnect.Express.for.MySQL.8.19.1944\lib\Devart.Data.MySql.dll</HintPath>
<Reference Include="Devart.Data.MySql, Version=8.19.1985.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL">
<HintPath>..\packages\dotConnect.Express.for.MySQL.8.19.1985\lib\Devart.Data.MySql.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
2 changes: 1 addition & 1 deletion source code/Test_WinForm_DevartExpress/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="dotConnect.Express.for.MySQL" version="8.19.1944" targetFramework="net471" />
<package id="dotConnect.Express.for.MySQL" version="8.19.1985" targetFramework="net452" />
</packages>
24 changes: 22 additions & 2 deletions source code/Test_WinForm_MySqlConnector/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ private void button_Backup_Click(object sender, EventArgs e)

mb.ExportInfo.BlobExportModeForBinaryStringAllow = cbAllowBinaryChar.Checked;

mb.ExportInfo.InsertLineBreakBetweenInserts = cbExport_InsertLineBreaksBetweenInsert.Checked;

mb.ExportToFile(Program.TargetFile);
}
conn.Close();
Expand Down
4 changes: 2 additions & 2 deletions source code/Test_WinForm_MySqlConnector/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ namespace MySqlBackupTestApp
{
static class Program
{
public static string Version = "V1.9";
public static string DateVersion = "September 22, 2021";
public static string Version = "V2.3.6";
public static string DateVersion = "October 17, 2021";

private static string _connectionString = "";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,25 @@
<HintPath>..\packages\MySqlConnector.1.3.13\lib\net45\MySqlConnector.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.4.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.1\lib\netstandard1.1\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.Core" />
<Reference Include="System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.0\lib\netstandard2.0\System.Memory.dll</HintPath>
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.4\lib\netstandard1.1\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.4.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\portable-net45+win8+wp8+wpa81\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks.Extensions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.3.0\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll</HintPath>
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.Transactions" />
<Reference Include="System.Xml.Linq" />
Expand Down
12 changes: 6 additions & 6 deletions source code/Test_WinForm_MySqlConnector/packages.config
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="net452" />
<package id="Microsoft.NETCore.Platforms" version="5.0.4" targetFramework="net452" />
<package id="MySqlConnector" version="1.3.13" targetFramework="net452" />
<package id="NETStandard.Library" version="2.0.3" targetFramework="net452" />
<package id="System.Buffers" version="4.4.0" targetFramework="net48" requireReinstallation="true" />
<package id="System.Memory" version="4.5.0" targetFramework="net48" requireReinstallation="true" />
<package id="System.Numerics.Vectors" version="4.4.0" targetFramework="net48" requireReinstallation="true" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.0" targetFramework="net48" requireReinstallation="true" />
<package id="System.Buffers" version="4.5.1" targetFramework="net452" />
<package id="System.Memory" version="4.5.4" targetFramework="net452" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net452" />
<package id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" targetFramework="net452" />
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net452" />
<package id="System.Threading.Tasks.Extensions" version="4.3.0" targetFramework="net48" />
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net452" />
</packages>

0 comments on commit 193769d

Please sign in to comment.