ChangeLog 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  1. 2005-10-19 Senganal T <[email protected]>
  2. * SqlException.cs (Constructor)
  3. - Modified the constructor, so that the message parameter
  4. of base class is not the same as that of the Exception message.
  5. fixes bug #76468
  6. 2005-09-24 Sureshkumar T <[email protected]>
  7. * SqlParameterCollection.cs (AddWithValue): added method. patch
  8. from [email protected] (Andy Waddell).
  9. 2005-09-21 Senganal T <[email protected]>
  10. * SqlConnection.cs :
  11. - Set the correct Default Values for Parameters.
  12. - Added Argument Checks (where missing) for the Properties and
  13. throw the correct exception on error.
  14. - Modified SetDefaultParameters() to make sure that the parameters
  15. are all reset to default values everytime it is called.
  16. - Modified SetProperties() to take into account the order of the
  17. keywords in the ConnectionString.
  18. SqlConnection Fixes for the failing sqlserver connected-mode testcases
  19. in ProviderTest/System.Data.SqlClient/SqlConnectionTest.cs
  20. 2005-09-21 Senganal T <[email protected]>
  21. * SqlTransaction.cs : Modifed the Rollback() method, so that
  22. connection can be used for another transaction after the previous
  23. transaction is rolled back. fixes bug 75904
  24. 2005-09-02 Umadevi S <[email protected]>
  25. * Removed SqlResultSet.cs file
  26. 2005-08-26 Sureshkumar T <[email protected]>
  27. * SqlConnection.cs (Open): enable sp_reset_connection.
  28. 2005-08-25 Sureshkumar T <[email protected]>
  29. * SqlCommandBuilder.cs: BuildInformation (): continue on columns
  30. who don't have basetablename.
  31. 2005-08-12 Daniel Morgan <[email protected]>
  32. * SqlCommandBuilder.cs: update command builder based on
  33. OdbcCommandBuilder latest changes to fix regression
  34. of bug 75552
  35. 2005-08-05 Sureshkumar T <[email protected]>
  36. * SqlCommandBuilder.cs: Set SourceVersion property to the created
  37. parameters as it is used by the Adapter's Update method.
  38. 2005-07-22 Sureshkumar T <[email protected]>
  39. * SqlCommandBuilder.cs, SqlParameterCollection.cs,
  40. SqlConnection.cs, SqlParameter.cs:
  41. - updated attributes & attribute descriptions to match with
  42. masterinfos.
  43. 2005-07-16 Daniel Morgan <[email protected]>
  44. * SqlCommandBuilder.cs: CreateUpdateCommand should get the current value, not
  45. the orginal value when setting one of the SET variables
  46. 2005-07-15 Sureshkumar T <[email protected]>
  47. * SqlCommandBuilder.cs:
  48. - set_DataAdapter: unsubscribe event if DataAdapter is reset.
  49. - CreateInsertCommand, CreateUpdateCommand, CreateDeleteCommand:
  50. if column mapping is missing, use the source column name. use
  51. proper version to get the data.
  52. - RowUpdatingHandler: set status to continue to actually process
  53. the query.
  54. 2005-07-04 Ben Maurer <[email protected]>
  55. * SqlError.cs: Patch from [email protected] to fix serialization.
  56. 2005-06-29 Sureshkumar T <[email protected]>
  57. * SqlConnection.cs: Open (): catch TdsInternalException and throw
  58. SqlException.
  59. * SqlException.cs: code re-organised to pass message as well with
  60. the exception.
  61. 2005-06-23 Sureshkumar T <[email protected]>
  62. * SqlConnectionStringBuilder.cs: simplified multiple keyword
  63. mappings and allowed-key checking. fixed Item, Remove,
  64. ContainsKey, ShoudSerialize, TryGetValue implementations.
  65. 2005-06-21 Sureshkumar T <[email protected]>
  66. * SqlConnectionStringBuilder.cs: Connection String Builder class
  67. for SqlClient Data Provider.
  68. 2005-06-01 Gonzalo Paniagua Javier <[email protected]>
  69. * SqlParameter.cs: moved the 'using S.D.SqlTypes' out of NET_2_0. Fixes
  70. the build.
  71. 2005-06-01 Sureshkumar T <[email protected]>
  72. * SqlParameter.cs: Parameter's value can be SqlTypes. Convert to
  73. framework type to pass to TDS layer. Fixes bug #75044.
  74. 2005-05-24 Umadevi S <[email protected]>
  75. * fixed some 2.0 and 1.0 specific fields/attributes for various classes.
  76. * Added SqlClientMetaDataCollectionNames.cs, Implemented some 2.0
  77. properties for SqlParameterCollection for the bulkcopy feature.
  78. 2005-05-20 Kornél Pál <http://www.kornelpal.hu/>
  79. * Fixed Bug #53169 - SqlDataReader incorrectly returns bigint as decimal
  80. Note: The fix works around the limitations of TDS 7.0 to avoid this
  81. difference between Mono and .NET Framework TDS 8.0 should be used instead.
  82. 2005-05-20 Umadevi S <[email protected]>
  83. * Fixed Bug 74948 - SqlParameter also takes DBNull Value.
  84. Correct some attributes stuff of 1.1 and 2.0 for SqlParameter.cs
  85. 2005-05-20 Umadevi S <[email protected]>
  86. * Continuing on implementation for bulkcopy and notification
  87. Added files SqlNotificationEventArgs.cs, OnChangeEventHandler.cs
  88. Modified SqlRowUpdatingEventArgs.cs
  89. 2005-05-19 Umadevi S <[email protected]>
  90. * For implementation of bulkcopy and notifications added files
  91. SqlBulkCopyOptions.cs,SqlBulkCopyColumnMapping.cs,SqlNotificationAuthType.cs
  92. SqlNotificationTransports.cs,SqlRowsCopiedEventArgs.cs, SqlRowsCopiedEventHandler.cs
  93. 2005-05-19 Umadevi S <[email protected]>
  94. * Corrected types,enum values of SqlNotificationType,SqlNotificationSource,
  95. SqlNotificationInfo and added new method in SqlRowUpdatingEventArgs.cs
  96. (For implementation of bulkcopy/notifications)
  97. 2005-04-19 Sureshkumar T <[email protected]>
  98. * SqlDataReader.cs: NextResult (): Re-create schema table for each
  99. result set. don't re-use, as it may be referenced from somewhere.
  100. 2005-04-07 Sureshkumar T <[email protected]>
  101. Ankit Jain <[email protected]>
  102. * SqlConnection.cs: Implemented additional connection string
  103. property "Asynchronous Processing".
  104. * SqlCommand.cs: Implemented Asynchronous command execution API.
  105. * SqlAsyncState.cs: A internal state object for asynchronous
  106. operations.
  107. * SqlAsyncResult.cs: Added. Class to hold result for asynchronous
  108. queries.
  109. 2005-03-28 Sureshkumar T <[email protected]>
  110. * SqlCommand.cs: Execute: Add a semicolon at the end of
  111. CommandText. Multiple semicolon's are not being complained.
  112. fixes bug #74134.
  113. 2005-03-11 Gonzalo Paniagua Javier <[email protected]>
  114. * SqlConnection.cs: added a finalizer for correct implementation of the
  115. IDisposable pattern.
  116. 2005-03-11 Gonzalo Paniagua Javier <[email protected]>
  117. * SqlException.cs: make it serialization-compatible with MS. Patch by
  118. Aleksandar Dezelin. Closes bug #73596.
  119. 2005-03-08 Sureshkumar T <[email protected]>
  120. * SqlDataReader.cs: Call base constructor with CommandBehavior
  121. parameter instead of passing DbCommand object. The internal base
  122. class with DbCommand Parameter is removed.
  123. 2005-03-07 Sureshkumar T <[email protected]>
  124. * SqlCommand.cs : Set CommandBehavior on
  125. ExecuteReader,ExecuteScalar,ExecuteNonQuery. This is used in
  126. CloseDataReader.
  127. This fixes bug #73252.
  128. 2005-03-03 Sureshkumar T <[email protected]>
  129. * SqlClientFactory.cs: While creating command, create using
  130. DbConnectionFactory as DbConnectionBase.CreateDbCommand needs to
  131. have a connection factory.
  132. * SqlConnection.cs: Added an internal constructor which takes
  133. DbConnectionFactory.
  134. * SqlConnectionFactory.cs: Added. Concrete class for abstract
  135. factory DbConnectionFactory.
  136. 2005-02-22 Sureshkumar T <[email protected]>
  137. * SqlDataReader.cs: GetBytes: return the length of the data if
  138. output buffer is null. if not, copy the values to buffer and
  139. return the bytes actually read.
  140. 2005-02-02 Sureshkumar T <[email protected]>
  141. * SqlConnection.cs:
  142. - Database: return db name from database if connection open,
  143. otherwise take from connection string.
  144. - Set default values for parameters in the constructor itself.
  145. - Dangling else problem with Close method.
  146. - reset values of parms (TdsConnectionParameters) rather setting
  147. to null.
  148. - set disposed to false in Open method
  149. - finally call base.Dispose in Dispose (bool)
  150. Fixes nunit regressions SqlConnectionTest:DefaultConnectionValues
  151. and SqlConnectionTest:DatabaseSynonyms.
  152. 2005-01-27 Sureshkumar T <[email protected]>
  153. * SqlCommand.cs (DeriveParameters): Change parameter name to
  154. "procedure_name".
  155. * SqlParameter.cs (SqlParameter (object [])) : call default
  156. constructor to create Tds.Metaparameter.
  157. fixes bug #63122.
  158. 2005-01-03 Sureshkumar T <[email protected]>
  159. * SqlCommand.cs: Fixed bug #68973. Reset Tds.RecordsAffected to 0
  160. for each execute statement.
  161. 2004-11-25 Sureshkumar T <[email protected]>
  162. These changes are for 2.0 profile only. These changes implement
  163. the generic data base access technique using Provider Factory
  164. Implementation. These classes need to be dervided from abstract
  165. base classes so that the corresponding factory classes are
  166. created when calling CreateCommand, CreateParameter, etc.
  167. * SqlClientFactory.cs: Provider Factory class Implementaion for SqlServer
  168. * SqlParameter.cs: Change base classes and override methods.
  169. * SqlParameterCollection.cs: Change base classes and override methods.
  170. * SqlTransaction.cs: Change base classes and override methods.
  171. * SqlDataSourceEnumerator.cs: DataSource Enumerator stubs.
  172. * SqlDataReader.cs: Change base classes and override methods.
  173. * SqlConnection.cs: Change base classes and override methods.
  174. * SqlCommandBuilder.cs: Change base classes and override methods.
  175. * SqlCommand.cs: Change base classes and override necessary methods.
  176. 2004-10-14 Umadevi S <[email protected]>
  177. * SqlCommand.cs - Implemented the clone method correctly.
  178. (fixed bug 67301)
  179. 2004-10-06 Umadevi S <[email protected]>
  180. * ISqlNoticationReceiver.cs - changed namespace
  181. * Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs
  182. 2004-09-24 Umadevi S <[email protected]>
  183. * SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.
  184. 2004-09-14 Sebastien Pouliot <[email protected]>
  185. * SqlClientPermission.cs: Added internal constructor accepting an Sql
  186. ClientPermissionAttribute parameter (using base class protected ctor).
  187. * SqlClientPermissionAttribute.cs: Copy now use the new SqlClient
  188. Permission constructor.
  189. 2004-09-13 Sebastien Pouliot <[email protected]>
  190. * SqlClientPermission.cs: Mostly completed (needs tests).
  191. * SqlClientPermissionAttribute.cs: Completed.
  192. 2004-09-02 Umadevi S <[email protected]>
  193. * SqlCommand.cs - ExecuteNonQuery to return -1 incase of executing a storedprocedure
  194. 2004-08-16 Gert Driesen <[email protected]>
  195. * SqlConnection.cs: added TODO on ConnectionString for keywords
  196. that are not yet implemented. check value of Integrated Security
  197. keyword, check value of bool keywords, improve error reporting
  198. for int keywords, added support for the following keyword
  199. synonyms : APP, TIMEOUT, NETWORK, PERSISTSECURITYINFO, WSID,
  200. LANGUAGE, USER. Throw NotImplementedException when encrypt keyword
  201. is set to true, enlist keyword is set to false or attachdbfilename
  202. keyword (or one of its synonyms) is set. Added FIXME for PERSIST
  203. SECURITY INFO keyword, throwing a NotImplementedException here
  204. would break lots of apps
  205. 2004-08-16 Gert Driesen <[email protected]>
  206. * SqlConnection.cs - spaces to tabs
  207. 2004-08-12 Sureshkumar T <[email protected]>
  208. * SqlDataReader.cs - In Close method, the remaining resultsets are drained
  209. out, to read output parameters & to avoid stream overlap
  210. 2004-06-30 Umadevi S <[email protected]>
  211. * SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
  212. these
  213. 2004-06-22 Atsushi Enomoto <[email protected]>
  214. * SqlCommandBuilder.cs : Avoid cast exception caused by DbNull.
  215. 2004-06-18 Umadevi S <[email protected]>
  216. * SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
  217. insert,update or delete.
  218. 2004-06-18 Umadevi S <[email protected]>
  219. * SqlConnection.cs - handled null being passed as a connectionstring
  220. - checked for minimal set of parameters in connectionstring.
  221. - handled unrecogonized keywords similar to MS.NET
  222. 2004-06-17 Umadevi S <[email protected]>
  223. * SqlTransaction.cs - fixed multiple rollbacks being called causes invalidoperationexception
  224. 2004-06-04 Gert Driesen <[email protected]>
  225. * SqlClientPermission.cs: removed extra CreateInstance
  226. method
  227. 2004-06-02 Gert Driesen <[email protected]>
  228. * SQLDebugging.cs: added missing attributes, marked ctor
  229. public to match MS.NET
  230. 2004-05-22 Atsushi Enomoto <[email protected]>
  231. * SqlClientPermission.cs : don't use chained obsolete .ctor.
  232. 2004-05-20 Gert Driesen ([email protected])
  233. * SqlClientPermissionAttribute.cs: change AllowMultiple and
  234. Inherited to match .NET
  235. 2004-05-20 Umadevi S <[email protected]>
  236. * Fixed bug 58406- implemented the hasrow method, test program used
  237. to test with the bug report
  238. 2004-05-13 Umadevi S <[email protected]>
  239. * SqlClientPermission.cs, SqlDataReader.cs - added missing methods with TODO tags
  240. * SqlCommand.cs, SqlDataAdapter.cs - implemented ToolboxItemAttribute
  241. * SQLDebugging.cs - Added new file with a TODO tag
  242. 2004-04-05 Lluis Sanchez Gual <[email protected]>
  243. * SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
  244. 2004-04-01 Lluis Sanchez Gual <[email protected]>
  245. * SqlDataReader.cs: Null values are now represented with DBNull instances.
  246. Deal with this.
  247. 2004-03-14 Tim Coleman <[email protected]>
  248. * SqlCommand.cs SqlConnection.cs:
  249. Changes from two patches by Andres Taylor
  250. <[email protected]>
  251. 2004-03-12 Andreas Nahr <[email protected]>
  252. * SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!
  253. 2004-01-10 Atsushi Enomoto <[email protected]>
  254. * SqlClientPermission.cs : Fixed NET_2_0 build related to
  255. obsolete attribute problem (see DbDataPermission.cs)
  256. 2003-12-28 Tim Coleman <[email protected]>
  257. * SqlResultSet.cs:
  258. Stubbed out this class.
  259. 2003-12-23 Tim Coleman <[email protected]>
  260. * SqlConnection.cs:
  261. Improved connection string parsing. See
  262. System.Data.Common.DbConnectionString for source.
  263. 2003-12-21 Tim Coleman <[email protected]>
  264. * SqlConnection.cs:
  265. Enable Integrated Security
  266. 2003-12-19 Tim Coleman <[email protected]>
  267. * ISqlNotificationReceiver.cs SqlResultSet.cs:
  268. New stubs added
  269. * SqlClientPermission.cs:
  270. Fix constructor for 1.2
  271. 2003-12-04 John Luke <[email protected]>
  272. * SqlXmlTextReader.cs: applied patch from Chris Masters <[email protected]>
  273. fix peek so it checks if it is at the end and also to make sure that if Read()
  274. advances the position past the end of the localBuffer array, it makes
  275. a call to GetNextBuffer(). fixes bug #40253 System.IndexOutOfRangeException when
  276. using SqlCommand.ExecuteXmlReader()
  277. 2003-11-20 Joerg Rosenkranz <[email protected]>
  278. * SqlConnection (SetDefaultConnectionParameters):
  279. Changed default value of WORKSTATION ID to reflect real
  280. host name instead of "localhost".
  281. 2003-11-16 Ben Maurer <[email protected]>
  282. * SqlParameterCollection.cs (Clear): Clear needs to take
  283. the parameter out of the collection so that it can be used
  284. again.
  285. (Remove):
  286. (RemoveAt): Ditto.
  287. 2003-10-03 Diego Caravana <[email protected]>
  288. * SqlCommand.cs: no change.
  289. * SqlConnection.cs (Close): Added checks for null instance
  290. variables.
  291. * SqlParameter.cs (Direction): Now handles parameters of type
  292. ReturnValue and InputOutput.
  293. * SqlParameterCollection.cs (IndexOf(string)): Search for
  294. SqlParameter object in list is done by obtaining ParameterName
  295. attribute, not directly through list.IndexOf().
  296. 2003-08-22 Duncan Mak <[email protected]>
  297. * SqlCommand.cs (ExecuteNonQuery): Return
  298. Connection.Tds.RecordsAffected if it is successful. Patch from
  299. Jörg Rosenkranz <[email protected]>.
  300. This is part of a fix to bug #40315.
  301. 2003-08-20 Duncan Mak <[email protected]>
  302. * SqlConnectionPool.cs (ReleaseConnection): A patch from Joerg
  303. Rosenkranz <[email protected]>. Currently, if a connection is
  304. closed by an external event (network problem, etc.) it is pushed
  305. back into the connection pool. The next Open call retrieves this
  306. invalid connection which leads to exceptions when executing
  307. statements.
  308. This patch fixes this problem. This closes bug #47429.
  309. 2003-07-04 Miguel de Icaza <[email protected]>
  310. * SqlDataReader.cs: Added extra information to the exceptions
  311. thrown by all the GetXXXX methods.
  312. 2003-03-15 Daniel Morgan <[email protected]>
  313. * SqlConnection.cs: if Server in the ConnectionString
  314. is set to "(local", use "localhost" as the hostname
  315. to connect
  316. 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
  317. * SqlException.cs: implemented GetObjectData ().
  318. 2003-02-16 Daniel Morgan <[email protected]>
  319. * ChangeLog: added this file
  320. * SqlConnection.cs: - parse data source for 3 possible uses:
  321. "Server=hostname",
  322. "Server=hostname\\instancename",
  323. "Server=hostname,port" and open the connection based on the
  324. resulting server name and port.
  325. - Added support for named instances
  326. by discovery of the sql server tcp port via the sql monitor (udp port 1434)
  327. thanks to Phillip Jerkins ([email protected]) contribution.
  328. Also, thanks to Gonzalo and Tim for their help with timeouts.