diff options
author | ryoon <ryoon@pkgsrc.org> | 2015-05-20 13:26:45 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2015-05-20 13:26:45 +0000 |
commit | 988b48d83fc2f6f373796b036fe1865893ea627f (patch) | |
tree | fdb246df5d19b6e1eed547bee5338343e507b86b /databases/sqlrelay-mysql | |
parent | d9f4a2b0468ccfbfadd4b67543a889b77a39e17d (diff) | |
download | pkgsrc-988b48d83fc2f6f373796b036fe1865893ea627f.tar.gz |
Update to 0.59
* Fix build with Ruby 2.2.
Changelog:
0.59 - updated docs, removed some Cygwin-specific info
added support for login warnings
made bind variable buffers dynamic on the client side
added maxbindvars parameter on the server side
binding a NULL to an integer works with db2 now
moved getting started with DB docs into the cloud
added a semaphore to ensure that the listener doesn't hand off the
client to the connection until the connection is ready,
elimiating a race condition on the handoff socket that could
occur if the connection timed out waiting for the listener
just after the listener had decided to use that connection
oracle temp tables that need to be truncated at the end of the session
are truncated with "truncate table xxx" now rather than
"delete from xxx"
oracle temp tables that need to be dropped at the end of the session
are truncated first, rather than the connection re-logging in
an ora-14452 error (basically indicating that a temp table can only be
dropped after being truncated, or if the current session ends)
does not automatically trigger a re-login any more
updated cachemanager to use directory::read() directly instead of
directory::getChildName(index)
added cache and opencache commands to sqlrsh
made cache ttl a 64-bit number
added enabled="yes"/"no" parameter to logger modules
updated odbc connection code to use new/delete and rudiments methods
rather than malloc/free and native calls
retired Ruby DBI driver
fixed command line client crash when using -id "instance" with an
instance that uses authtier="database"
fixed bugs that could make reexecuted db2 selects fail and cause a
database re-login loop
tweaked spec file to remove empty directories on uninstall
fixed typo that could sometimes cause a listener crash
postgresql and mdbtools return error code of 1 rather than 0 for all
errors now
tweaked odbc driver to work with Oracle Heterogenous Agent (dblinks)
fixed bugs related to autocommit with db's that support transaction
blocks
implemented the ODBC driver-manager dialog for windows
updated windows installer to install ODBC registry settings
ODBC driver copies references now
fixed various bugs in sqlrconfigfile that caused sqlr-start with no
-id to crash or behave strangely sometimes
refactored build process to use nmake and be compatible with many
different versions of MS Visual Studio
updated the slow query logger to show the date/time that the query
was executed
consolidated c, c++ and server source/includes down a few levels
implemented column-remapping for get db/table/column commands to
enable different formats for mysql, odbc, etc.
odbc connection correctly returns database/table lists now
added support for maxselectlistsize/maxitembuffersize to MySQL
connection
updated mysql connection to fetch blob columns in chunks and not be
bound by maxitembuffersize
fixed a misspelling in sqlrelay.dtd
swapped order of init directory detection, looking for /etc/init.d
ahead of /etc/rc.d/init.d to resolve conflict with dkms on
SuSE Enterprise
C# api and tests compile and work under Mono on unix/linux now
sqlr-start spawns a new window on Windows now
added global temp table tracking for firebird
added droptemptables parameter for firebird
added globaltemptables parameter for oracle and firebird
updated mysql connection to allow mysql_init to allocate a mysql
struct on platforms that support mysql_init, rather than
using a static struct
fixed subtle noon/midnight-related bugs in date/time translation
updated mysql connection to get affected rows when not using the
statement api
updated mysql connection not to use the statement API on windows,
for now
disabled mysql_change_user, for now
fixed blob-input binds on firebird
0.58 - updated spawn() calls to detach on windows
added support for sqlrelay.conf.d
removed support for undocumented ~/.sqlrelay.conf
fixed detection of oracle jdk 7 and 8 on debian and ubuntu systems
added ini files for PHP and PDO modules
added resultsetbuffersize, dontgetcolumninfo and nullsasnulls connect
string variables to the PHP PDO driver
refactored sqlr-status and removed dependency on libsqlrserver
cleaned up and refactored server-side classes quite a bit
fixed a bug where sqlrsh was losing the timezone when binding dates
server-devel headers are now installed
removed backupschema script
moved triggers, translations, resultsettranslations and parser into
separate project
blobs work when using fake input binds now
replaced sqlr-stop script with a binary (for Windows)
preliminary support for server components on Windows
sessionhandler="thread" is now forced on Windows
added various compile flags for clang's aggressive -Wall
added support for sybase 16.0
removed unnecessary -lsybdb/-lsybdb64 for sybase 15+
fixed PQreset, PQresetStart, PQresetPoll in postgresql drop-in
replacement lib
added debug-to-file support to PHP PDO driver
fixed subtle row-fetch bug in sybase/freetds drivers that could cause
the total row count to be set to garbage
fixed support for older versions of perl (5.00x)
fixed a bug in the DB2 connoutpection that caused blob input binds to be
truncated at the first null
added support for binding streams to output bind blobs in the PHP PDO
driver
updated PHP PDO guide with notes about bind variable formats
integrated Samat Yusup's dbh driver methods for PHP PDO
added stmt driver methods for suspending/resuming result sets to the
PHP PDO driver
added row cache to mysql drop-in replacement library to fix issues on
systems with 32-bit pointers
fixed subtle db2 output bind bfers the entire result set by default now
implemented an ext_SQLR_Debug database handle attribute for perl DBI
added support for type, length, precision, scale bind variable
attributes in perl DBI
output bind clobs and blobs work in perl DBI now
addd support for perl DBI ParamValues, ParamTypes and ParamArrays
attributes
tweaked the odbc driver so it works with the jdbc-odbc bridge and
jmeter
added custom db/statement attributes to perl DBI for
DontGetColumnInfo, GetNullsAsEmptyStrings and
ResultSetBufferSize
added note about JDBC-ODBC bridge removal in Oracle Java 8
made threaded listener the default
tweaks to sqlr-connection/sqlr-scaler processes to deal with lack of
SIGCHLD/waitpid() on windows
the signal on semaphore 2 is now undone manually when sqlr-connections
shut down and doesn't rely on semaphore undo's for normal
operation
subtly tweaked freeing of Oracle column-info buffers to work around
a crash that could occur after using a cursor bind
Diffstat (limited to 'databases/sqlrelay-mysql')
-rw-r--r-- | databases/sqlrelay-mysql/Makefile | 15 | ||||
-rw-r--r-- | databases/sqlrelay-mysql/PLIST | 4 |
2 files changed, 15 insertions, 4 deletions
diff --git a/databases/sqlrelay-mysql/Makefile b/databases/sqlrelay-mysql/Makefile index dc522ddc564..03c067935c9 100644 --- a/databases/sqlrelay-mysql/Makefile +++ b/databases/sqlrelay-mysql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2014/05/22 12:50:48 fhajny Exp $ +# $NetBSD: Makefile,v 1.2 2015/05/20 13:26:45 ryoon Exp $ PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-mysql/} COMMENT= MySQL support for SQL Relay @@ -8,8 +8,19 @@ COMMENT= MySQL support for SQL Relay LICENSE= gnu-gpl-v2 CONFIGURE_ARGS+= --with-mysql-prefix=${BUILDLINK_PREFIX.mysql-client} +CONFIGURE_ARGS+= --disable-postgresql +CONFIGURE_ARGS+= --disable-sqlite +CONFIGURE_ARGS+= --disable-freetds +CONFIGURE_ARGS+= --disable-odbc -BUILD_DIRS= src/connections/mysql +BUILD_DIRS= src/connections + +INSTALLATION_DIRS+= libexec/sqlrelay + +do-install: + ${LIBTOOL} --mode=install ${INSTALL_LIB} \ + ${WRKSRC}/${BUILD_DIRS}/sqlrconnection_mysql.la \ + ${DESTDIR}${PREFIX}/libexec/sqlrelay .include "../../databases/sqlrelay/buildlink3.mk" .include "../../mk/mysql.buildlink3.mk" diff --git a/databases/sqlrelay-mysql/PLIST b/databases/sqlrelay-mysql/PLIST index 79d2d7fd810..3c0bab58086 100644 --- a/databases/sqlrelay-mysql/PLIST +++ b/databases/sqlrelay-mysql/PLIST @@ -1,2 +1,2 @@ -@comment $NetBSD: PLIST,v 1.1 2014/05/22 12:50:48 fhajny Exp $ -libexec/sqlrelay/sqlrconnection_mysql.so +@comment $NetBSD: PLIST,v 1.2 2015/05/20 13:26:45 ryoon Exp $ +libexec/sqlrelay/sqlrconnection_mysql.la |