System.Data.SQLite
Check-in [68ef61f0fa]
Not logged in

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

Overview
Comment:Fix compilation on the .NET Compact Framework.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | vtabFixes
Files: files | file ages | folders
SHA1: 68ef61f0fa6eed07dc2af2355ad9eb6607fcdcda
User & Date: mistachkin 2015-12-04 06:20:46
Context
2015-12-04
06:31
Style and naming fixes. check-in: 88219678e3 user: mistachkin tags: vtabFixes
06:20
Fix compilation on the .NET Compact Framework. check-in: 68ef61f0fa user: mistachkin tags: vtabFixes
06:16
Reverse accidental check-in of changes performed on the project file by the IDE. check-in: fe4d272115 user: mistachkin tags: vtabFixes
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

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

  1358   1358                       if ((pInfo != IntPtr.Zero) &&
  1359   1359                           (pConstraint != IntPtr.Zero) &&
  1360   1360                           (pOrderBy != IntPtr.Zero) &&
  1361   1361                           (pConstraintUsage != IntPtr.Zero))
  1362   1362                       {
  1363   1363                           int offset = 0;
  1364   1364   
  1365         -                        Marshal.WriteInt32(
         1365  +                        SQLiteMarshal.WriteInt32(
  1366   1366                               pInfo, offset, nConstraint);
  1367   1367   
  1368   1368                           offset = SQLiteMarshal.NextOffsetOf(
  1369   1369                               offset, sizeof(int), IntPtr.Size);
  1370   1370   
  1371         -                        Marshal.WriteIntPtr(
         1371  +                        SQLiteMarshal.WriteIntPtr(
  1372   1372                               pInfo, offset, pConstraint);
  1373   1373   
  1374   1374                           offset = SQLiteMarshal.NextOffsetOf(
  1375   1375                               offset, IntPtr.Size, sizeof(int));
  1376   1376   
  1377         -                        Marshal.WriteInt32(
         1377  +                        SQLiteMarshal.WriteInt32(
  1378   1378                               pInfo, offset, nOrderBy);
  1379   1379   
  1380   1380                           offset = SQLiteMarshal.NextOffsetOf(
  1381   1381                               offset, sizeof(int), IntPtr.Size);
  1382   1382   
  1383         -                        Marshal.WriteIntPtr(
         1383  +                        SQLiteMarshal.WriteIntPtr(
  1384   1384                               pInfo, offset, pOrderBy);
  1385   1385   
  1386   1386                           offset = SQLiteMarshal.NextOffsetOf(
  1387   1387                               offset, IntPtr.Size, IntPtr.Size);
  1388   1388   
  1389         -                        Marshal.WriteIntPtr(
         1389  +                        SQLiteMarshal.WriteIntPtr(
  1390   1390                               pInfo, offset, pConstraintUsage);
  1391   1391   
  1392   1392                           pIndex = pInfo; /* NOTE: Success. */
  1393   1393                       }
  1394   1394                   }
  1395   1395               }
  1396   1396               finally