Changeset: 064cb7e05629 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=064cb7e05629
Modified Files:
clients/R/MonetDB.R/NEWS
clients/R/MonetDB.R/R/monetdb.R
Branch: default
Log Message:
R Connector: Some minor fixes for compatibility
Unterschiede (33 Zeilen):
diff --git a/clients/R/MonetDB.R/NEWS b/clients/R/MonetDB.R/NEWS
--- a/clients/R/MonetDB.R/NEWS
+++ b/clients/R/MonetDB.R/NEWS
@@ -2,7 +2,6 @@ 0.9.2
- monetdb_queryinfo method to find out things about an arbitrary query cheaply
- new options monetdb.sequential, monetdb.debug.query and monetdb.debug.mapi
- debug output now uses the message() function
-- reinstated warning about monetdb:// db urls, we do not like them
- source code cleanup
- dbListTables() now hides system tables per default, also got options to
include the
schema name and quoting in the result (sys_tables, schema_names and quote)
diff --git a/clients/R/MonetDB.R/R/monetdb.R b/clients/R/MonetDB.R/R/monetdb.R
--- a/clients/R/MonetDB.R/R/monetdb.R
+++ b/clients/R/MonetDB.R/R/monetdb.R
@@ -52,8 +52,6 @@ setMethod("dbConnect", "MonetDBDriver",
timeout <- as.integer(timeout)
if (substring(dbname, 1, 10) == "monetdb://") {
- message("MonetDB.R: Using 'monetdb://...' URIs in dbConnect() is
deprecated. Please switch to ",
- "dbname, host, port named arguments.")
rest <- substring(dbname, 11, nchar(dbname))
# split at /, so we get the dbname
slashsplit <- strsplit(rest, "/", fixed=TRUE)
@@ -193,7 +191,8 @@ setMethod("dbListFields", "MonetDBConnec
})
setMethod("dbExistsTable", "MonetDBConnection", def=function(conn, name, ...) {
- tolower(name) %in% tolower(dbListTables(conn))
+ #TODO: make this work with more cases
+ tolower(name) %in% tolower(dbListTables(conn,sys_tables=T))
})
setMethod("dbGetException", "MonetDBConnection", def=function(conn, ...) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list