head 1.2; access; symbols pkgsrc-2014Q3:1.1.0.4 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @// @; 1.2 date 2014.10.30.11.51.34; author fhajny; state dead; branches; next 1.1; commitid SH1gSYWjdtefEdWx; 1.1 date 2014.05.27.09.55.04; author joerg; state Exp; branches; next ; commitid cwXC797n2EO21aCx; desc @@ 1.2 log @Update sqlrelay to 0.57. Changes in 0.57: - fixed an overloaded virtual function error in sqlr-status - fixed parsing of "term as type" clauses in queries - fixed 0 vs. None error in python getRowDictionary method - tweaked php and php_pdo modules to build with php 5.6.0 on windows - updated deployment projects for windows, adding perl, php, python and java, and adding x64 support - describe/getColumnList supports synonyms with oracle now - the mysql, firebird and oracle connections return sensible errors when the format of a numeric bind variable is wrong now - fixed a bug that could cause the mysql connection to loop up if alphanumeric bind variable names were used instead of numbers - fixed a bug that could cause the database specified in the mysql connection string to be ignored - fixed a bind-variable translation bug that could cause variables not to be translated when multiple formats are used in the same query and one of them is the correct format - describing oracle tables returns key (PRI,UNI,MUL) info now - added disablekeylookup option to disable getting key information when describing oracle tables - fixed broken --with-system-libtool configure option - mysql-config --libs_r is used in preference to --libs now, solves build error with maria db on ubuntu 14.04.1 - fixed mysql drop-in lib errors with mysql_row_seek and mysql_row_tell @ text @$NetBSD: patch-src_api_c++_src_sqlrcursor.cpp,v 1.1 2014/05/27 09:55:04 joerg Exp $ --- src/api/c++/src/sqlrcursor.cpp.orig 2014-05-23 16:56:02.000000000 +0000 +++ src/api/c++/src/sqlrcursor.cpp @@@@ -4223,10 +4223,10 @@@@ void sqlrcursor::createFieldLengths() { // fieldlengths[1] (corresponding to row 4) uint64_t rowbuffercount=rowcount-firstrowindex; fieldlengths=new uint32_t *[rowbuffercount+1]; - fieldlengths[rowbuffercount]=(uint32_t)NULL; + fieldlengths[rowbuffercount]=(uint32_t *)NULL; for (uint64_t i=0; i