ChangeLog 29 KB

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