Releases: r-dbi/RMariaDB
Releases · r-dbi/RMariaDB
RMariaDB 1.1.0
Features
dbConnect()
now supportstimezone_out
argument. Explicitly settingtimezone
toNULL
tries to detect the database time zone (#116).BIT(1)
columns are returned aslogical
(#84).dbQuoteLiteral()
now correctly quotes difftime values (#188).
Bug fixes
- Timestamp values are now written correctly if the database connection uses a time zone other than UTC. Deviations still might occur at DST boundaries, therefore it is still safer to use UTC as the database connection (#116).
- Timestamp roundtrip no longer fails on Windows i386 (#117).
dbBind()
also works for"Date"
values that are stored as integers (#187).
RMariaDB 1.0.11
RMariaDB 1.0.10
Features
dbConnect()
gains atimeout
argument, defaults to 10. UseInf
or a negative value for no timeout (#169).- Support fractional seconds in datetime values for reading and writing (#157).
Bug fixes
dbDataType()
returnsVARCHAR(1)
for length-0 character vectors.dbDataType()
returnsVARCHAR()
for factors.dbSendQuery()
anddbSendStatement()
clear the result set ifdbBind()
throws an error.- Check that input to
dbWriteTable()
is a data frame (#160, @rossholmberg).
RMariaDB 1.0.9
RMariaDB 1.0.8
- Implement
dbGetInfo()
according to the specification. - Include information about
libssl-dev
inconfigure
andDESCRIPTION
(#101).
RMariaDB 1.0.7
- Get rid of
auto_ptr
, which causesR CMD check
warnings on R-devel.
RMariaDB 1.0.6
- Add support for
bigint
argument todbConnect()
, supported values are"integer64"
,"integer"
,"numeric"
and"character"
. Large integers are returned as values of that type (r-dbi/DBItest#133). - Data frames resulting from a query always have unique non-empty column names (r-dbi/DBItest#137).
- New arguments
temporary
andfail_if_missing
(default:TRUE
) todbRemoveTable()
(r-dbi/DBI#141, r-dbi/DBI#197). - Using
dbCreateTable()
anddbAppendTable()
internally (r-dbi/DBI#74). - Implement
format()
method forMariaDBConnection
(r-dbi/DBI#163). - Reexporting
Id()
,DBI::dbIsReadOnly()
andDBI::dbCanConnect()
. - Now imports DBI 1.0.0.
RMariaDB 1.0.5
dbGetException()
is no longer reexported from DBI.NaN
andInf
are converted toNULL
when writing to the database (#77).- Values of class
"integer64"
are now supported fordbWriteTable()
anddbBind()
(#87). - Schema support, as specified by DBI:
dbListObjects()
,dbUnquoteIdentifier()
andId()
. - Names in the
x
argument todbQuoteIdentifier()
are preserved in the output (r-lib/DBI#173). - Replace non-portable
timegm()
with private implementation (#78). - Update libmariadbclient to version 2.3.5 on Windows (#92, @jeroen).
RMariaDB 1.0-4
- Attempt to fix Solaris builds by redefining
timegm
symbol if the macrosun
is defined. - Fix examples running on CRAN by using only temporary tables and
overwrite = TRUE
. - Refactor connection and result handling to be more similar to other backends.
- Add support for R 3.1, but DBI >= 0.5 is required (#68).
- Queries that bypass the prepared statement framework (like
SHOW PLUGINS
) return data (#70, @nbenn). - A temporary table can be created via
dbWriteTable()
if a table by the same name exists. If a temporary table of the same name exists, the error will be raised by the database itself, because this condition cannot be checked beforehand.
v1.0-2
Initial release, compliant to the DBI specification.
- Test almost all test cases of the DBI specification.
- Fully support parametrized queries (#22, #27, #39).
- Queries not supported by the prepared statement protocol still can be run via
dbExecute()
ordbSendStatement()
, the functionmariadbExecQuery()
has been removed (#28). - Spec-compliant transactions (#38, #49).
- 64-bit integers are now supported through the
bit64
package. Unfortunately, this also means that numeric literals (as inSELECT 1
) are returned as 64-bit integers (#12). - Correct handling of DATETIME and TIME columns (#52, @noahwilliamsson). Support timestamp values with sub-second precision on output, and with year beyond 2038 (#56).
- The connection now uses the "utf8mb4" charset by default (#7).
- New default
row.names = FALSE
. - New SSL-related arguments to
dbConnect()
:ssl.key
,ssl.cert
,ssl.ca
,ssl.capath
,ssl.cipher
(#131, #148, @adamchainz). - CI for Linux, Windows, and OS X (#25).
- Support for Connector/C from both MariaDB and MySQL.