System.Data.SQLite
Check-in [e637ca41cf]
Not logged in

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

Overview
Comment:Compilation fixes for the .NET Compact Framework.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e637ca41cf4d5645f604671d19c3cbe19692a536
User & Date: mistachkin 2018-01-30 18:37:10
Context
2018-01-30
19:55
Final updates for release 1.0.107.0. check-in: c8b6fd24ac user: mistachkin tags: trunk, release, release-1.0.107.0
18:57
Update the CHM file. check-in: 321eb8cef7 user: mistachkin tags: preRelease
18:37
Compilation fixes for the .NET Compact Framework. check-in: e637ca41cf user: mistachkin tags: trunk
2018-01-29
20:16
Fix minor typo in test case. check-in: 0eeaf2e05a user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to System.Data.SQLite/SQLiteConvert.cs.

1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
      typeof(UInt64),        // UInt64 (20)
      typeof(double),        // VarNumeric (21)
      typeof(string),        // AnsiStringFixedLength (22)
      typeof(string),        // StringFixedLength (23)
      typeof(string),        // ?? (24)
      typeof(string),        // Xml (25)
      typeof(DateTime),      // DateTime2 (26)
#if NET_35 || NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462 || NET_47 || NET_471
      //
      // NOTE: This type is only available on the
      //       .NET Framework 2.0 SP1 and later.
      //
      typeof(DateTimeOffset) // DateTimeOffset (27)
#else
      typeof(DateTime)       // DateTimeOffset (27)







|







1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
      typeof(UInt64),        // UInt64 (20)
      typeof(double),        // VarNumeric (21)
      typeof(string),        // AnsiStringFixedLength (22)
      typeof(string),        // StringFixedLength (23)
      typeof(string),        // ?? (24)
      typeof(string),        // Xml (25)
      typeof(DateTime),      // DateTime2 (26)
#if !PLATFORM_COMPACTFRAMEWORK && (NET_35 || NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461 || NET_462 || NET_47 || NET_471)
      //
      // NOTE: This type is only available on the
      //       .NET Framework 2.0 SP1 and later.
      //
      typeof(DateTimeOffset) // DateTimeOffset (27)
#else
      typeof(DateTime)       // DateTimeOffset (27)

Changes to System.Data.SQLite/SQLiteModule.cs.

4347
4348
4349
4350
4351
4352
4353
4354






4355
4356
4357
4358
4359
4360
4361
                pointer = new IntPtr(pointer.ToInt64() + offset);

            if ((pointer.ToInt64() % size) != 0)
            {
                SQLiteLog.LogMessage(SQLiteErrorCode.Warning,
                    HelperMethods.StringFormat(CultureInfo.CurrentCulture,
                    "{0}: pointer {1} and offset {2} not aligned to {3}: {4}",
                    type, savedPointer, offset, size, Environment.StackTrace));






            }
        }
#endif
        #endregion
    }
    #endregion








|
>
>
>
>
>
>







4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
                pointer = new IntPtr(pointer.ToInt64() + offset);

            if ((pointer.ToInt64() % size) != 0)
            {
                SQLiteLog.LogMessage(SQLiteErrorCode.Warning,
                    HelperMethods.StringFormat(CultureInfo.CurrentCulture,
                    "{0}: pointer {1} and offset {2} not aligned to {3}: {4}",
                    type, savedPointer, offset, size,
#if !PLATFORM_COMPACTFRAMEWORK
                    Environment.StackTrace
#else
                    null
#endif
                    ));
            }
        }
#endif
        #endregion
    }
    #endregion