Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Be sure to increment the structure offset to account for optional sqlite3_index_info members. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
189db19efcd23ea7ae9e3cff26c8e895 |
User & Date: | mistachkin 2015-12-02 05:40:59.441 |
Context
2015-12-04
| ||
01:52 | Add preliminary support for the .NET Framework 4.6.1. check-in: e357378801 user: mistachkin tags: trunk | |
2015-12-02
| ||
05:40 | Be sure to increment the structure offset to account for optional sqlite3_index_info members. check-in: 189db19efc user: mistachkin tags: trunk | |
05:34 | Support the colUsed field to the sqlite3_index_info structure passed to virtual table xBestIndex methods. check-in: 5e37af01d9 user: mistachkin tags: trunk | |
Changes
Changes to System.Data.SQLite/SQLiteModule.cs.
︙ | ︙ | |||
1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 | sizeof(double)); if (index.Outputs.EstimatedCost.HasValue) { SQLiteMarshal.WriteDouble(pIndex, offset, index.Outputs.EstimatedCost.GetValueOrDefault()); } if (index.Outputs.CanUseEstimatedRows() && index.Outputs.EstimatedRows.HasValue) { SQLiteMarshal.WriteInt64(pIndex, offset, index.Outputs.EstimatedRows.GetValueOrDefault()); } if (index.Outputs.CanUseIdxFlags() && index.Outputs.IdxFlags.HasValue) { SQLiteMarshal.WriteInt32(pIndex, offset, (int)index.Outputs.IdxFlags.GetValueOrDefault()); } if (index.Outputs.CanUseColUsed() && index.Outputs.ColUsed.HasValue) { SQLiteMarshal.WriteInt64(pIndex, offset, index.Outputs.ColUsed.GetValueOrDefault()); } | > > > > > > > > > | 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 | sizeof(double)); if (index.Outputs.EstimatedCost.HasValue) { SQLiteMarshal.WriteDouble(pIndex, offset, index.Outputs.EstimatedCost.GetValueOrDefault()); } offset = SQLiteMarshal.NextOffsetOf(offset, sizeof(double), sizeof(long)); if (index.Outputs.CanUseEstimatedRows() && index.Outputs.EstimatedRows.HasValue) { SQLiteMarshal.WriteInt64(pIndex, offset, index.Outputs.EstimatedRows.GetValueOrDefault()); } offset = SQLiteMarshal.NextOffsetOf(offset, sizeof(long), sizeof(int)); if (index.Outputs.CanUseIdxFlags() && index.Outputs.IdxFlags.HasValue) { SQLiteMarshal.WriteInt32(pIndex, offset, (int)index.Outputs.IdxFlags.GetValueOrDefault()); } offset = SQLiteMarshal.NextOffsetOf(offset, sizeof(int), sizeof(long)); if (index.Outputs.CanUseColUsed() && index.Outputs.ColUsed.HasValue) { SQLiteMarshal.WriteInt64(pIndex, offset, index.Outputs.ColUsed.GetValueOrDefault()); } |
︙ | ︙ |