Commit graph

3 commits

Author SHA1 Message Date
Kurt Jaeger
96f080dbe5 devel/rudiments: update 1.0.2 -> 1.0.4
databases/sqlrelay: update 1.0.0 -> 1.0.1

rudiments:
- added support for EOT to codetree
- added loop-avoidance to xmldomevents class
- added alias support to codetree class
- replaced readline with libedit
- included implementation of history_truncate_file for versions of
  libedit that don't provide it
- added --disable-wall and --disable-werror configure options

sqlrelay:
- updated sqlr-bench to create "db"-bench.png
- added edoc-generated API docs for the Erlang API
- updated some module-load error verbage
- added initial support for loading Oracle, SAP/Sybase, DB2, and Informix
  libraries on-demand at runtime
- overhauled spec file
- fixed PDO driver for PHP 7 on 32-bit platforms
- added permissions to all open() with O_CREAT calls
- added --with-fortify configure option
- fixed a segfault on ctrl-D in sqlrsh
- fixed uncoordinated access to shared debugstr among listener threads
  by using local instances instead
- added ping-loop to router connection module's logIn() method to manage
  cases where routed-to instances are started after the router
- moved .../var/sqlrelay/tmp/*/* to .../var/run/sqlrelay
- added .sock extension to sockets, .ipc extension to ipc key files,
  .pid extension to pid files, and .up extension to files which
  indicate that the db is up
- changed mode of listener-connection sockets to 700 from 711
- moved .../var/sqlrelay/log to .../var/log/sqlrelay
- moved .../var/sqlrelay/cache to .../var/cache/sqlrelay
- libmysql*sqlrelay.so and libpqsqlrelay.so are no longer installed
- replaced sockseq-generated unix socket with pid-based unix socket
- updated ruby api to support unification of Fixnum and Bignum classes
  into Integer class
- added --with-abs-max-connections configure script parameter
- increased default absolute max connections to 4096 (from 512)
- updated "can't open ... file" errors to mention user/group
- added SQLR_MYSQL_MAP_DATE_TO_DATETIME option to mysql drop-in
  replacement library
- fixed normalize translation not to remove spaces before unary - and !
- updated sqlrsh to set error code correctly and write errors to stderr
- sqlr-cachemanager is no longer enabled at boot by default
- fixed another subtle bug in the ODBC driver that caused the first row
  to be duplicated if columns were not bound
- added --disable-wall and --disable-werror configure options
2017-03-26 09:49:52 +00:00
Kurt Jaeger
7962caf263 devel/rudiments: 0.54 -> 0.55.0
databases/sqlrelay: 0.64 -> 0.65.0

rudiments:
- file::open sets errno=ENOENT if the file or path wasn't found on
  Windows now
- fixed a bug with filedescriptor::printf when printing to non-buffered
  files on Windows and Solaris 11
- fixed a bug that caused a crash in codetree if codeposition is NULL
- added missing dll export clause to codetreegrammar class
- added xmldomevents class
- added namespace discrimination in codetree::write
- fixed a codetree end-of-string-during-concatenation bug
- fixed a codetree tree reset bug
- fixed an xmlsax bug that caused text nodes with empty values to be
  inserted between tag nodes when there is no text between tags
- added escapechar option to filedescriptor::read-until-terminator
  methods
- added a generic securitycontext class and integrated it with
  filedescriptor
- implemented GSS/SSPI and TLS/SSL children of securitycontext
- removed old SSL integration with filedescriptor
- updated inet/unixsocketclient to close() as the first step of connect()
- updated charstring::to(Unsigned)Integer-with-endptr methods to have
  const char **endptr arguments
- updated configure script to find erlang on openbsd 5.8
- buffers allocated by vasprintf are free()'ed now rather than deleted
- fixed a commandline bug that could cause it to return the next
  parameter for getValue() of a parameter with no value
- fixed connect()/useBlockingMode error masking bug
- removed -revision during link and adopted Semantic Versioning 2.0
- added pthread_create/EAGAIN retry
- added methods to configure and examine process::fork and thread::run
  retry behavior
- thread methods test for invalid thread before operating on it now
- charstring::split doesn't crash if list or listlength are null now
- added debugprint header
- removed problematic thread::cancel() method
- added thread::runDetached() methods
- removed useBlockingMode() call in stdio constructor as is caused
  problems with apps like Apache that actually need stdin/out/err
  to be in non-blocking mode sometimes

sqlrelay:
- removed erroneous SQLR_SQLExecute export in ODBC driver
- fixed call type of internal ODBC driver functions and made them static
- fixed --disable-API flags in configure.vbs
- fixed bad user/password copy logic in ODBC SQLConnect function
- added missing default implementation of
  sqlrservercursor::getColumnTypeName()
- added parser debug option
- normalize translation can convert foreign decimals now
- updated missing-tnsnames.ora warning
- updated sqlr-start and sqlr-scaler to run programs using fully
  qualified path names
- fixed query timer in sqlrsh
- add timer="query/command" parameter to slowqueries logger
- added odbcversion parameter to ODBC connection
- updated erlang api to use the C++ compiler to link (for netbsd 7.0)
- added major-version check to node.js api for node 4.x+
- ODBC driver's SQLGetData can deal with NULL targetvalue now
- fixed normalize || bug
- fixed normalize bug that removed spaces around * for "all columns"
  improperly
- removed freetds warning, modern sybase has different library file names
- updates to support python3
- added several --disable options to the configure script for unix/linux
- removed sqlr-fields/sqlr-query and updated sqlrsh to provide the same
  functionality
- removed antiquated sqlrelay.dtd
- moved default example directory to share/sqlrelay/examples
- sqlrelay.conf example is installed under example directory now
- Python DB -> Python DB-API in the docs
- moved private members and support classes into C++ API's .cpp files
- removed -revision during link and adopted Semantic Versioning 2.0
- added missing get*List methods to Java API
- removed errant information_schema views from getTableList with mysql
- refactored listenertimeout to use timed semaphore ops and only fall
  back to an alarm if the system doesn't support timed sem ops
  and the instance isn't configured to use threads
- fixed inode-check in logger modules - works correctly with logrotate
- change "an error occurred" to "server closed connection" to reduce
  false-positives from log analyzers - "real" errors will still
  be reported elsewhere
- refactored the config file parser
- added support for kerberos authentication and encryption
- added krb_userlist auth module
- renamed "authentication" to "auth" (for authentication/authorization,
  also matches module name prefix) in config file and docs
- removed an errant flushWriteBuffer after client auth
- moved debugprint stuff into rudiments
- added support for tls authentication and encryption
- added tls_userlist auth module
- fixed long-standing copyrefs bug
- when calling after-triggers, "success" flag is set correctly now
- fixed bug where after-triggers could mask failed queries
- added support for "before and after" triggers
- moved call to set stdinput to use blocking mode from
  rudiments::stdiofiledescriptor to sqlrsh, as doing it in every
  case caused problems with apps like Apache, which need
  stdin/out/err to be in non-blocking mode sometimes (fixes bug
  where PHP's that used the SQL Relay API would cause apache
  workers to hang closing connections after a graceful restart)
- made auth_database module always re-login
- added auth_proxied module to support Oracle's (and potentially other
  databases') n-tier/proxied authentication
- fixed a long-standing bug where passwords weren't checked when
  switching between oracle n-tier authenticated users
2016-04-03 10:17:44 +00:00
Kurt Jaeger
9ab91a8f24 databases/sqlrelay: 0.58.1 -> 0.59
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
2015-05-08 04:03:04 +00:00