fix compile errors

This commit is contained in:
servertood
2008-11-02 07:50:54 +00:00
parent c54cde7333
commit c19e73aabd
2 changed files with 3 additions and 3 deletions

View File

@@ -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();

View File

@@ -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'");