ChangeLog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. 2005-03-11 Gonzalo Paniagua Javier <[email protected]>
  2. * SqlConnection.cs: added a finalizer for correct implementation of the
  3. IDisposable pattern.
  4. 2005-03-11 Gonzalo Paniagua Javier <[email protected]>
  5. * SqlException.cs: make it serialization-compatible with MS. Patch by
  6. Aleksandar Dezelin. Closes bug #73596.
  7. 2005-03-08 Sureshkumar T <[email protected]>
  8. * SqlDataReader.cs: Call base constructor with CommandBehavior
  9. parameter instead of passing DbCommand object. The internal base
  10. class with DbCommand Parameter is removed.
  11. 2005-03-07 Sureshkumar T <[email protected]>
  12. * SqlCommand.cs : Set CommandBehavior on
  13. ExecuteReader,ExecuteScalar,ExecuteNonQuery. This is used in
  14. CloseDataReader.
  15. This fixes bug #73252.
  16. 2005-03-03 Sureshkumar T <[email protected]>
  17. * SqlClientFactory.cs: While creating command, create using
  18. DbConnectionFactory as DbConnectionBase.CreateDbCommand needs to
  19. have a connection factory.
  20. * SqlConnection.cs: Added an internal constructor which takes
  21. DbConnectionFactory.
  22. * SqlConnectionFactory.cs: Added. Concrete class for abstract
  23. factory DbConnectionFactory.
  24. 2005-02-22 Sureshkumar T <[email protected]>
  25. * SqlDataReader.cs: GetBytes: return the length of the data if
  26. output buffer is null. if not, copy the values to buffer and
  27. return the bytes actually read.
  28. 2005-02-02 Sureshkumar T <[email protected]>
  29. * SqlConnection.cs:
  30. - Database: return db name from database if connection open,
  31. otherwise take from connection string.
  32. - Set default values for parameters in the constructor itself.
  33. - Dangling else problem with Close method.
  34. - reset values of parms (TdsConnectionParameters) rather setting
  35. to null.
  36. - set disposed to false in Open method
  37. - finally call base.Dispose in Dispose (bool)
  38. Fixes nunit regressions SqlConnectionTest:DefaultConnectionValues
  39. and SqlConnectionTest:DatabaseSynonyms.
  40. 2005-01-27 Sureshkumar T <[email protected]>
  41. * SqlCommand.cs (DeriveParameters): Change parameter name to
  42. "procedure_name".
  43. * SqlParameter.cs (SqlParameter (object [])) : call default
  44. constructor to create Tds.Metaparameter.
  45. fixes bug #63122.
  46. 2005-01-03 Sureshkumar T <[email protected]>
  47. * SqlCommand.cs: Fixed bug #68973. Reset Tds.RecordsAffected to 0
  48. for each execute statement.
  49. 2004-11-25 Sureshkumar T <[email protected]>
  50. These changes are for 2.0 profile only. These changes implement
  51. the generic data base access technique using Provider Factory
  52. Implementation. These classes need to be dervided from abstract
  53. base classes so that the corresponding factory classes are
  54. created when calling CreateCommand, CreateParameter, etc.
  55. * SqlClientFactory.cs: Provider Factory class Implementaion for SqlServer
  56. * SqlParameter.cs: Change base classes and override methods.
  57. * SqlParameterCollection.cs: Change base classes and override methods.
  58. * SqlTransaction.cs: Change base classes and override methods.
  59. * SqlDataSourceEnumerator.cs: DataSource Enumerator stubs.
  60. * SqlDataReader.cs: Change base classes and override methods.
  61. * SqlConnection.cs: Change base classes and override methods.
  62. * SqlCommandBuilder.cs: Change base classes and override methods.
  63. * SqlCommand.cs: Change base classes and override necessary methods.
  64. 2004-10-14 Umadevi S <[email protected]>
  65. * SqlCommand.cs - Implemented the clone method correctly.
  66. (fixed bug 67301)
  67. 2004-10-06 Umadevi S <[email protected]>
  68. * ISqlNoticationReceiver.cs - changed namespace
  69. * Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs
  70. 2004-09-24 Umadevi S <[email protected]>
  71. * SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.
  72. 2004-09-14 Sebastien Pouliot <[email protected]>
  73. * SqlClientPermission.cs: Added internal constructor accepting an Sql
  74. ClientPermissionAttribute parameter (using base class protected ctor).
  75. * SqlClientPermissionAttribute.cs: Copy now use the new SqlClient
  76. Permission constructor.
  77. 2004-09-13 Sebastien Pouliot <[email protected]>
  78. * SqlClientPermission.cs: Mostly completed (needs tests).
  79. * SqlClientPermissionAttribute.cs: Completed.
  80. 2004-09-02 Umadevi S <[email protected]>
  81. * SqlCommand.cs - ExecuteNonQuery to return -1 incase of executing a storedprocedure
  82. 2004-08-16 Gert Driesen <[email protected]>
  83. * SqlConnection.cs: added TODO on ConnectionString for keywords
  84. that are not yet implemented. check value of Integrated Security
  85. keyword, check value of bool keywords, improve error reporting
  86. for int keywords, added support for the following keyword
  87. synonyms : APP, TIMEOUT, NETWORK, PERSISTSECURITYINFO, WSID,
  88. LANGUAGE, USER. Throw NotImplementedException when encrypt keyword
  89. is set to true, enlist keyword is set to false or attachdbfilename
  90. keyword (or one of its synonyms) is set. Added FIXME for PERSIST
  91. SECURITY INFO keyword, throwing a NotImplementedException here
  92. would break lots of apps
  93. 2004-08-16 Gert Driesen <[email protected]>
  94. * SqlConnection.cs - spaces to tabs
  95. 2004-08-12 Sureshkumar T <[email protected]>
  96. * SqlDataReader.cs - In Close method, the remaining resultsets are drained
  97. out, to read output parameters & to avoid stream overlap
  98. 2004-06-30 Umadevi S <[email protected]>
  99. * SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
  100. these
  101. 2004-06-22 Atsushi Enomoto <[email protected]>
  102. * SqlCommandBuilder.cs : Avoid cast exception caused by DbNull.
  103. 2004-06-18 Umadevi S <[email protected]>
  104. * SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
  105. insert,update or delete.
  106. 2004-06-18 Umadevi S <[email protected]>
  107. * SqlConnection.cs - handled null being passed as a connectionstring
  108. - checked for minimal set of parameters in connectionstring.
  109. - handled unrecogonized keywords similar to MS.NET
  110. 2004-06-17 Umadevi S <[email protected]>
  111. * SqlTransaction.cs - fixed multiple rollbacks being called causes invalidoperationexception
  112. 2004-06-04 Gert Driesen <[email protected]>
  113. * SqlClientPermission.cs: removed extra CreateInstance
  114. method
  115. 2004-06-02 Gert Driesen <[email protected]>
  116. * SQLDebugging.cs: added missing attributes, marked ctor
  117. public to match MS.NET
  118. 2004-05-22 Atsushi Enomoto <[email protected]>
  119. * SqlClientPermission.cs : don't use chained obsolete .ctor.
  120. 2004-05-20 Gert Driesen ([email protected])
  121. * SqlClientPermissionAttribute.cs: change AllowMultiple and
  122. Inherited to match .NET
  123. 2004-05-20 Umadevi S <[email protected]>
  124. * Fixed bug 58406- implemented the hasrow method, test program used
  125. to test with the bug report
  126. 2004-05-13 Umadevi S <[email protected]>
  127. * SqlClientPermission.cs, SqlDataReader.cs - added missing methods with TODO tags
  128. * SqlCommand.cs, SqlDataAdapter.cs - implemented ToolboxItemAttribute
  129. * SQLDebugging.cs - Added new file with a TODO tag
  130. 2004-04-05 Lluis Sanchez Gual <[email protected]>
  131. * SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
  132. 2004-04-01 Lluis Sanchez Gual <[email protected]>
  133. * SqlDataReader.cs: Null values are now represented with DBNull instances.
  134. Deal with this.
  135. 2004-03-14 Tim Coleman <[email protected]>
  136. * SqlCommand.cs SqlConnection.cs:
  137. Changes from two patches by Andres Taylor
  138. <[email protected]>
  139. 2004-03-12 Andreas Nahr <[email protected]>
  140. * SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!
  141. 2004-01-10 Atsushi Enomoto <[email protected]>
  142. * SqlClientPermission.cs : Fixed NET_2_0 build related to
  143. obsolete attribute problem (see DbDataPermission.cs)
  144. 2003-12-28 Tim Coleman <[email protected]>
  145. * SqlResultSet.cs:
  146. Stubbed out this class.
  147. 2003-12-23 Tim Coleman <[email protected]>
  148. * SqlConnection.cs:
  149. Improved connection string parsing. See
  150. System.Data.Common.DbConnectionString for source.
  151. 2003-12-21 Tim Coleman <[email protected]>
  152. * SqlConnection.cs:
  153. Enable Integrated Security
  154. 2003-12-19 Tim Coleman <[email protected]>
  155. * ISqlNotificationReceiver.cs SqlResultSet.cs:
  156. New stubs added
  157. * SqlClientPermission.cs:
  158. Fix constructor for 1.2
  159. 2003-12-04 John Luke <[email protected]>
  160. * SqlXmlTextReader.cs: applied patch from Chris Masters <[email protected]>
  161. fix peek so it checks if it is at the end and also to make sure that if Read()
  162. advances the position past the end of the localBuffer array, it makes
  163. a call to GetNextBuffer(). fixes bug #40253 System.IndexOutOfRangeException when
  164. using SqlCommand.ExecuteXmlReader()
  165. 2003-11-20 Joerg Rosenkranz <[email protected]>
  166. * SqlConnection (SetDefaultConnectionParameters):
  167. Changed default value of WORKSTATION ID to reflect real
  168. host name instead of "localhost".
  169. 2003-11-16 Ben Maurer <[email protected]>
  170. * SqlParameterCollection.cs (Clear): Clear needs to take
  171. the parameter out of the collection so that it can be used
  172. again.
  173. (Remove):
  174. (RemoveAt): Ditto.
  175. 2003-10-03 Diego Caravana <[email protected]>
  176. * SqlCommand.cs: no change.
  177. * SqlConnection.cs (Close): Added checks for null instance
  178. variables.
  179. * SqlParameter.cs (Direction): Now handles parameters of type
  180. ReturnValue and InputOutput.
  181. * SqlParameterCollection.cs (IndexOf(string)): Search for
  182. SqlParameter object in list is done by obtaining ParameterName
  183. attribute, not directly through list.IndexOf().
  184. 2003-08-22 Duncan Mak <[email protected]>
  185. * SqlCommand.cs (ExecuteNonQuery): Return
  186. Connection.Tds.RecordsAffected if it is successful. Patch from
  187. Jörg Rosenkranz <[email protected]>.
  188. This is part of a fix to bug #40315.
  189. 2003-08-20 Duncan Mak <[email protected]>
  190. * SqlConnectionPool.cs (ReleaseConnection): A patch from Joerg
  191. Rosenkranz <[email protected]>. Currently, if a connection is
  192. closed by an external event (network problem, etc.) it is pushed
  193. back into the connection pool. The next Open call retrieves this
  194. invalid connection which leads to exceptions when executing
  195. statements.
  196. This patch fixes this problem. This closes bug #47429.
  197. 2003-07-04 Miguel de Icaza <[email protected]>
  198. * SqlDataReader.cs: Added extra information to the exceptions
  199. thrown by all the GetXXXX methods.
  200. 2003-03-15 Daniel Morgan <[email protected]>
  201. * SqlConnection.cs: if Server in the ConnectionString
  202. is set to "(local", use "localhost" as the hostname
  203. to connect
  204. 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
  205. * SqlException.cs: implemented GetObjectData ().
  206. 2003-02-16 Daniel Morgan <[email protected]>
  207. * ChangeLog: added this file
  208. * SqlConnection.cs: - parse data source for 3 possible uses:
  209. "Server=hostname",
  210. "Server=hostname\\instancename",
  211. "Server=hostname,port" and open the connection based on the
  212. resulting server name and port.
  213. - Added support for named instances
  214. by discovery of the sql server tcp port via the sql monitor (udp port 1434)
  215. thanks to Phillip Jerkins ([email protected]) contribution.
  216. Also, thanks to Gonzalo and Tim for their help with timeouts.