ChangeLog 29 KB

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