ChangeLog 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742
  1. 2007-09-27 Nagappan A <[email protected]>
  2. * OdbcTransaction.cs: AutoCommit and BeginTransaction fix. Thanks to
  3. Mads Bondo Dydensborg <[email protected]> and Amc <[email protected]> for
  4. providing this patch.
  5. 2007-09-25 Nagappan A <[email protected]>
  6. * OdbcParameter.cs (ResetOdbcType, ResetDbType): Implemented
  7. missing methods. 2.0 attribute fixes.
  8. * OdbcInfoMessageEventArgs.cs (Message, Errors, ToString):
  9. Implemented missing properties and methods. 2.0 attribute fixes.
  10. * OdbcConnection.cs (InfoMessage): Added public event and relevant
  11. private APIs. 2.0 attribute fixes.
  12. * OdbcConnectionStringBuilder.cs: 2.0 attribute fixes.
  13. * OdbcParameterCollection.cs (GetParameter, SetParameter):
  14. Implemented missing 2.0 APIs and 2.0 attribute fixes.
  15. * OdbcDataReader.cs (finalize): 2.0 compatibility fixes.
  16. * OdbcPermission.cs (Add): 2.0 compatibility fixes.
  17. * OdbcCommandBuilder.cs: 2.0 attribute fixes.
  18. * OdbcRowUpdatingEventArgs.cs (BaseCommand): Added 2.0 property.
  19. * OdbcCommand.cs: 2.0 attribute fixes.
  20. * OdbcException.cs: 2.0 attribute fixes.
  21. 2007-09-11 AMC <[email protected]>
  22. * OdbcDataReader.cs (GetPrimaryKeys): ODBC data reader can now
  23. properly handle "no-primary-keys" situation. Fixes bug # 82560.
  24. 2007-09-11 Nagappan A <[email protected]>
  25. * OdbcConnectionStringBuilder.cs: Fixed Dsn DisplayName attribute.
  26. 2007-08-13 Nagappan A <[email protected]>
  27. * OdbcMetaDataColumnNames.cs: Added new class.
  28. * OdbcMetaDataCollectionNames.cs: Added new class.
  29. * OdbcParameter.cs: 2.0 compatibility changes.
  30. * OdbcFactory.cs (CreateConnectionStringBuilder)
  31. (CreatePermission): Implemented new methods.
  32. * OdbcInfoMessageEventHandler.cs: 2.0 compatibility changes.
  33. * OdbcConnection.cs: 2.0 compatibility changes.
  34. (GetSchema): Added new overloaded methods.
  35. * OdbcConnectionStringBuilder.cs (Driver, Dsn): Added attributes
  36. as per 2.0 requirement.
  37. * OdbcDataReader.cs: 2.0 compatibility changes.
  38. * OdbcCommandBuilder.cs: 2.0 compatibility changes.
  39. * OdbcCommand.cs: 2.0 compatibility changes.
  40. * OdbcErrorCollection.cs (CopyTo): Implemented new overloaded
  41. method.
  42. * OdbcException.cs: In 2.0 DbException should be inherited instead
  43. of SystemException.
  44. 2007-07-31 Nagappan A <[email protected]>
  45. * OdbcCommand.cs (ExecSQL): Thanks to [email protected] (amc) for
  46. providing the patch, Fixes bug # 82135. ODBC SQLExecDirect
  47. error. Delete where no-data-found fails.
  48. * OdbcCommandBuilder.cs: Removed bogus TODO.
  49. Fixed 2.0 missing attributes
  50. * libodbc.cs: Added new libodbc global constant SQL_NTS.
  51. * OdbcCommand.cs (ExecSQL): Thanks to [email protected] (amc) for
  52. providing the patch, Fixes bug # 82191. ODBC command UTF8
  53. error. SQL failed with UTF8 symbols in query.
  54. Removed bogus TODO.
  55. Fixed 2.0 missing attributes
  56. 2007-07-22 Nagappan A <[email protected]>
  57. * OdbcDataAdapter.cs: Fixed compilation warning.
  58. * OdbcTransaction.cs: Fixed compilation warning.
  59. 2007-06-30 Gert Driesen <[email protected]>
  60. * OdbcDataAdapter.cs: Only override Dispose on 1.0 profile. Added
  61. stub for ICloneable.Clone.
  62. * OdbcTransaction.cs: Dispose should be explicit interface impl., not
  63. public. Connection is also public on 2.0 profile.
  64. 2007-06-21 Nagappan A <[email protected]>
  65. * OdbcConnectionStringBuilder.cs: Added new file with the basic
  66. work of Nidhi Rawal ([email protected]).
  67. * OdbcDataReader.cs (GetValue): Patch for varchar longer than 255
  68. characters, by Mads Bondo Dydensborg <[email protected]>.
  69. * OdbcConnection.cs: Fixed compiler warning.
  70. 2007-06-06 Amit Biswas <[email protected]>
  71. * OdbcParameter.cs (OdbcParameter ()): Changed default values in the constructor
  72. * OdbcParameterCollection.cs (AddRange (Array values)): Implemented missing method
  73. (Add): Corrected bug related to default parameter names
  74. (Insert): Added check for valid index values
  75. (Contains): Corrected bug for case sensitivity
  76. (IndexOf): Corrected bug for case sensitivity
  77. (IndexOf): Corrected bug in comparing parameter names
  78. (Remove): Added check for non existing parameters
  79. (AddRange (OdbcParameter): Implemented missing method
  80. (AddRange (Array values): Implemented missing method
  81. (Insert (int index, OdbcParameter value)): Implemented missing method
  82. (Insert (int index, object value)): Implemented missing method
  83. (AddWithValue (string parameterName, Object value)): Implemented missing method
  84. (Remove (OdbcParameter value)): Implemented missing method
  85. (Contains (OdbcParameter value)): Implemented missing method
  86. (CopyTo (OdbcParameter [] array, int index)): Implemented missing method
  87. 2007-05-30 Nagappan A <[email protected]>
  88. * OdbcDataReader.cs (GetValue): Adds nano seconds as tickcs from
  89. the received buffer.
  90. 2007-05-25 Nagappan A <[email protected]>
  91. * OdbcDataReader.cs (GetValue): Sybase returns the fraction values
  92. in nano seconds, but DateTime expects the value in milliseconds,
  93. so the conversion.
  94. 2007-05-04 Nagappan A <[email protected]>
  95. * libodbc.cs: Wrong ODBC API definitions (using ints instead of
  96. shorts) - Fixes bug 81306. Thanks to [email protected] and
  97. [email protected].
  98. * OdbcDataReader.cs: Wrong ODBC API definitions (using ints
  99. instead of shorts) - Fixes bug 81306. Thanks to
  100. [email protected] and [email protected].
  101. 2007-02-09 Nagappan A <[email protected]>
  102. * OdbcDataReader.cs (GetDecimal): Implemented new API.
  103. 2007-01-08 Nagappan A <[email protected]>
  104. * OdbcFactory.cs: Fixed compilation warning.
  105. * OdbcCategoryAttribute.cs (Category): Implemented missing
  106. property.
  107. * OdbcParameterCollection.cs: Fixed compilation warning.
  108. * OdbcCommandBuilder.cs (GetInsertCommand, GetUpdateCommand)
  109. (GetDeleteCommand): Implemented overloaded method.
  110. * OdbcTransaction.cs: Modified partial content of DOS format file
  111. to UNIX format.
  112. 2006-07-13 Senganal T <[email protected]>
  113. * OdbcTransaction.cs OdbcCommand.cs OdbcConnectionFactory.cs
  114. OdbcPermission.cs OdbcDataReader.cs OdbcParameterCollection.cs
  115. OdbcConnection.cs OdbcFactory.cs OdbcParameter.cs :
  116. 2.0 Api fixes
  117. 2006-05-31 Gert Driesen <[email protected]>
  118. * OdbcErrorCollection.cs: Removed explicit interface implementation
  119. of IEnumerable.GetEnumerator ().
  120. * OdbcCommand.cs: Removed destructor as the destructor in
  121. System.ComponentModel.Component already calls the Dispose method.
  122. Removed explicit interface implemenation of members that are
  123. implement by public members.
  124. * OdbcDataReader.cs: Removed explicit interface implemenation of
  125. IDataRecord.GetData.
  126. 2006-05-24 Senganal T <[email protected]>
  127. * OdbcColumn.cs :
  128. - Added IsVariableSizeType : Handle types with variable datasize
  129. * OdbcTypeConverter.cs : map LongVarBinary to Image
  130. * OdbcDataReader.cs :
  131. - GetValue () : Handle Text,Image datatypes differently. Only allocate
  132. storage for the data contained and not for MaxLength. Fixes #78234
  133. 2006-05-09 Senganal T <[email protected]>
  134. * OdbcConnection.cs : Implemented ChangeDatabase Method
  135. * libodbc.cs : Added value for CurrentCatalog in OdbcConnectionAttribute
  136. 2006-02-17 Chris Toshok <[email protected]>
  137. * OdbcDataReader.cs: remove VisibleFieldCount property.
  138. 2005-11-21 Senganal T <[email protected]>
  139. * OdbcTransaction.cs
  140. * OdbcCommandBuilder.cs
  141. * OdbcParameterCollection.cs
  142. * OdbcDataReader.cs
  143. * OdbcFactory.cs
  144. * OdbcDataAdapter.cs
  145. * OdbcParameter.cs
  146. Added stubs and other changes for ADO.NET 2.0 compatibility
  147. 2005-10-14 Senganal T <[email protected]>
  148. * OdbcColumn.cs : Changed the mapping of OdbcType.Char to string
  149. instead of char. Fixes bug #67269
  150. 2005-10-14 Senganal T <[email protected]>
  151. * OdbcDataReader.cs: Added Text and NText datatypes to the list
  152. of datatypes checked by GetValue () method. Fixes bug #75032
  153. 2005-10-14 Sureshkumar T <[email protected]>
  154. * OdbcDataReader.cs (GetValue): Use SQL_CHAR for Numeric as
  155. temporary fix.
  156. * OdbcParameter.cs (CopyValue): Add support for Numeric & Decimal
  157. parameters.
  158. 2005-10-08 Sureshkumar T <[email protected]>
  159. * OdbcCommand.cs (BindParameters): Copy the parameter Value after
  160. binding.
  161. * OdbcParameter.cs: re-implemented the native buffer handling and
  162. odbc type handling.
  163. * NativeBuffer.cs: A native buffer class to hold pointer to native
  164. memory.
  165. * OdbcTypeMap.cs (OdbcTypeMap): structure to hold different odbc
  166. types and the default mapping.
  167. * OdbcTypeConverter.cs: Simplified mapping between different odbc
  168. types using switch-case.
  169. * libodbc.cs (SQLBindParameter): use only one entry point and use
  170. IntPtr instead of ref.
  171. 2005-08-20 Gert Driesen <[email protected]>
  172. * OdbcDataReader.cs: Marked GetPrimaryKeysBySQLStatistics unsafe.
  173. This fixes the build on Windows (using csc).
  174. 2005-08-09 Sureshkumar T <[email protected]>
  175. * OdbcDataReader.cs: GetSchemaTable (): set values for the column
  176. attributes using SQLColAttribute. If SQLPrimaryKeys does not
  177. yeild, try SQLStatistics. Optimized primary key logic.
  178. * libodbc.cs: Added api SQLStatistics and constants.
  179. * OdbcParameter.cs: setBuffer (): allocate a short int buffer for
  180. OdbcType.SmallInt. fixes bug #75600.
  181. 2005-08-08 Gert Driesen <[email protected]>
  182. * OdbcConnection.cs: Marked Init helper method private.
  183. * OdbcCommand.cs: Marked BindParameters helper method private.
  184. 2005-08-08 Sureshkumar T <[email protected]>
  185. * OdbcDataReader.cs: Implemented Dispose pattern. Cache
  186. schematable for same result set. don't free command's statements
  187. if the command is prepared.
  188. * OdbcConnection.cs: Open (): set disposed to false so that close
  189. will be called in Dispose.
  190. * OdbcCommand.cs:
  191. - Prepare (): Split SQLPrepare and SQLBind so that
  192. already prepared statements can be reused with new parameter
  193. values.
  194. - ExecSQL (): create new statement handle, if not prepared
  195. and there are no parameters. if there are parameters, prepare and
  196. use.
  197. - Implemented Dispose pattern
  198. - Streamlined the allocation and de-allocation of statement
  199. handles.
  200. 2005-08-05 Sureshkumar T <[email protected]>
  201. * OdbcDataReader.cs: RecordsAffected: get value from command.
  202. GetSchemaTable (): set IsExpression based on BaseTableName. set
  203. AllowDBNull to false if the column is PK.
  204. * OdbcCommand.cs: correct UpdatedRowSource is returned. whitespace
  205. changes to conform to standard.
  206. * OdbcCommandBuilder.cs: Implemented.
  207. * OdbcParameter.cs: Direction is set to Input by default.
  208. 2005-07-22 Sureshkumar T <[email protected]>
  209. * OdbcParameter.cs: updated attributes & attribute descriptions to
  210. match with masterinfos.
  211. * OdbcDataReader.cs: NextRow (): made private.
  212. 2005-07-21 Sureshkumar T <[email protected]>
  213. * OdbcDataReader.cs: GetValue (): added case for OdbcType.Bit. and
  214. Formatting corrections. Fixes bug #75574.
  215. 2005-07-07 Sureshkumar T <[email protected]>
  216. * OdbcTypeConverter.cs: ConvertToSqlType & ConvertToSqlCType: map
  217. VarChar to SQL_C_CHAR and SQL_VARCHAR respective instead of WCHAR
  218. and WVARCHAR as temporary fix.
  219. * OdbcParameter.cs: setBuffer: string types need not be quoted.
  220. 2005-06-28 Sureshkumar T <[email protected]>
  221. * OdbcDataReader.cs: GetPrimaryKeys (): use the length indicator
  222. for GetString, otherwise, it creates a string of length 255. Use
  223. ArrayList for keys as the columns are different from the selected
  224. columns. fixes bug #75263.
  225. 2005-06-09 Sureshkumar T <[email protected]>
  226. * OdbcDataReader.cs: GetValue (): return decimal in case of odbc
  227. type Numeric. Move the temp buffer logic inside.
  228. * OdbcTypeConverter.cs: map SQL_TYPE.NUMERIC to SQL_C_TYPE.CHAR by
  229. now, since PgSql driver seems not to accept NUMERIC c type. Other
  230. database anyway, provides NUMERIC datatype as DECIMAL.
  231. 2005-05-31 Sureshkumar T <[email protected]>
  232. * OdbcParameter.cs: setBuffer (): for numeric type, the buffer
  233. parameter should be a packed decimal struct. fixes bug #75041.
  234. 2005-04-05 Sureshkumar T <[email protected]>
  235. * OdbcParameter.cs: SqlBindParameter requires the last parameter
  236. to be a ref.
  237. * libodbc.cs: API change for above.
  238. 2005-04-04 Sureshkumar T <[email protected]>
  239. * OdbcDataReader.cs: Ignore BaseTableName & BaseColumnName
  240. properties while building Schema information as most drivers
  241. ignores these properties. e.g. PostgreSQL.
  242. 2005-03-24 Sureshkumar T <[email protected]>
  243. Appasamy <[email protected]>
  244. * OdbcColumn.cs: IsStringType: OdbcType.Char is also of type
  245. String.
  246. * OdbcDataReader.cs: GetSchemaTable: Get Additional info using
  247. SQLColAttribute. Don't pad with spaces in GetColAttributeStr.
  248. 2005-03-24 Sureshkumar T <[email protected]>
  249. * OdbcDataReader.cs:
  250. - GetValue: Decode only outsize length for SQL_C_TYPE.CHAR type in
  251. SQLGetData.
  252. - GetOrdinal: Perform case insensitive lookup if sensitive lookup
  253. fails.
  254. 2005-03-22 Sureshkumar T <[email protected]>
  255. Appsamy <[email protected]>
  256. * libodbc.cs (System.Data.Odbc): Added enum FieldIdentifier. Added
  257. library functions SQLPrimaryKeys, SQLBindCol and SQLColAttribute.
  258. * OdbcDataReader.cs: Implemented GetPrimaryKeys to get the primary
  259. keys associated with resultset using SQLPrimaryKeys.
  260. 2005-03-15 Sureshkumar T <[email protected]>
  261. * OdbcConnection.cs: re-throw error on exception in Open method.
  262. 2005-03-11 Sureshkumar T <[email protected]>
  263. * OdbcConnection.cs : notify state change through event. clean up
  264. handles in case any exception while opening a connection. NET_2_0
  265. uses base class's OnStateChange handler.
  266. 2005-03-10 Sureshkumar T <[email protected]>
  267. Migrated core classes to derive from ProviderBase instead of
  268. implementing IDb* interfaces. Most part of these files have been
  269. branched with #if NET_2_0/ONLY_1_1. Make sure any changes works
  270. with both the profiles.
  271. * OdbcFactory.cs: Concrete Factory for DbProviderFactory. Factory
  272. to generate Connection,Command,etc.
  273. * OdbcConnectionFactory.cs: Concrete factory for DbConnectionFactory.
  274. * OdbcTransaction.cs: migration and overrides.
  275. * OdbcCommandBuilder.cs: migration and overrides.
  276. * OdbcDataReader.cs: --do--. no command behavior member as it will
  277. be maintained in base provider class.
  278. * OdbcParameterCollection.cs: --do--. Now, local ArrayList is not
  279. maintained here, instead it is in base class. Most of the methods
  280. which operated on this list are not needed in NET_2_0.
  281. * OdbcConnection.cs: Migration. connectionString is maintained in
  282. DbConnectionBase class.
  283. * OdbcParameter.cs: Migration. Many of the local members like
  284. value,sourceColumn are maintained in DbParameterBase.
  285. * OdbcCommand.cs: Migration. commandText,timeout and
  286. commandTimeOut are maintained in DbCommandBase class.
  287. 2005-03-10 Sureshkumar T <[email protected]>
  288. * OdbcType.cs: Added enums for SQL_TYPE & SQL_C_TYPE.
  289. * libodbc.cs: Accept SQL_C_TYPE for driver
  290. parameters. SQLBindParameter takes two parameters SQL_TYPE and
  291. SQL_C_TYPE. This caused the whole lot of changes done in this
  292. revision.
  293. * OdbcParameter.cs: Set default values of OdbcType & DbType. Pass
  294. mapped SQL_TYPE and SQL_C_TYPE to SQLBindParameter. Increase
  295. buffer size by 2 for additional ' chars.
  296. * OdbcTypeConverter.cs: Added class to convert between OdbcType,
  297. SQL_TYPE, SQL_C_TYPE.
  298. * OdbcColumn.cs: Added private members for SQL_TYPE and
  299. SQL_C_TYPE. conversion from/to odbctype to/from SQL_TYPE is done
  300. through OdbcTypeConverter class.
  301. * OdbcDataReader.cs: use OdbcColumn's SQL_C_TYPE member. It keeps
  302. track of default mapping between odbctype, SQL_TYPE and
  303. SQL_C_TYPE. Move dataTableSchema.AcceptChanges inside if condition
  304. to avoid null reference exception.
  305. 2005-02-04 Sureshkumar T <[email protected]>
  306. Appasamy <[email protected]>
  307. * OdbcConnection.cs: Implemented properties database, datasource,
  308. serverversion and driver.
  309. * libodbc.cs: Added type OdbcInfo and native call SQLGetInfo.
  310. 2005-01-20 Sureshkumar T <[email protected]>
  311. * OdbcDataReader.cs: case for type OdbcType.Double added in
  312. GetValue. fixes bug #71173.
  313. Thanks to patch given by "Appasamy T" <[email protected]>
  314. 2005-01-19 Sureshkumar T <[email protected]>
  315. * OdbcType.cs: Change enum values for compatiability with MS.NET.
  316. * libodbc.cs: Change enum values for compatiability with
  317. MS.NET. Change calls into driver with native type.
  318. * OdbcDataReader.cs: Change enum values for compatiability with
  319. MS.NET. Change calls from/into driver with native type.
  320. 2005-01-18 Sureshkumar T <[email protected]>
  321. * OdbcDataReader.cs: GetOrdinal need not check for
  322. currentRow. Return -1 if column name is not found.
  323. fixes bug #71261. Thanks to patch given by "Appasamy T"
  324. <[email protected]>.
  325. 2005-01-13 Sureshkumar T <[email protected]>
  326. * OdbcDataReader.cs: Implement NextResultSet for multiple result
  327. set queries.
  328. * OdbcDataReader.cs: build column schema once creating reader and
  329. then for each Next result set. Thanks to
  330. [email protected] (Sebastien Robitaille) for
  331. pointing out this optimization (bugzilla #70530).
  332. * libodbc.cs: Added library calls SQLFreeStmt and SQLMoreResults
  333. for mutiple resultsets.
  334. 2005-01-10 Sureshkumar T <[email protected]>
  335. * OdbcDataReader.cs: Connection has to be closed only after
  336. Statement handle is freed. fixes bug #70048.
  337. 2005-01-07 Sureshkumar T <[email protected]>
  338. * OdbcDataReader.cs: Pass OdbcCType.SignedBigInt for accessing big
  339. int columns.
  340. * OdbcType.cs: Added a new enum for Odbc C DataTypes. This should
  341. essentially be passed to drivers, since the public OdbcType types
  342. differs from types expected in drivers in some cases.
  343. * libodbc.cs : Added a ODBC method which takes OdbcCType
  344. enumeration for SQLGetData for BigInt fields.
  345. fixes bug #65342.
  346. 2004-12-28 Duncan Mak <[email protected]>
  347. * libodbc.cs: Change all the DllImport attributes to point to
  348. "odbc32.dll" instead of "odbc32", because /etc/mono/config lists
  349. "odbc32.dll" (all other entries in the file have the .dll suffix
  350. as well, for consistency's sake, let's rename it here.)
  351. This fixes #70727.
  352. 2004-12-03 Sureshkumar T <[email protected]>
  353. * OdbcParameter.cs: Fixed a null reference exception when a
  354. parameter is created and its value is not set. #68750.
  355. 2004-11-26 Sureshkumar T <[email protected]>
  356. * OdbcParameter.cs: Fixed Parameter Size property as well as
  357. insufficient buffer errors. bug #68749.
  358. 2004-09-14 Sebastien Pouliot <[email protected]>
  359. * OdbcPermission.cs: Added internal constructor accepting an Odbc
  360. PermissionAttribute parameter (using base class protected ctor).
  361. * OdbcPermissionAttribute.cs: Copy now use the new OdbcPermission
  362. constructor.
  363. 2004-09-13 Sebastien Pouliot <[email protected]>
  364. * OdbcPermission.cs: Mostly completed (needs tests).
  365. * OdbcPermissionAttribute.cs: Completed.
  366. 2004-08-31 Umadevi S ([email protected])
  367. * OdbcDataReader.cs - Fixed Decimal parsing
  368. 2004-08-30 Umadevi S ([email protected])
  369. * OdbcType.cs - removed inheritance from short.
  370. 2004-08-27 Sureshkumar T ([email protected])
  371. * OdbcDataReader.cs - fixed bug #63539 - TINYINT ODBC datatype is converted into System.Byte
  372. 2004-08-26 Sureshkumar T ([email protected])
  373. * OdbcDataReader.cs - Date & DateTime GetValue fixed.
  374. GetBytes ordinal parameter passing fixed for BINARY in GetValue.
  375. 2004-08-20 Sureshkumar T ([email protected])
  376. * OdbcConnection.cs - correct handles are passed to OdbcError exception to trap the correct error
  377. 2004-08-04 Umadevi S ([email protected])
  378. * OdbcDataReader.cs - Fixed bug 61832 - Column names were not filled, due to which name based lookup of columns failed.
  379. 2004-08-04 Umadevi S ([email protected])
  380. * OdbcDataReader.cs - Fixed bug 61405 - Handling smallint column type.
  381. 2004-07-30 Sureshkumar T ([email protected])
  382. * OdbcCommand.cs: ExecuteNonQuery Closed statement handle to fix memory leak
  383. * OdbcDataReader.cs: Closed statement handle to fix memory leak
  384. Removed SQLState login in GetBytes coz OdbcError provides the same.
  385. 2004-07-29 Umadevi S ([email protected])
  386. * OdbcCommand.cs - Fixed bug 62046. ExecuteNonQuery implemented correctly
  387. 2004-07-28 Umadevi S ([email protected])
  388. * OdbcParameter.cs - fixed bug 61968. String values passed with quotes
  389. 2004-07-07 Umadevi S ([email protected])
  390. * OdbcConnection.cs - Allowed Close to be called multiple times
  391. - Implementation of Dispose method
  392. 2004-07-07 Umadevi S ([email protected])
  393. * OdbcCommand.cs : fixed set method for Transaction
  394. 2004-07-01 Sureshkumar T ([email protected])
  395. * OdbcCommand.cs : fixed reader problem with ExecuteScalar
  396. 2004-06-23 Sureshkumar T ([email protected])
  397. * OdbcConnection.cs: Fix: Moved env allocation to Open method.
  398. Disconnection & freeing handles are done in Close
  399. method to avoid simultaneous connections.
  400. * libodbc.cs : Added constants for odbc version.
  401. 2004-06-16 Gert Driesen <[email protected]>
  402. * OdbcError.cs: fixed serialization compatibility with MS.NET
  403. * OdbcErrorCollection.cs: fixed serialization compatibility with
  404. MS.NET
  405. * OdbcException.cs: fixed serialization compatibility with MS.NET
  406. 2004-06-16 Sureshkumar T ([email protected])
  407. * OdbcDataReader.cs: Added GetValue support for Sql Binary type to return byte array.
  408. Implemented GetBytes method.
  409. * libodbc.cs : Added enums, constants & imports for above fix.
  410. 2004-06-13 Gert Driesen <[email protected]>
  411. * OdbcDataReader.cs: changed GetData method to return IDataReader
  412. to match MS.NET
  413. 2004-06-09 Sureshkumar T ([email protected])
  414. * OdbcDataReader.cs: Removed checking of currentRow in GetName
  415. method
  416. 2004-06-04 Gert Driesen <[email protected]>
  417. * OdbcPermission.cs: moved Obsolete attribute to correct
  418. ctor
  419. 2004-06-02 Sureshkumar T ([email protected])
  420. * OdbcDataReader.cs: Implemented GetByte method. Fixed bug #58820
  421. 2004-06-02 Gert Driesen <[email protected]>
  422. * OdbcParameter.cs: added missing attributes
  423. * OdbcPermission.cs: added missing attributes
  424. * OdbcConnection.cs: fixes attribute, added missing attributes
  425. * OdbcInfoMessageEventArgs.cs: removed extra properties, fixed
  426. API compatibility with MS.NET
  427. * OdbcCommandBuilder.cs: use correct attributes
  428. 2004-05-20 Gert Driesen ([email protected])
  429. * OdbcPermissionAttribute.cs: change AllowMultiple and
  430. Inherited to match .NET
  431. 2004-05-17 Umadevi S ([email protected])
  432. * OdbcPermissionAttribute, OdbcPermission.cs - fixed missing methods
  433. 2004-05-17 Gert Driesen ([email protected])
  434. * OdbcCategoryAttribute.cs: fixed namespace
  435. * OdbcDataAdapter.cs: removed extra attributes
  436. * OdbcDescriptionAttribute.cs: fixed namespace
  437. 2004-05-14 Umadevi S ([email protected])
  438. * OdbcParameterConverter.cs -Added
  439. * OdbcParameter.cs - Added some attributes
  440. 2004-05-14 Umadevi S ([email protected])
  441. * OdbcDataAdapter.cs - Added Attributes
  442. 2004-05-14 Umadevi S ([email protected])
  443. * OdbcConnection.cs - Added Attributes
  444. 2004-05-14 Umadevi S ([email protected])
  445. * OdbcCommand.cs - Added Attributes
  446. 2004-05-14 Umadevi S ([email protected])
  447. * OdbcDataReader.cs - Added Attributes
  448. 2004-05-14 Umadevi S ([email protected])
  449. * Added Classes OdbcCategoryAttribute.cs, OdbcDescriptionAttribute.cs
  450. 2004-05-14 Umadevi S ([email protected])
  451. * Added Class OdbcCommandBuilder.cs
  452. 2004-05-14 Umadevi S ([email protected])
  453. * Added classes OdbcInfoMessageEventArgs.cs - with stubs
  454. * Added classes OdbcInfoMessageEventInfo.cs
  455. 2004-05-14 Umadevi S ([email protected])
  456. * Added classes OdbcPermission.cs, OdbcPermissionAttribute.cs - with stubs
  457. 2004-05-09 Gert Driesen ([email protected])
  458. * OdbcException.cs : removed ErrorCode property, fixing signature
  459. * OdbcErrorCollection.cs : added internal ctor, reduced
  460. accessibility of Add method to internal
  461. * OdbcCommand.cs: marked hstmt field private, remove setters for
  462. Parameters property
  463. * OdbcDataReader.cs: Added GetDate method, renamed GetTimeSpan to
  464. GetTime to match MS.NET, added HasRows stub
  465. 2004-05-09 Gert Driesen ([email protected])
  466. * OdbcError.cs:
  467. * OdbcErrorCollection.cs:
  468. * OdbcException.cs: fixed linefeeds to DOS to match other
  469. sources in System.Data.Odbc
  470. 2004-05-09 Gert Driesen ([email protected])
  471. * OdbcCommand.cs: No longer use OdbcConnection.Datareader, in order
  472. to fix signature of OdbcConnection
  473. * OdbcDataReader.cs: No longer use ODbcConnection.Datareader, in
  474. order to fix signature of OdbcConnection
  475. * OdbcConnection.cs: Signature fixes: removed DataReader property,
  476. added setter for ConnectionTimeout, made transaction internal
  477. * OdbcParameter.cs: reduced accessibility of Bind method to
  478. internal, added setter for IsNullable
  479. * OdbcParameterCollection.cs: made default ctor and Bind method
  480. internal
  481. 2004-05-09 Gert Driesen ([email protected])
  482. * OdbcCommand.cs: fixed linefeeds to DOS to match other sources
  483. in System.Data.Odbc
  484. 2004-05-09 Gert Driesen ([email protected])
  485. * OdbcTransaction.cs: fixed signature to match MS.NET
  486. 2004-05-09 Gert Driesen ([email protected])
  487. * OdbcType.cs: fixed typo UniqueIndetifier
  488. * OdbcColumn.cs : fixed typo UniqueIndetifier
  489. 2004-05-09 Gert Driesen ([email protected])
  490. * OdbcType.cs: fixed linefeeds to DOS to match other sources
  491. in System.Data.Odbc
  492. 2003-12-01 Gonzalo Paniagua Javier <[email protected]>
  493. * OdbcTransaction.cs: applied patch from Jeff Seifert that makes
  494. this class implement IDbTransaction interface.
  495. 2002-11-01 Daniel Morgan <[email protected]>
  496. * OdbcDataReader.cs: - uncommented code, but I put a FIXME:
  497. according to Brian, this does not work on MS .NET however, we need it
  498. for Mono for now. schemaRow.AcceptChanges(),
  499. - implement IEnumerable.GetEnumerator()
  500. * libodbc.cs: changed the DllImport from "odbc32.dll" to "odbc32"
  501. 2002-10-21 Gonzalo Paniagua Javier <[email protected]>
  502. * ChangeLog: added.
  503. * OdbcError.cs:
  504. * OdbcException.cs: added dummy implementation for these missing
  505. classes.