The schema_updates table contents are written by the call to
mg-schema-update.  Trying to copy the contents from the source db
correctly fails with duplicate key errors.  So don't do that.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 mg-schema-test-database | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mg-schema-test-database b/mg-schema-test-database
index 0517ca3..641aadb 100755
--- a/mg-schema-test-database
+++ b/mg-schema-test-database
@@ -467,6 +467,9 @@ END
 END
 
        for table in $tables; do
+               case $table in
+               schema_updates) continue ;;
+               esac
                case " $ftables " in
                *" $table "*)   condition="flight >= $minflight" ;;
                *)              condition="1=1" ;;
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to