ChangeLog 16 KB

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