ChangeLog 15 KB

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