BIND 10 trac2972, updated. 6849529f7e974888fcbc49c303b709d7c65002af [2972] Added explicit transaction start and commit to create schema SQL statement. This corrects a MySQL flush timing issue that causes the checkVersion unit test to fail under some Debian VMs.

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Jun 7 14:11:58 UTC 2013


The branch, trac2972 has been updated
       via  6849529f7e974888fcbc49c303b709d7c65002af (commit)
      from  984abbf9ed6f4b7fb8b0ea884fd5e3ea38469d6f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6849529f7e974888fcbc49c303b709d7c65002af
Author: Thomas Markwalder <tmark at isc.org>
Date:   Fri Jun 7 10:09:21 2013 -0400

    [2972] Added explicit transaction start and commit to create schema
    SQL statement.  This corrects a MySQL flush timing issue that causes
    the checkVersion unit test to fail under some Debian VMs.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dhcpsrv/tests/schema_copy.h |    2 ++
 1 file changed, 2 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcpsrv/tests/schema_copy.h b/src/lib/dhcpsrv/tests/schema_copy.h
index 9ebd057..f534fa8 100644
--- a/src/lib/dhcpsrv/tests/schema_copy.h
+++ b/src/lib/dhcpsrv/tests/schema_copy.h
@@ -42,6 +42,7 @@ const char* destroy_statement[] = {
 // Creation of the new tables.
 
 const char* create_statement[] = {
+    "START TRANSACTION",
     "CREATE TABLE lease4 ("
         "address INT UNSIGNED PRIMARY KEY NOT NULL,"
         "hwaddr VARBINARY(20),"
@@ -84,6 +85,7 @@ const char* create_statement[] = {
         ")",
 
     "INSERT INTO schema_version VALUES (1, 0)",
+    "COMMIT",
 
     NULL
 };



More information about the bind10-changes mailing list