1[Jul 30 2009] 2 3 * FIXED: Crash in ODBC connection. Patch by Keri Harris. 4[Jul 21 2009] 5 6 * MODIFIED: Make initialization/1 ISO compliant 7 This patch is a modest cleanup to the implementation of '$load_file'/3 8 from init.pl and provides an ISO compatible implementation of 9 initialization/1. This executes the argument goal *after* loading the 10 file rather than when encountering the directive. Often this makes no 11 difference, but notably load_foreign_library/1 is an exception. 12 Therefore we added use_foreign_library/1,2 that act as a directive and 13 provides proper integration with saved-states automatically. Loading 14 code using initialization(load_foreign_library(...)) will load the 15 library immediately and issue a warning. 16 17 See initialization/1,2 for details and further hints for dealing with 18 possible compatibility problems. 19[Jun 4 2009] 20 21 * FIXED: Typo in new ODBC predicate. Matt Lilley. 22 23[Jun 2 2009] 24 25 * ADDED: odbc_driver_connect/3. Based on patch by Matt Lilley. 26 27[Mar 19 2009] 28 29 * CLEANUP: Removed all trailing whitespace from all source-files. This avoids many GIT (merge) warnings. 30[Mar 12 2009] 31 32 * MODIFIED: Renamed concat_atom/2,3 into atomic_list_concat/2,3 for compatibility. Moved the old predicates into library(backcomp). It is adviced to update your code, but 99% of the code will remain working because the old definitions are autoloaded. 33 34[Sep 24 2008] 35 36 * FIXED: ODBC: Support for longblob on 64-bit machines. 37 38 * FIXED: ODBC support for time and date (SQL_C_TYPE_DATE/SQL_C_TYPE_TIME) 39 40 * ADDED: ODBC: Support SQL_BIGINT 41 42 * FIXED: ODBC error reporting on 64-bit machines (crash) 43 44[Sep 11 2008] 45 46 * PORT: Add AC_PREREQ to configure.h for systems that auto-select autoconf 47 versions. After tip by Ulrich Neumerkel. 48 49[Aug 11 2008] 50 51 * INSTALL: Remove all configure files from the git repository 52[Mar 4 2008] 53 54 * ENHANCED: Determinism of odbc_table_column/3,4. Nicos Angelopoulos. 55 56[Jan 23 2008] 57 58 * PORT: Bug#346: Allow overriding COFLAGS and CWFLAGS in package 59 configuration. Keri Harris. 60[Nov 29 2007] 61 62 * MODIFIED: Uptill now the SWI-Prolog interface had a work-around for an MS 63 SQL Server bug reporting the number of columns of meta-data wrong and providing 64 the wrong length for column names. The work-around however could cause problems 65 with 0-bytes in real data and has now been disabled. Matt Lilley. 66 67[Nov 26 2007] 68 69 * FIXED: Bug#327: Use SQLGetData() for columns claiming to be zero-with. Holger 70 Kanwischer 71[Nov 8 2007] 72 73 * ADDED: Support for `MARS' connections in library(odbc). Matt Lilley. 74 75Jun 6, 2007 76 77* Fix possible overflow of diagnostic message, returning rubbish. Matt 78 Lilley. 79 80May 31, 2007 81 82* Fix test script for encoding issues and empty password 83 84Nov 8, 2006 85 86* CLEANUP: Some gcc warnings 87 88Sep 15, 2006 89 90* FIXED: Properly get user and password from config file (pass NULL instead 91 of ""). 92* FIXED: Enhance error reporting. 93 94Aug 15, 2006 95 96* ADDED: Bug#193: Checking result-codes in disconnect. 97 98Jul 25, 2006 99 100* Fixed odbc_current_connection(-,-). Nicos Angelo 101 102Feb 15, 2006 103 104* Bug#140: Fix setting LIBS in configure. Sandro Hawke. 105 106Nov 14, 2005 107 108* PORT: make configure check for the types SQLLEN and SQLULEN. Anjo 109 Anjewierden. 110 111Oct 12, 2005 112 113* PORT: Stricter typing, look for Mac native iodbc library. 114 115Sep 27, 2003 116 117* FIXED: odbc_free_statement/1 for statements that use SQLPutData() to 118 provide long parameters. 119 120* ENHANCED: cleanup of context lifetime management (could lead do freeing 121 a context twice on some errors). 122 123Jun 6, 2003 124 125* ADDED: option wide_column_threashold, predicate odbc_debug/1 and some 126 additional tests around SQLGetData(). Used to work around an SQL Server 127 bug. 128 129May 28, 2003 130 131* FIXED: Pass long parameters using SQLPutData(). Fabien Toscado. 132 133May 3, 2003 134 135* PORT: clean compilation on GCC 3.3 136 137Mar 14, 2003 138 139* FIXED: Explicitely include libraries. 140 141Mar 6, 2003 142 143* ADDED: odbc_fetch/3 and odbc_close_statement/1. 144 145Mar 4, 2003 146 147* FIXED: Properly close statement when using the findall option. 148 149Nov 27, 2002 150 151* FIXED: if odbc_connect/3 has the silent(true) option, don't print 152 informational message from the connect (Mike Elston). 153 154Nov 4, 2002 155 156* FIXED: Fetching VARCHAR/VARBINARY columns with value NULL and column-width 157 > 1024. Mike Elston. 158 159Oct 24, 2002 160 161* FIXED: Work around SQL Server bug reporting the number of columns in 162 SQLColumns() as 19 rather than 12. Steve Moyle. 163 164Oct 23, 2002 165 166* FIXED: Work around Postgress driver bug not support GetData properly. 167 Steve Moyle. 168 169Sep 30, 2002 170 171* FIXED: stripped the left 24 characters of LONGVAR* types. Thomas Moraitis. 172 173Sep 27, 2002 174 175* FIXED: fetch LONGVAR* types properly in drivers that do not produce 176 the length of the longest column (MS-Access). Thomas Moraitis. 177 178Sep 25, 2002 179 180* FIXED: proper handling of BINARY data-types. Spotted by 181 Wouter Jansweijer. 182 183Sep 19, 2002 184 185* FIXED: type-specifier use second argument as scale argument (i.e. 186 decimal(14,2). Mike Elston. 187 188Sep 15, 2002 189 190* FIXED: increase column-width for DECIMAL columns as the interface doesn't 191 appear to consider the decimal dot when providing the column width. 192 193Jul 24, 2002 194 195* FIXED: Check malloc() return and use PL_* allocation where necessary. 196 197Jul 17, 2002 198 199* ADDED: consistency check betweem declared and used parameters in 200 odbc_prepare/5 based on SQLNumParams(). 201 202Jul 16, 2002 203 204* Fixed problem with pre-fetching if rows are partially instantiated. 205 Petter Egesund. 206 207Jul 13, 2002 208 209* Fixed handling default in types(Types) option of odbc_query. 210 211* Many textual improvements in the documentation. 212 213Jul 12, 2002 214 215* Add alpha findall/2 option to odbc_query/4 and odbc_prepare/5. 216 217* Add number of rows affected return to odbc_query/4 and odbc_execute/2. 218 219* Succeed deterministically if last value is retrieved. 220 221* Documentation updates 222 223Jul 10, 2002 224 225* Provide access to source (table and column) of result-columns. 226 227Jul 9, 2002 228 229* Added writing NULL-data with prepared statements. 230 231* Added programmable NULL-data representation (Mike Elston). 232 233Jul 7, 2002 234 235* Initial alpha release. 236