2007-09-11 AMC <amc1999@gmail.com>
[mono.git] / mcs / class / System.Data / System.Data.Odbc / ChangeLog
index 00a09a44c9ee3a21da5b6d42c42eeea44a7b120d..13a579d4167c720c9af6dc66f220c4001c1db1b7 100644 (file)
@@ -1,3 +1,250 @@
+2007-09-11  AMC  <amc1999@gmail.com>
+
+       * OdbcDataReader.cs (GetPrimaryKeys): ODBC data reader can now
+       properly handle "no-primary-keys" situation. Fixes bug # 82560.
+
+2007-09-11  Nagappan A  <anagappan@novell.com>
+
+       * OdbcConnectionStringBuilder.cs: Fixed Dsn DisplayName attribute.
+
+2007-08-13  Nagappan A  <anagappan@novell.com>
+
+       * OdbcMetaDataColumnNames.cs: Added new class.
+
+       * OdbcMetaDataCollectionNames.cs: Added new class.
+
+       * OdbcParameter.cs: 2.0 compatibility changes.
+
+       * OdbcFactory.cs (CreateConnectionStringBuilder)
+       (CreatePermission): Implemented new methods.
+
+       * OdbcInfoMessageEventHandler.cs: 2.0 compatibility changes.
+
+       * OdbcConnection.cs: 2.0 compatibility changes.
+       (GetSchema): Added new overloaded methods.
+
+       * OdbcConnectionStringBuilder.cs (Driver, Dsn): Added attributes
+       as per 2.0 requirement.
+
+       * OdbcDataReader.cs: 2.0 compatibility changes.
+
+       * OdbcCommandBuilder.cs: 2.0 compatibility changes.
+
+       * OdbcCommand.cs: 2.0 compatibility changes.
+
+       * OdbcErrorCollection.cs (CopyTo): Implemented new overloaded
+       method.
+
+       * OdbcException.cs: In 2.0 DbException should be inherited instead
+       of SystemException.
+
+2007-07-31  Nagappan A  <anagappan@novell.com>
+
+       * OdbcCommand.cs (ExecSQL): Thanks to amc1999@gmail.com (amc) for
+         providing the patch, Fixes bug # 82135. ODBC SQLExecDirect
+         error. Delete where no-data-found fails.
+
+       * OdbcCommandBuilder.cs: Removed bogus TODO.
+         Fixed 2.0 missing attributes
+
+       * libodbc.cs: Added new libodbc global constant SQL_NTS.
+
+       * OdbcCommand.cs (ExecSQL): Thanks to amc1999@gmail.com (amc) for
+         providing the patch, Fixes bug # 82191. ODBC command UTF8
+         error. SQL failed with UTF8 symbols in query.
+         Removed bogus TODO.
+         Fixed 2.0 missing attributes
+
+2007-07-22  Nagappan A  <anagappan@novell.com>
+
+       * OdbcDataAdapter.cs: Fixed compilation warning.
+
+       * OdbcTransaction.cs: Fixed compilation warning.
+
+2007-06-30  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * OdbcDataAdapter.cs: Only override Dispose on 1.0 profile. Added
+       stub for ICloneable.Clone.
+       * OdbcTransaction.cs: Dispose should be explicit interface impl., not
+       public. Connection is also public on 2.0 profile.
+
+2007-06-21  Nagappan A  <anagappan@novell.com>
+
+       * OdbcConnectionStringBuilder.cs: Added new file with the basic
+       work of Nidhi Rawal (rawalnidhi_rawal@yahoo.com).
+
+       * OdbcDataReader.cs (GetValue): Patch for varchar longer than 255
+       characters, by Mads Bondo Dydensborg <mbd@dbc.dk>.
+
+       * OdbcConnection.cs: Fixed compiler warning.
+
+2007-06-06  Amit Biswas <amit@amitbiswas.com>
+
+       * OdbcParameter.cs (OdbcParameter ()): Changed default values in the constructor
+       
+       * OdbcParameterCollection.cs (AddRange (Array values)): Implemented missing method
+       (Add): Corrected bug related to default parameter names
+       (Insert): Added check for valid index values
+       (Contains): Corrected bug for case sensitivity
+       (IndexOf): Corrected bug for case sensitivity
+       (IndexOf): Corrected bug in comparing parameter names
+       (Remove): Added check for non existing parameters
+       (AddRange (OdbcParameter): Implemented missing method
+       (AddRange (Array values): Implemented missing method
+       (Insert (int index, OdbcParameter value)): Implemented missing method
+       (Insert (int index, object value)): Implemented missing method
+       (AddWithValue (string parameterName, Object value)): Implemented missing method
+       (Remove (OdbcParameter value)): Implemented missing method
+       (Contains (OdbcParameter value)): Implemented missing method
+       (CopyTo (OdbcParameter [] array, int index)): Implemented missing method
+
+2007-05-30  Nagappan A  <anagappan@novell.com>
+
+       * OdbcDataReader.cs (GetValue): Adds nano seconds as tickcs from
+       the received buffer.
+
+2007-05-25  Nagappan A  <anagappan@novell.com>
+
+       * OdbcDataReader.cs (GetValue): Sybase returns the fraction values
+       in nano seconds, but DateTime expects the value in milliseconds,
+       so the conversion.
+
+2007-05-04  Nagappan A  <anagappan@novell.com>
+
+       * libodbc.cs: Wrong ODBC API definitions (using ints instead of
+       shorts) - Fixes bug 81306. Thanks to will.mooar@tait.co.nz and
+       tausq@debian.org.
+
+       * OdbcDataReader.cs: Wrong ODBC API definitions (using ints
+       instead of shorts) - Fixes bug 81306. Thanks to
+       will.mooar@tait.co.nz and tausq@debian.org.
+
+2007-02-09  Nagappan A  <anagappan@novell.com>
+
+       * OdbcDataReader.cs (GetDecimal): Implemented new API.
+
+2007-01-08  Nagappan A  <anagappan@novell.com>
+
+       * OdbcFactory.cs: Fixed compilation warning.
+
+       * OdbcCategoryAttribute.cs (Category): Implemented missing
+       property.
+
+       * OdbcParameterCollection.cs: Fixed compilation warning.
+
+       * OdbcCommandBuilder.cs (GetInsertCommand, GetUpdateCommand)
+       (GetDeleteCommand): Implemented overloaded method.
+
+       * OdbcTransaction.cs: Modified partial content of DOS format file
+       to UNIX format.
+
+2006-07-13  Senganal T  <tsenganal@novell.com>
+
+       * OdbcTransaction.cs OdbcCommand.cs OdbcConnectionFactory.cs 
+       OdbcPermission.cs OdbcDataReader.cs OdbcParameterCollection.cs 
+       OdbcConnection.cs OdbcFactory.cs OdbcParameter.cs :
+               2.0 Api fixes
+
+2006-05-31  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * OdbcErrorCollection.cs: Removed explicit interface implementation 
+       of IEnumerable.GetEnumerator ().
+       * OdbcCommand.cs: Removed destructor as the destructor in
+       System.ComponentModel.Component already calls the Dispose method.
+       Removed explicit interface implemenation of members that are 
+       implement by public members.
+       * OdbcDataReader.cs: Removed explicit interface implemenation of
+       IDataRecord.GetData.
+
+2006-05-24  Senganal T <tsenganal@novell.com>
+       
+       * OdbcColumn.cs :
+               - Added IsVariableSizeType : Handle types with variable datasize
+       * OdbcTypeConverter.cs : map LongVarBinary to Image
+       * OdbcDataReader.cs :
+               - GetValue () : Handle Text,Image datatypes differently. Only allocate
+               storage for the data contained and not for MaxLength. Fixes #78234
+
+2006-05-09  Senganal T  <tsenganal@novell.com>
+
+       * OdbcConnection.cs : Implemented ChangeDatabase Method
+       * libodbc.cs : Added value for CurrentCatalog in OdbcConnectionAttribute 
+
+2006-02-17  Chris Toshok  <toshok@ximian.com>
+
+       * OdbcDataReader.cs: remove VisibleFieldCount property.
+
+2005-11-21  Senganal T <tsenganal@novell.com>
+
+       * OdbcTransaction.cs
+       * OdbcCommandBuilder.cs
+       * OdbcParameterCollection.cs
+       * OdbcDataReader.cs
+       * OdbcFactory.cs
+       * OdbcDataAdapter.cs
+       * OdbcParameter.cs
+       
+       Added stubs and other changes for ADO.NET 2.0 compatibility
+
+2005-10-14  Senganal T <tsenganal@novell.com>
+
+       * OdbcColumn.cs : Changed the mapping of OdbcType.Char to string
+       instead of char. Fixes bug #67269
+
+2005-10-14  Senganal T <tsenganal@novell.com>
+
+       * OdbcDataReader.cs: Added Text and NText datatypes to the list
+       of datatypes checked by GetValue () method. Fixes bug #75032
+
+2005-10-14  Sureshkumar T  <tsureshkumar@novell.com>
+
+       * OdbcDataReader.cs (GetValue): Use SQL_CHAR for Numeric as
+       temporary fix.
+
+       * OdbcParameter.cs (CopyValue): Add support for Numeric & Decimal
+       parameters.
+
+2005-10-08  Sureshkumar T  <tsureshkumar@novell.com>
+
+       * OdbcCommand.cs (BindParameters): Copy the parameter Value after
+       binding.
+
+       * OdbcParameter.cs: re-implemented the native buffer handling and
+       odbc type handling.
+
+       * NativeBuffer.cs: A native buffer class to hold pointer to native
+       memory.
+
+       * OdbcTypeMap.cs (OdbcTypeMap): structure to hold different odbc
+       types and the default mapping.
+
+       * OdbcTypeConverter.cs: Simplified mapping between different odbc
+       types using switch-case.
+
+       * libodbc.cs (SQLBindParameter): use only one entry point and use
+       IntPtr instead of ref.
+
+2005-08-20  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * OdbcDataReader.cs: Marked GetPrimaryKeysBySQLStatistics unsafe.
+       This fixes the build on Windows (using csc).
+
+2005-08-09  Sureshkumar T  <tsureshkumar@novell.com>
+
+       * OdbcDataReader.cs: GetSchemaTable (): set values for the column
+       attributes using SQLColAttribute. If SQLPrimaryKeys does not
+       yeild, try SQLStatistics. Optimized primary key logic.
+
+       * libodbc.cs: Added api SQLStatistics and constants.
+
+       * OdbcParameter.cs: setBuffer (): allocate a short int buffer for
+       OdbcType.SmallInt. fixes bug #75600.
+
+2005-08-08  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * OdbcConnection.cs: Marked Init helper method private.
+       * OdbcCommand.cs: Marked BindParameters helper method private.
+
 2005-08-08  Sureshkumar T  <tsureshkumar@novell.com>
 
        * OdbcDataReader.cs: Implemented Dispose pattern. Cache