ChangeLog 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. 2005-03-15 Sureshkumar T <[email protected]>
  2. * OdbcConnection.cs: re-throw error on exception in Open method.
  3. 2005-03-11 Sureshkumar T <[email protected]>
  4. * OdbcConnection.cs : notify state change through event. clean up
  5. handles in case any exception while opening a connection. NET_2_0
  6. uses base class's OnStateChange handler.
  7. 2005-03-10 Sureshkumar T <[email protected]>
  8. Migrated core classes to derive from ProviderBase instead of
  9. implementing IDb* interfaces. Most part of these files have been
  10. branched with #if NET_2_0/ONLY_1_1. Make sure any changes works
  11. with both the profiles.
  12. * OdbcFactory.cs: Concrete Factory for DbProviderFactory. Factory
  13. to generate Connection,Command,etc.
  14. * OdbcConnectionFactory.cs: Concrete factory for DbConnectionFactory.
  15. * OdbcTransaction.cs: migration and overrides.
  16. * OdbcCommandBuilder.cs: migration and overrides.
  17. * OdbcDataReader.cs: --do--. no command behavior member as it will
  18. be maintained in base provider class.
  19. * OdbcParameterCollection.cs: --do--. Now, local ArrayList is not
  20. maintained here, instead it is in base class. Most of the methods
  21. which operated on this list are not needed in NET_2_0.
  22. * OdbcConnection.cs: Migration. connectionString is maintained in
  23. DbConnectionBase class.
  24. * OdbcParameter.cs: Migration. Many of the local members like
  25. value,sourceColumn are maintained in DbParameterBase.
  26. * OdbcCommand.cs: Migration. commandText,timeout and
  27. commandTimeOut are maintained in DbCommandBase class.
  28. 2005-03-10 Sureshkumar T <[email protected]>
  29. * OdbcType.cs: Added enums for SQL_TYPE & SQL_C_TYPE.
  30. * libodbc.cs: Accept SQL_C_TYPE for driver
  31. parameters. SQLBindParameter takes two parameters SQL_TYPE and
  32. SQL_C_TYPE. This caused the whole lot of changes done in this
  33. revision.
  34. * OdbcParameter.cs: Set default values of OdbcType & DbType. Pass
  35. mapped SQL_TYPE and SQL_C_TYPE to SQLBindParameter. Increase
  36. buffer size by 2 for additional ' chars.
  37. * OdbcTypeConverter.cs: Added class to convert between OdbcType,
  38. SQL_TYPE, SQL_C_TYPE.
  39. * OdbcColumn.cs: Added private members for SQL_TYPE and
  40. SQL_C_TYPE. conversion from/to odbctype to/from SQL_TYPE is done
  41. through OdbcTypeConverter class.
  42. * OdbcDataReader.cs: use OdbcColumn's SQL_C_TYPE member. It keeps
  43. track of default mapping between odbctype, SQL_TYPE and
  44. SQL_C_TYPE. Move dataTableSchema.AcceptChanges inside if condition
  45. to avoid null reference exception.
  46. 2005-02-04 Sureshkumar T <[email protected]>
  47. Appasamy <[email protected]>
  48. * OdbcConnection.cs: Implemented properties database, datasource,
  49. serverversion and driver.
  50. * libodbc.cs: Added type OdbcInfo and native call SQLGetInfo.
  51. 2005-01-20 Sureshkumar T <[email protected]>
  52. * OdbcDataReader.cs: case for type OdbcType.Double added in
  53. GetValue. fixes bug #71173.
  54. Thanks to patch given by "Appasamy T" <[email protected]>
  55. 2005-01-19 Sureshkumar T <[email protected]>
  56. * OdbcType.cs: Change enum values for compatiability with MS.NET.
  57. * libodbc.cs: Change enum values for compatiability with
  58. MS.NET. Change calls into driver with native type.
  59. * OdbcDataReader.cs: Change enum values for compatiability with
  60. MS.NET. Change calls from/into driver with native type.
  61. 2005-01-18 Sureshkumar T <[email protected]>
  62. * OdbcDataReader.cs: GetOrdinal need not check for
  63. currentRow. Return -1 if column name is not found.
  64. fixes bug #71261. Thanks to patch given by "Appasamy T"
  65. <[email protected]>.
  66. 2005-01-13 Sureshkumar T <[email protected]>
  67. * OdbcDataReader.cs: Implement NextResultSet for multiple result
  68. set queries.
  69. * OdbcDataReader.cs: build column schema once creating reader and
  70. then for each Next result set. Thanks to
  71. [email protected] (Sebastien Robitaille) for
  72. pointing out this optimization (bugzilla #70530).
  73. * libodbc.cs: Added library calls SQLFreeStmt and SQLMoreResults
  74. for mutiple resultsets.
  75. 2005-01-10 Sureshkumar T <[email protected]>
  76. * OdbcDataReader.cs: Connection has to be closed only after
  77. Statement handle is freed. fixes bug #70048.
  78. 2005-01-07 Sureshkumar T <[email protected]>
  79. * OdbcDataReader.cs: Pass OdbcCType.SignedBigInt for accessing big
  80. int columns.
  81. * OdbcType.cs: Added a new enum for Odbc C DataTypes. This should
  82. essentially be passed to drivers, since the public OdbcType types
  83. differs from types expected in drivers in some cases.
  84. * libodbc.cs : Added a ODBC method which takes OdbcCType
  85. enumeration for SQLGetData for BigInt fields.
  86. fixes bug #65342.
  87. 2004-12-28 Duncan Mak <[email protected]>
  88. * libodbc.cs: Change all the DllImport attributes to point to
  89. "odbc32.dll" instead of "odbc32", because /etc/mono/config lists
  90. "odbc32.dll" (all other entries in the file have the .dll suffix
  91. as well, for consistency's sake, let's rename it here.)
  92. This fixes #70727.
  93. 2004-12-03 Sureshkumar T <[email protected]>
  94. * OdbcParameter.cs: Fixed a null reference exception when a
  95. parameter is created and its value is not set. #68750.
  96. 2004-11-26 Sureshkumar T <[email protected]>
  97. * OdbcParameter.cs: Fixed Parameter Size property as well as
  98. insufficient buffer errors. bug #68749.
  99. 2004-09-14 Sebastien Pouliot <[email protected]>
  100. * OdbcPermission.cs: Added internal constructor accepting an Odbc
  101. PermissionAttribute parameter (using base class protected ctor).
  102. * OdbcPermissionAttribute.cs: Copy now use the new OdbcPermission
  103. constructor.
  104. 2004-09-13 Sebastien Pouliot <[email protected]>
  105. * OdbcPermission.cs: Mostly completed (needs tests).
  106. * OdbcPermissionAttribute.cs: Completed.
  107. 2004-08-31 Umadevi S ([email protected])
  108. * OdbcDataReader.cs - Fixed Decimal parsing
  109. 2004-08-30 Umadevi S ([email protected])
  110. * OdbcType.cs - removed inheritance from short.
  111. 2004-08-27 Sureshkumar T ([email protected])
  112. * OdbcDataReader.cs - fixed bug #63539 - TINYINT ODBC datatype is converted into System.Byte
  113. 2004-08-26 Sureshkumar T ([email protected])
  114. * OdbcDataReader.cs - Date & DateTime GetValue fixed.
  115. GetBytes ordinal parameter passing fixed for BINARY in GetValue.
  116. 2004-08-20 Sureshkumar T ([email protected])
  117. * OdbcConnection.cs - correct handles are passed to OdbcError exception to trap the correct error
  118. 2004-08-04 Umadevi S ([email protected])
  119. * OdbcDataReader.cs - Fixed bug 61832 - Column names were not filled, due to which name based lookup of columns failed.
  120. 2004-08-04 Umadevi S ([email protected])
  121. * OdbcDataReader.cs - Fixed bug 61405 - Handling smallint column type.
  122. 2004-07-30 Sureshkumar T ([email protected])
  123. * OdbcCommand.cs: ExecuteNonQuery Closed statement handle to fix memory leak
  124. * OdbcDataReader.cs: Closed statement handle to fix memory leak
  125. Removed SQLState login in GetBytes coz OdbcError provides the same.
  126. 2004-07-29 Umadevi S ([email protected])
  127. * OdbcCommand.cs - Fixed bug 62046. ExecuteNonQuery implemented correctly
  128. 2004-07-28 Umadevi S ([email protected])
  129. * OdbcParameter.cs - fixed bug 61968. String values passed with quotes
  130. 2004-07-07 Umadevi S ([email protected])
  131. * OdbcConnection.cs - Allowed Close to be called multiple times
  132. - Implementation of Dispose method
  133. 2004-07-07 Umadevi S ([email protected])
  134. * OdbcCommand.cs : fixed set method for Transaction
  135. 2004-07-01 Sureshkumar T ([email protected])
  136. * OdbcCommand.cs : fixed reader problem with ExecuteScalar
  137. 2004-06-23 Sureshkumar T ([email protected])
  138. * OdbcConnection.cs: Fix: Moved env allocation to Open method.
  139. Disconnection & freeing handles are done in Close
  140. method to avoid simultaneous connections.
  141. * libodbc.cs : Added constants for odbc version.
  142. 2004-06-16 Gert Driesen <[email protected]>
  143. * OdbcError.cs: fixed serialization compatibility with MS.NET
  144. * OdbcErrorCollection.cs: fixed serialization compatibility with
  145. MS.NET
  146. * OdbcException.cs: fixed serialization compatibility with MS.NET
  147. 2004-06-16 Sureshkumar T ([email protected])
  148. * OdbcDataReader.cs: Added GetValue support for Sql Binary type to return byte array.
  149. Implemented GetBytes method.
  150. * libodbc.cs : Added enums, constants & imports for above fix.
  151. 2004-06-13 Gert Driesen <[email protected]>
  152. * OdbcDataReader.cs: changed GetData method to return IDataReader
  153. to match MS.NET
  154. 2004-06-09 Sureshkumar T ([email protected])
  155. * OdbcDataReader.cs: Removed checking of currentRow in GetName
  156. method
  157. 2004-06-04 Gert Driesen <[email protected]>
  158. * OdbcPermission.cs: moved Obsolete attribute to correct
  159. ctor
  160. 2004-06-02 Sureshkumar T ([email protected])
  161. * OdbcDataReader.cs: Implemented GetByte method. Fixed bug #58820
  162. 2004-06-02 Gert Driesen <[email protected]>
  163. * OdbcParameter.cs: added missing attributes
  164. * OdbcPermission.cs: added missing attributes
  165. * OdbcConnection.cs: fixes attribute, added missing attributes
  166. * OdbcInfoMessageEventArgs.cs: removed extra properties, fixed
  167. API compatibility with MS.NET
  168. * OdbcCommandBuilder.cs: use correct attributes
  169. 2004-05-20 Gert Driesen ([email protected])
  170. * OdbcPermissionAttribute.cs: change AllowMultiple and
  171. Inherited to match .NET
  172. 2004-05-17 Umadevi S ([email protected])
  173. * OdbcPermissionAttribute, OdbcPermission.cs - fixed missing methods
  174. 2004-05-17 Gert Driesen ([email protected])
  175. * OdbcCategoryAttribute.cs: fixed namespace
  176. * OdbcDataAdapter.cs: removed extra attributes
  177. * OdbcDescriptionAttribute.cs: fixed namespace
  178. 2004-05-14 Umadevi S ([email protected])
  179. * OdbcParameterConverter.cs -Added
  180. * OdbcParameter.cs - Added some attributes
  181. 2004-05-14 Umadevi S ([email protected])
  182. * OdbcDataAdapter.cs - Added Attributes
  183. 2004-05-14 Umadevi S ([email protected])
  184. * OdbcConnection.cs - Added Attributes
  185. 2004-05-14 Umadevi S ([email protected])
  186. * OdbcCommand.cs - Added Attributes
  187. 2004-05-14 Umadevi S ([email protected])
  188. * OdbcDataReader.cs - Added Attributes
  189. 2004-05-14 Umadevi S ([email protected])
  190. * Added Classes OdbcCategoryAttribute.cs, OdbcDescriptionAttribute.cs
  191. 2004-05-14 Umadevi S ([email protected])
  192. * Added Class OdbcCommandBuilder.cs
  193. 2004-05-14 Umadevi S ([email protected])
  194. * Added classes OdbcInfoMessageEventArgs.cs - with stubs
  195. * Added classes OdbcInfoMessageEventInfo.cs
  196. 2004-05-14 Umadevi S ([email protected])
  197. * Added classes OdbcPermission.cs, OdbcPermissionAttribute.cs - with stubs
  198. 2004-05-09 Gert Driesen ([email protected])
  199. * OdbcException.cs : removed ErrorCode property, fixing signature
  200. * OdbcErrorCollection.cs : added internal ctor, reduced
  201. accessibility of Add method to internal
  202. * OdbcCommand.cs: marked hstmt field private, remove setters for
  203. Parameters property
  204. * OdbcDataReader.cs: Added GetDate method, renamed GetTimeSpan to
  205. GetTime to match MS.NET, added HasRows stub
  206. 2004-05-09 Gert Driesen ([email protected])
  207. * OdbcError.cs:
  208. * OdbcErrorCollection.cs:
  209. * OdbcException.cs: fixed linefeeds to DOS to match other
  210. sources in System.Data.Odbc
  211. 2004-05-09 Gert Driesen ([email protected])
  212. * OdbcCommand.cs: No longer use OdbcConnection.Datareader, in order
  213. to fix signature of OdbcConnection
  214. * OdbcDataReader.cs: No longer use ODbcConnection.Datareader, in
  215. order to fix signature of OdbcConnection
  216. * OdbcConnection.cs: Signature fixes: removed DataReader property,
  217. added setter for ConnectionTimeout, made transaction internal
  218. * OdbcParameter.cs: reduced accessibility of Bind method to
  219. internal, added setter for IsNullable
  220. * OdbcParameterCollection.cs: made default ctor and Bind method
  221. internal
  222. 2004-05-09 Gert Driesen ([email protected])
  223. * OdbcCommand.cs: fixed linefeeds to DOS to match other sources
  224. in System.Data.Odbc
  225. 2004-05-09 Gert Driesen ([email protected])
  226. * OdbcTransaction.cs: fixed signature to match MS.NET
  227. 2004-05-09 Gert Driesen ([email protected])
  228. * OdbcType.cs: fixed typo UniqueIndetifier
  229. * OdbcColumn.cs : fixed typo UniqueIndetifier
  230. 2004-05-09 Gert Driesen ([email protected])
  231. * OdbcType.cs: fixed linefeeds to DOS to match other sources
  232. in System.Data.Odbc
  233. 2003-12-01 Gonzalo Paniagua Javier <[email protected]>
  234. * OdbcTransaction.cs: applied patch from Jeff Seifert that makes
  235. this class implement IDbTransaction interface.
  236. 2002-11-01 Daniel Morgan <[email protected]>
  237. * OdbcDataReader.cs: - uncommented code, but I put a FIXME:
  238. according to Brian, this does not work on MS .NET however, we need it
  239. for Mono for now. schemaRow.AcceptChanges(),
  240. - implement IEnumerable.GetEnumerator()
  241. * libodbc.cs: changed the DllImport from "odbc32.dll" to "odbc32"
  242. 2002-10-21 Gonzalo Paniagua Javier <[email protected]>
  243. * ChangeLog: added.
  244. * OdbcError.cs:
  245. * OdbcException.cs: added dummy implementation for these missing
  246. classes.