From c19e73aabd6f25708a3439ded86e18b057f31bff Mon Sep 17 00:00:00 2001 From: servertood Date: Sun, 2 Nov 2008 07:50:54 +0000 Subject: [PATCH] fix compile errors --- extra/jheidi/exportDDLEvents.ajl | 2 +- extra/jheidi/filesToBlobsEvents.ajl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extra/jheidi/exportDDLEvents.ajl b/extra/jheidi/exportDDLEvents.ajl index 0b96a099..59f65d52 100644 --- a/extra/jheidi/exportDDLEvents.ajl +++ b/extra/jheidi/exportDDLEvents.ajl @@ -121,7 +121,7 @@ } } - DB db = new SQLLoggingDB(((SQLLoggingDB)context.get("db")); + DB db = new SQLLoggingDB((SQLLoggingDB)context.get("db")); db.useCache(false); db.begin(); diff --git a/extra/jheidi/filesToBlobsEvents.ajl b/extra/jheidi/filesToBlobsEvents.ajl index 8873165b..632e4a19 100755 --- a/extra/jheidi/filesToBlobsEvents.ajl +++ b/extra/jheidi/filesToBlobsEvents.ajl @@ -132,7 +132,7 @@ { String selection = ((Combo)dlg.get("dbs")).getText(); - DB db = new SQLLoggingDB(((SQLLoggingDB)context.get("db")); + DB db = new SQLLoggingDB((SQLLoggingDB)context.get("db")); db.useCache(false); DB.Result tables = db.execute("show tables from `" + selection + "`"); @@ -162,7 +162,7 @@ { String selection = ((Combo)context.get("/tables")).getText(); String dbsel = ((Combo)context.get("/dbs")).getText(); - DB db = new SQLLoggingDB(((SQLLoggingDB)context.get("db")); + DB db = new SQLLoggingDB((SQLLoggingDB)context.get("db")); db.useCache(false); DB.Result otherFields = db.execute("show columns from `" + dbsel + "`.`" + selection + "` where type not like '%blob'"); DB.Result blobFields = db.execute("show columns from `" + dbsel + "`.`" + selection + "` where type like '%blob'");