[MonetDB.R] Cyrillic symbol problems with MonetDB.R 0.9.5

Роман Кисленок kislenok.roman at gmail.com
Mon Oct 20 02:30:43 CEST 2014


Hello,

I recently updated my DBI driver for MonetDB from 0.9.4 to 0.9.5 and got a
problem with Cyrilic symbols (UTF-8). Now I downgraded to 0.9.4 and
everything is OK.

To reproduce:
> # create connection
> conn <- dbConnect(MonetDB.R(), "monetdb://localhost:50000/db")
> # create table
> dbSendUpdate(conn, "create table t1 (col1 clob)")
> # try to insert something
> dbSendUpdate(conn, "insert into t1 (col1) values (?)", "Some data with
cyrillic - П")
Error in .local(conn, statement, ...) :
  Unable to execute statement 'insert into t1 (col1) values (''Some data
with cyrillic - П')'.
Server says 'syntax error, unexpected $end, expecting SCOLON in: "insert
into t1 (col1) values (''Some data with cyrillic - П')"' [#42000].
> # try another operation:
> dbGetQuery(conn, "select * from t1")
Error in .mapiRead(conObj at socket) :
Empty response from MonetDB server, probably a timeout. You can increase
the time to wait for responses with the 'timeout' parameter to
'dbConnect()'.


-- 
Roman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/monetr-users/attachments/20141020/f3b4e7cc/attachment.html>


More information about the Monetr-users mailing list