ChangeLog 14 KB

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