ChangeLog 17 KB

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