ChangeLog 14 KB

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