[Mulgara-svn] r734 - trunk/src/jar/query/java/org/mulgara/query/operation

pag at mulgara.org pag at mulgara.org
Fri Apr 4 03:56:35 UTC 2008


Author: pag
Date: 2008-04-03 20:56:34 -0700 (Thu, 03 Apr 2008)
New Revision: 734

Modified:
   trunk/src/jar/query/java/org/mulgara/query/operation/Backup.java
Log:
Had an inverted test on the 'local' flag, so local was backing up on the server and remote was backing up on the client

Modified: trunk/src/jar/query/java/org/mulgara/query/operation/Backup.java
===================================================================
--- trunk/src/jar/query/java/org/mulgara/query/operation/Backup.java	2008-04-04 03:55:15 UTC (rev 733)
+++ trunk/src/jar/query/java/org/mulgara/query/operation/Backup.java	2008-04-04 03:56:34 UTC (rev 734)
@@ -76,7 +76,7 @@
    */
   public Object execute(Connection conn) throws QueryException, MalformedURLException {
     // test if the server can do all the work, or if data needs to be streamed
-    if (isLocal()) {
+    if (!isLocal()) {
       // server does all the work
       conn.getSession().backup(getSource(), getDestination());
     } else {




More information about the Mulgara-svn mailing list