MySqlBackup.NET - Change Log
V1.5.7 (25 Jan 2013)
- Fix Bug: An error will occur when ExportInfo.AsynchronousMode = true and ExportIfo.CalculateTotalRowsFromDatabase = false are set at the same time.
V1.5.6 (14 Dec 2012)
- Fix Bug: If encryption is applied in Export Process, the generated encrypted SQL file is not able to import Stored Procedures, Functions, Triggers, Events and View.
> Discussion: MySqlBackup.dll
- Fix Bug: In some unknown cases, the SHOW CREATE TABLE `tablename` query will return byte array.
- Improve 1: During Export, StreamWriter is opened and closed several times when writting to the dump file, which this is considered as not a good practice.
- Improve 2: SQL line in class Database method GetEvents: "SHOW EVENTS WHERE Db LIKE '" + DatabaseName + "';" might potentially cause errors due to case sensitivity.
- New Feature: MySqlBackup.NET is able to export as compressed zip file which results approximately 10 times smaller(file size) than original exported dump file.
New option: ExportInfo.ZipOutputFile.
- MySqlBackup.NET can import a compressed SQL dump file in zip format.
V1.5.5 (11 Dec 2012)
V1.5.4 (23 Now 2012)
- Fix bug: When setting AddCreateDatabase = true, the database name in CREATE DATABASE sql statement is converted into Upper Case. (It should not).
- Fix minor bug: When exporting with custom SELECT sql statements, total rows calculation is not based on new specified conditioned SELECT sql statement.
> Discussion: Unknown database 'test'
V1.5.3 (20 Nov 2012)
- MySqlBackup can be initialized without specifying an initial database in Connection String.
- Non-super admin MySQL user can be used with MySqlBackup.NET. In previous version, only super admin users are allowed to be used with MySqlBackup.NET, or else, user privilege exception will raise. If a non-super admin MySQL user is used with MySqlBackup.NET,
the backup process will proceed but has a high possibility not exporting Stored Procedure, Stored Functions, Events, Triggers and Stored View.
> Discussion: Unknown database 'test'
V1.5.2 (21 Oct 2012)
V1.5.1 (16 Oct 2012)
- Fix a bug. If MySqlBackup is constructed (initialized) with an object of MySqlConnection, DatabaseInfo is not initialize and resulting a null reference exception.
V1.5 (14 Oct 2012)
- New: Able to run in both Asynchronous and Synchronous mode.
- New: Able to restore to another/new database.
- New: Reset database, delete all rows and reset Auto-Increment to 1.
- Fix bug: A SQL syntax error will occur when Importing with dump file that is encrypted with Stored Procedure, Function, Event, Trigger or View.
- Fix bug: A null exception occur when cancelling a process.
V1.4.5 (29 Aug 2012)
- Fix bug: wrong cast type of sbyte in GetSqlValueString(), error will occur when handling MySQL datatype of SIGNED TINYINT
V1.4.4 (14 Aug 2012)
- Fix bug: If the target database's default character set is not UTF8, UTF8 character will be encoded wrongly during Import. Now, database default character set will be recorded into Dump File at line of "SET NAMES". During import(restore), MySqlBackup
will again detect and use the target database default character char set.
V1.4.2 (14 Aug 2012)
- Fix bug: MySqlConnection is not closed with AutoCloseConnection set to true after Export or Import completed/halted.
V1.4.1 (13 Aug 2012)
- Disable a function of writting a log file on D:\Log2.txt during Import process. This function is used by the authors to detect bugs and is not needed on real operation of Import(Restore).
V1.4 (13 Aug 2012)
- (New) Able to export Stored Procedures, Functions, Events, Triggers, Views
- (Change) Implementation of
IDisposal is dropped.
- (New) New Settings for Export - ExportStoredProcedures, ExportFunctions, ExportViews, ExportTriggers, ExportEvents .
- (New) New Settings for Import - IgnoreSqlErrors.
ProgressChanged is split and replaced by
- (New) Error informations is collected during import if
IgnoreSqlErrors is set to true.
V1.3.1 (09 Aug 2012)
- (Fix Bugs) MySQL data type of "
Date" and "
Time" is not handled.
TextWriter is not closed if exception occur.
- (New) Implement
iDisposal. Automatic close all streams in any condition during Export or Import halted.
- (New) New option:
AddCreateDatabase (Used in Export process), Default value = false
- (Fix bug) The symbol "." (dot) might not be used as default decimal point separator when custom
System.Globalization.NumberFormatInfo or custom Application's Culture applied.
The will cause a SQL syntax error.
- (New) Export and Import process are now run asynchronously.
- (New) Export and Import process can be cancelled.
- (New) Export and Import process will report progress. Enable the usage of progress bar.
max_allowed_packet will be set to 1GB (Maximum length allowed by MySQL in single query) during Export or Import process if the MySQL user used in the connection has the super privilege to do so. This is useful
when exporting or importing large BLOB or TEXT data type.
- (New) Has option to reset Auto-Increment.
- (New) Has option to close MySqlConnection automatically after each process finished.
- (New) Able to export BLOB data and save as files on local drive.
- (Change) XCrypt project (an Encryption Library) is dropped from MySqlBackup. Encryption is not compatible between v1.2 and v1.3
Changes from V1.1 to V1.2
- Comments are added into SQL Dump File.
- All SQL statements are split into lines.
INSERT statements are joined.
- Able to export(backup) BLOB data type.
- Date Time conversion bug fixed.
- SQL Dump File encoding change from UTF8 to UTF8 without BOM.
- SQL statements are divided into paragraphs, more neat and organized.
- Perform MySQL server variable checking before export/import.
TextWriter > StreamWriter
TextReader > StreamReader
- Able to export (backup) selected tables, columns and rows.
- Able to encrypt and decrypt SQL Dump File.
- Encryption is enhanced by adding salt.