Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Removed the need for the sqlite3.def file. This should fix issue [e486f6be57]. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c3a442319f144f9253c64bb3fd98deba |
User & Date: | shaneh 2011-04-23 23:41:41.859 |
References
2011-04-23
| ||
23:42 | • Fixed ticket [e486f6be57]: Unable to find an entry point named 'sqlite3_key' in DLL 'System.Data.SQLite.DLL' plus 4 other changes artifact: 5dc652f0a7 user: shane | |
Context
2011-04-26
| ||
03:56 | Added LogMessage() to expose the sqlite3_log() interface. check-in: d908d628e8 user: shaneh tags: trunk | |
2011-04-23
| ||
23:41 | Removed the need for the sqlite3.def file. This should fix issue [e486f6be57]. check-in: c3a442319f user: shaneh tags: trunk | |
00:05 | Updated downloads and news pages for v1.0.70.0 (3.7.6). check-in: a8ab43852f user: shaneh tags: trunk, release | |
Changes
Changes to SQLite.Interop/SQLite.Interop.2008.vcproj.
︙ | ︙ | |||
77 78 79 80 81 82 83 | <Tool Name="VCLinkerTool" AdditionalOptions="$(INTEROP_ASSEMBLY_RESOURCES)" AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule" OutputFile="$(OutDir)\$(INTEROP_MIXED_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" | < | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | <Tool Name="VCLinkerTool" AdditionalOptions="$(INTEROP_ASSEMBLY_RESOURCES)" AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule" OutputFile="$(OutDir)\$(INTEROP_MIXED_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" GenerateDebugInformation="true" AssemblyDebug="1" ProgramDatabaseFile="$(TargetDir)$(INTEROP_MIXED_NAME).pdb" GenerateMapFile="true" MapExports="true" SubSystem="2" OptimizeReferences="2" |
︙ | ︙ | |||
175 176 177 178 179 180 181 | <Tool Name="VCLinkerTool" AdditionalOptions="$(INTEROP_ASSEMBLY_RESOURCES)" AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule" OutputFile="$(OutDir)\$(INTEROP_MIXED_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" | < | 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | <Tool Name="VCLinkerTool" AdditionalOptions="$(INTEROP_ASSEMBLY_RESOURCES)" AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule" OutputFile="$(OutDir)\$(INTEROP_MIXED_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" GenerateDebugInformation="true" AssemblyDebug="1" ProgramDatabaseFile="$(TargetDir)$(INTEROP_MIXED_NAME).pdb" GenerateMapFile="true" MapExports="true" SubSystem="2" OptimizeReferences="2" |
︙ | ︙ | |||
270 271 272 273 274 275 276 | Name="VCPreLinkEventTool" /> <Tool Name="VCLinkerTool" OutputFile="$(OutDir)\$(INTEROP_NATIVE_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" | < | 268 269 270 271 272 273 274 275 276 277 278 279 280 281 | Name="VCPreLinkEventTool" /> <Tool Name="VCLinkerTool" OutputFile="$(OutDir)\$(INTEROP_NATIVE_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" GenerateDebugInformation="true" AssemblyDebug="1" ProgramDatabaseFile="$(TargetDir)$(INTEROP_NATIVE_NAME).pdb" GenerateMapFile="true" MapExports="true" SubSystem="2" OptimizeReferences="2" |
︙ | ︙ | |||
362 363 364 365 366 367 368 | Name="VCPreLinkEventTool" /> <Tool Name="VCLinkerTool" OutputFile="$(OutDir)\$(INTEROP_NATIVE_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" | < | 359 360 361 362 363 364 365 366 367 368 369 370 371 372 | Name="VCPreLinkEventTool" /> <Tool Name="VCLinkerTool" OutputFile="$(OutDir)\$(INTEROP_NATIVE_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" GenerateDebugInformation="true" AssemblyDebug="1" ProgramDatabaseFile="$(TargetDir)$(INTEROP_NATIVE_NAME).pdb" GenerateMapFile="true" MapExports="true" SubSystem="2" OptimizeReferences="2" |
︙ | ︙ | |||
457 458 459 460 461 462 463 | <Tool Name="VCLinkerTool" AdditionalOptions="$(INTEROP_ASSEMBLY_RESOURCES)" AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule" OutputFile="$(OutDir)\$(INTEROP_MIXED_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" | < | 453 454 455 456 457 458 459 460 461 462 463 464 465 466 | <Tool Name="VCLinkerTool" AdditionalOptions="$(INTEROP_ASSEMBLY_RESOURCES)" AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule" OutputFile="$(OutDir)\$(INTEROP_MIXED_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" GenerateDebugInformation="true" ProgramDatabaseFile="$(TargetDir)$(INTEROP_MIXED_NAME).pdb" GenerateMapFile="true" MapExports="true" SubSystem="2" LargeAddressAware="0" OptimizeReferences="2" |
︙ | ︙ | |||
557 558 559 560 561 562 563 | <Tool Name="VCLinkerTool" AdditionalOptions="$(INTEROP_ASSEMBLY_RESOURCES)" AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule" OutputFile="$(OutDir)\$(INTEROP_MIXED_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" | < | 552 553 554 555 556 557 558 559 560 561 562 563 564 565 | <Tool Name="VCLinkerTool" AdditionalOptions="$(INTEROP_ASSEMBLY_RESOURCES)" AdditionalDependencies="$(ProjectDir)..\bin\$(ConfigurationName)Module\bin\System.Data.SQLite.netmodule" OutputFile="$(OutDir)\$(INTEROP_MIXED_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" GenerateDebugInformation="true" ProgramDatabaseFile="$(TargetDir)$(INTEROP_MIXED_NAME).pdb" GenerateMapFile="true" MapExports="true" SubSystem="2" LargeAddressAware="0" OptimizeReferences="2" |
︙ | ︙ | |||
654 655 656 657 658 659 660 | Name="VCPreLinkEventTool" /> <Tool Name="VCLinkerTool" OutputFile="$(OutDir)\$(INTEROP_NATIVE_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" | < | 648 649 650 651 652 653 654 655 656 657 658 659 660 661 | Name="VCPreLinkEventTool" /> <Tool Name="VCLinkerTool" OutputFile="$(OutDir)\$(INTEROP_NATIVE_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" GenerateDebugInformation="true" ProgramDatabaseFile="$(TargetDir)$(INTEROP_NATIVE_NAME).pdb" GenerateMapFile="true" MapExports="true" SubSystem="2" LargeAddressAware="0" OptimizeReferences="2" |
︙ | ︙ | |||
748 749 750 751 752 753 754 | Name="VCPreLinkEventTool" /> <Tool Name="VCLinkerTool" OutputFile="$(OutDir)\$(INTEROP_NATIVE_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" | < | 741 742 743 744 745 746 747 748 749 750 751 752 753 754 | Name="VCPreLinkEventTool" /> <Tool Name="VCLinkerTool" OutputFile="$(OutDir)\$(INTEROP_NATIVE_NAME).dll" Version="$(INTEROP_MANIFEST_VERSION)" LinkIncremental="1" GenerateDebugInformation="true" ProgramDatabaseFile="$(TargetDir)$(INTEROP_NATIVE_NAME).pdb" GenerateMapFile="true" MapExports="true" SubSystem="2" LargeAddressAware="0" OptimizeReferences="2" |
︙ | ︙ | |||
1071 1072 1073 1074 1075 1076 1077 | Name="ReleaseNativeOnly|x64" ExcludedFromBuild="true" > <Tool Name="VCCLCompilerTool" /> </FileConfiguration> | < < < < | 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 | Name="ReleaseNativeOnly|x64" ExcludedFromBuild="true" > <Tool Name="VCCLCompilerTool" /> </FileConfiguration> </File> </Filter> <Filter Name="Header Files" Filter="h;hpp;hxx;hm;inl;inc;xsd" UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" > |
︙ | ︙ |
Changes to SQLite.Interop/SQLite.Interop.2010.vcxproj.
︙ | ︙ | |||
136 137 138 139 140 141 142 | <ResourceCompile> <PreprocessorDefinitions>_DEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <AdditionalOptions>$(INTEROP_ASSEMBLY_RESOURCES) %(AdditionalOptions)</AdditionalOptions> <AdditionalDependencies>$(ProjectDir)..\bin\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies> <Version>$(INTEROP_MANIFEST_VERSION)</Version> | < | 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | <ResourceCompile> <PreprocessorDefinitions>_DEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <AdditionalOptions>$(INTEROP_ASSEMBLY_RESOURCES) %(AdditionalOptions)</AdditionalOptions> <AdditionalDependencies>$(ProjectDir)..\bin\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies> <Version>$(INTEROP_MANIFEST_VERSION)</Version> <GenerateDebugInformation>true</GenerateDebugInformation> <AssemblyDebug>true</AssemblyDebug> <GenerateMapFile>true</GenerateMapFile> <MapExports>true</MapExports> <SubSystem>Windows</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> |
︙ | ︙ | |||
178 179 180 181 182 183 184 | <ResourceCompile> <PreprocessorDefinitions>_DEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <AdditionalOptions>$(INTEROP_ASSEMBLY_RESOURCES) %(AdditionalOptions)</AdditionalOptions> <AdditionalDependencies>$(ProjectDir)..\bin\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies> <Version>$(INTEROP_MANIFEST_VERSION)</Version> | < | 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | <ResourceCompile> <PreprocessorDefinitions>_DEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <AdditionalOptions>$(INTEROP_ASSEMBLY_RESOURCES) %(AdditionalOptions)</AdditionalOptions> <AdditionalDependencies>$(ProjectDir)..\bin\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies> <Version>$(INTEROP_MANIFEST_VERSION)</Version> <GenerateDebugInformation>true</GenerateDebugInformation> <AssemblyDebug>true</AssemblyDebug> <GenerateMapFile>true</GenerateMapFile> <MapExports>true</MapExports> <SubSystem>Windows</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> |
︙ | ︙ | |||
218 219 220 221 222 223 224 | <DisableSpecificWarnings>$(SQLITE_DISABLE_WARNINGS);%(DisableSpecificWarnings)</DisableSpecificWarnings> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <Version>$(INTEROP_MANIFEST_VERSION)</Version> | < | 216 217 218 219 220 221 222 223 224 225 226 227 228 229 | <DisableSpecificWarnings>$(SQLITE_DISABLE_WARNINGS);%(DisableSpecificWarnings)</DisableSpecificWarnings> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <Version>$(INTEROP_MANIFEST_VERSION)</Version> <GenerateDebugInformation>true</GenerateDebugInformation> <GenerateMapFile>true</GenerateMapFile> <MapExports>true</MapExports> <SubSystem>Windows</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> <TargetMachine>MachineX86</TargetMachine> |
︙ | ︙ | |||
253 254 255 256 257 258 259 | <DisableSpecificWarnings>$(SQLITE_DISABLE_WARNINGS);$(SQLITE_DISABLE_X64_WARNINGS);%(DisableSpecificWarnings)</DisableSpecificWarnings> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <Version>$(INTEROP_MANIFEST_VERSION)</Version> | < | 250 251 252 253 254 255 256 257 258 259 260 261 262 263 | <DisableSpecificWarnings>$(SQLITE_DISABLE_WARNINGS);$(SQLITE_DISABLE_X64_WARNINGS);%(DisableSpecificWarnings)</DisableSpecificWarnings> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <Version>$(INTEROP_MANIFEST_VERSION)</Version> <GenerateDebugInformation>true</GenerateDebugInformation> <GenerateMapFile>true</GenerateMapFile> <MapExports>true</MapExports> <SubSystem>Windows</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> <TargetMachine>MachineX64</TargetMachine> |
︙ | ︙ | |||
293 294 295 296 297 298 299 | <ResourceCompile> <PreprocessorDefinitions>NDEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <AdditionalOptions>$(INTEROP_ASSEMBLY_RESOURCES) %(AdditionalOptions)</AdditionalOptions> <AdditionalDependencies>$(ProjectDir)..\bin\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies> <Version>$(INTEROP_MANIFEST_VERSION)</Version> | < | 289 290 291 292 293 294 295 296 297 298 299 300 301 302 | <ResourceCompile> <PreprocessorDefinitions>NDEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <AdditionalOptions>$(INTEROP_ASSEMBLY_RESOURCES) %(AdditionalOptions)</AdditionalOptions> <AdditionalDependencies>$(ProjectDir)..\bin\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies> <Version>$(INTEROP_MANIFEST_VERSION)</Version> <GenerateDebugInformation>true</GenerateDebugInformation> <GenerateMapFile>true</GenerateMapFile> <MapExports>true</MapExports> <SubSystem>Windows</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration> |
︙ | ︙ | |||
337 338 339 340 341 342 343 | <ResourceCompile> <PreprocessorDefinitions>NDEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <AdditionalOptions>$(INTEROP_ASSEMBLY_RESOURCES) %(AdditionalOptions)</AdditionalOptions> <AdditionalDependencies>$(ProjectDir)..\bin\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies> <Version>$(INTEROP_MANIFEST_VERSION)</Version> | < | 332 333 334 335 336 337 338 339 340 341 342 343 344 345 | <ResourceCompile> <PreprocessorDefinitions>NDEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <AdditionalOptions>$(INTEROP_ASSEMBLY_RESOURCES) %(AdditionalOptions)</AdditionalOptions> <AdditionalDependencies>$(ProjectDir)..\bin\$(Configuration)Module\bin\System.Data.SQLite.netmodule;%(AdditionalDependencies)</AdditionalDependencies> <Version>$(INTEROP_MANIFEST_VERSION)</Version> <GenerateDebugInformation>true</GenerateDebugInformation> <GenerateMapFile>true</GenerateMapFile> <MapExports>true</MapExports> <SubSystem>Windows</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration> |
︙ | ︙ | |||
379 380 381 382 383 384 385 | <DisableSpecificWarnings>$(SQLITE_DISABLE_WARNINGS);%(DisableSpecificWarnings)</DisableSpecificWarnings> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <Version>$(INTEROP_MANIFEST_VERSION)</Version> | < | 373 374 375 376 377 378 379 380 381 382 383 384 385 386 | <DisableSpecificWarnings>$(SQLITE_DISABLE_WARNINGS);%(DisableSpecificWarnings)</DisableSpecificWarnings> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <Version>$(INTEROP_MANIFEST_VERSION)</Version> <GenerateDebugInformation>true</GenerateDebugInformation> <GenerateMapFile>true</GenerateMapFile> <MapExports>true</MapExports> <SubSystem>Windows</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> <TargetMachine>MachineX86</TargetMachine> |
︙ | ︙ | |||
417 418 419 420 421 422 423 | <DisableSpecificWarnings>$(SQLITE_DISABLE_WARNINGS);$(SQLITE_DISABLE_X64_WARNINGS);%(DisableSpecificWarnings)</DisableSpecificWarnings> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <Version>$(INTEROP_MANIFEST_VERSION)</Version> | < | 410 411 412 413 414 415 416 417 418 419 420 421 422 423 | <DisableSpecificWarnings>$(SQLITE_DISABLE_WARNINGS);$(SQLITE_DISABLE_X64_WARNINGS);%(DisableSpecificWarnings)</DisableSpecificWarnings> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;_UNICODE;UNICODE;INTEROP_RC_VERSION=$(INTEROP_RC_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> <Version>$(INTEROP_MANIFEST_VERSION)</Version> <GenerateDebugInformation>true</GenerateDebugInformation> <GenerateMapFile>true</GenerateMapFile> <MapExports>true</MapExports> <SubSystem>Windows</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> <TargetMachine>MachineX64</TargetMachine> |
︙ | ︙ | |||
453 454 455 456 457 458 459 | <ClCompile Include="src\core\sqlite3.c"> <ExcludedFromBuild>true</ExcludedFromBuild> </ClCompile> </ItemGroup> <ItemGroup> <None Include="props\SQLite.Interop.props" /> <None Include="props\sqlite3.props" /> | < | 445 446 447 448 449 450 451 452 453 454 455 456 457 458 | <ClCompile Include="src\core\sqlite3.c"> <ExcludedFromBuild>true</ExcludedFromBuild> </ClCompile> </ItemGroup> <ItemGroup> <None Include="props\SQLite.Interop.props" /> <None Include="props\sqlite3.props" /> </ItemGroup> <ItemGroup> <ClInclude Include="src\core\sqlite3.h" /> <ClInclude Include="src\core\sqlite3ext.h" /> </ItemGroup> <ItemGroup> <ResourceCompile Include="src\win\SQLite.Interop.rc" /> |
︙ | ︙ |
Changes to SQLite.Interop/SQLite.Interop.2010.vcxproj.filters.
︙ | ︙ | |||
45 46 47 48 49 50 51 | <ItemGroup> <None Include="props\sqlite3.props"> <Filter>Property Files</Filter> </None> <None Include="props\SQLite.Interop.props"> <Filter>Property Files</Filter> </None> | < < < | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | <ItemGroup> <None Include="props\sqlite3.props"> <Filter>Property Files</Filter> </None> <None Include="props\SQLite.Interop.props"> <Filter>Property Files</Filter> </None> </ItemGroup> <ItemGroup> <ClInclude Include="src\core\sqlite3.h"> <Filter>Header Files</Filter> </ClInclude> <ClInclude Include="src\core\sqlite3ext.h"> <Filter>Header Files</Filter> |
︙ | ︙ |
Deleted SQLite.Interop/src/core/sqlite3.def.
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Changes to SQLite.Interop/src/win/crypt.c.
︙ | ︙ | |||
295 296 297 298 299 300 301 | LPCRYPTBLOCK pBlock = (LPCRYPTBLOCK)sqlite3pager_get_codecarg(p); if (ppKey) *ppKey = 0; if (pnKeyLen && pBlock) *pnKeyLen = 1; } // We do not attach this key to the temp store, only the main database. | | | | 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 | LPCRYPTBLOCK pBlock = (LPCRYPTBLOCK)sqlite3pager_get_codecarg(p); if (ppKey) *ppKey = 0; if (pnKeyLen && pBlock) *pnKeyLen = 1; } // We do not attach this key to the temp store, only the main database. SQLITE_API int sqlite3_key(sqlite3 *db, const unsigned char *pKey, int nKeySize) { return sqlite3CodecAttach(db, 0, pKey, nKeySize); } // Changes the encryption key for an existing database. SQLITE_API int sqlite3_rekey(sqlite3 *db, const unsigned char *pKey, int nKeySize) { Btree *pbt = db->aDb[0].pBt; Pager *p = sqlite3BtreePager(pbt); LPCRYPTBLOCK pBlock = (LPCRYPTBLOCK)sqlite3pager_get_codecarg(p); HCRYPTKEY hKey = DeriveKey(pKey, nKeySize); int rc = SQLITE_ERROR; |
︙ | ︙ |
Changes to SQLite.Interop/src/win/interop.c.
1 2 3 4 5 6 7 | #include "../core/sqlite3.c" #include "../contrib/extension-functions.c" #include "crypt.c" extern int RegisterExtensionFunctions(sqlite3 *db); #ifdef SQLITE_OS_WIN | > | 1 2 3 4 5 6 7 8 | #define SQLITE_API __declspec(dllexport) #include "../core/sqlite3.c" #include "../contrib/extension-functions.c" #include "crypt.c" extern int RegisterExtensionFunctions(sqlite3 *db); #ifdef SQLITE_OS_WIN |
︙ | ︙ |
Changes to test/TestCases.cs.
︙ | ︙ | |||
64 65 66 67 68 69 70 71 72 73 74 75 76 77 | } internal void CheckSQLite() { if (_fact.GetType().Name.IndexOf("SQLite", StringComparison.OrdinalIgnoreCase) == -1) throw new InconclusiveException("Not a SQLite database"); } [Test(Sequence=1)] internal string VersionTest() { CheckSQLite(); string[] version = _cnn.ServerVersion.Split('.'); if (Convert.ToInt32(version[0]) < 3 | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | } internal void CheckSQLite() { if (_fact.GetType().Name.IndexOf("SQLite", StringComparison.OrdinalIgnoreCase) == -1) throw new InconclusiveException("Not a SQLite database"); } /// <summary> /// Tests changing password on an encrypted database. /// </summary> [Test] internal void ChangePasswordTest() { if (_factstring.ToLower().Contains("sqlite")) { // Opens an unencrypted database SQLiteConnection cnn = new SQLiteConnection(_cnnstring.ConnectionString); cnn.Open(); // Encrypts the database. The connection remains valid and usable afterwards. cnn.ChangePassword("mypassword"); maydroptable.Add("ChangePasswordTest"); if (cnn.State != ConnectionState.Open) cnn.Open(); using (DbCommand cmd = cnn.CreateCommand()) { cmd.CommandText = "CREATE TABLE ChangePasswordTest(ID int primary key)"; cmd.ExecuteNonQuery(); } cnn.Close(); // Try re-opening with bad password cnn.SetPassword("!mypassword"); cnn.Open(); cnn.Close(); // Try re-opening with good password cnn.SetPassword("mypassword"); cnn.Open(); // Decrpyt database cnn.ChangePassword(""); cnn.Close(); // Try opening now without password cnn.Open(); cnn.Close(); } } [Test(Sequence=1)] internal string VersionTest() { CheckSQLite(); string[] version = _cnn.ServerVersion.Split('.'); if (Convert.ToInt32(version[0]) < 3 |
︙ | ︙ |