ChangeLog 11 KB

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