ChangeLog 14 KB

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