System.Data.SQLite

Check-in [c1719dd9f5]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Replace a call to String.Format with the helper method.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c1719dd9f5bce3d5451013e766df70a285531b57
User & Date: mistachkin 2018-01-26 01:13:49.230
Context
2018-01-26
01:27
Make sure the test properties in 'getTestProperties' are expanded. check-in: ac3e831242 user: mistachkin tags: trunk
01:14
Merge updates from trunk. check-in: 611657ba5b user: mistachkin tags: tkt-5cee5409f8
01:13
Replace a call to String.Format with the helper method. check-in: c1719dd9f5 user: mistachkin tags: trunk
01:11
Make it possible to determine which test is associated with a connection object (e.g. being closed, disposed, etc). check-in: d142c335ab user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to System.Data.SQLite/SQLiteConnection.cs.
4180
4181
4182
4183
4184
4185
4186
4187

4188
4189
4190
4191
4192
4193
4194
          StateChangeEventArgs eventArgs = null;
          OnStateChange(ConnectionState.Open, ref eventArgs);

          OnChanged(this, new ConnectionEventArgs(
              SQLiteConnectionEventType.Opened, eventArgs, null, null, null,
              null, _connectionString, new object[] { opts }));

          _debugString = String.Format(

              "threadId = {0}, connectionString = {1}",
              HelperMethods.GetThreadId(), _connectionString);
        }
        catch
        {
          _connectionState = oldstate;
          throw;







|
>







4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
          StateChangeEventArgs eventArgs = null;
          OnStateChange(ConnectionState.Open, ref eventArgs);

          OnChanged(this, new ConnectionEventArgs(
              SQLiteConnectionEventType.Opened, eventArgs, null, null, null,
              null, _connectionString, new object[] { opts }));

          _debugString = HelperMethods.StringFormat(
              CultureInfo.InvariantCulture,
              "threadId = {0}, connectionString = {1}",
              HelperMethods.GetThreadId(), _connectionString);
        }
        catch
        {
          _connectionState = oldstate;
          throw;