Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Improvements to 'Password' error messages. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
3a8df73b78a6927ff5614d9d51de271f |
User & Date: | mistachkin 2017-07-31 18:53:50 |
Context
2017-07-31
| ||
19:16 | Fix variable leak in tests 'data-1.91' and 'data-1.92'. check-in: 862485361a user: mistachkin tags: trunk | |
18:53 | Improvements to 'Password' error messages. check-in: 3a8df73b78 user: mistachkin tags: trunk | |
18:25 | Update the 'vswhere' tool in Externals to the '2.1.3' release. check-in: 8f3bf26d38 user: mistachkin tags: trunk | |
Changes
Changes to System.Data.SQLite/SQLiteConnection.cs.
3895 3895 } 3896 3896 _password = null; 3897 3897 #else 3898 3898 if (FindKey(opts, "HexPassword", DefaultHexPassword) != null) 3899 3899 { 3900 3900 throw new SQLiteException(SQLiteErrorCode.Error, 3901 3901 "Cannot use \"HexPassword\" connection string property: " + 3902 - "library was not built with encryption support"); 3902 + "library was not built with encryption support, please " + 3903 + "see \"https://www.sqlite.org/see\" for more information"); 3903 3904 } 3904 3905 3905 3906 if (FindKey(opts, "Password", DefaultPassword) != null) 3906 3907 { 3907 3908 throw new SQLiteException(SQLiteErrorCode.Error, 3908 3909 "Cannot use \"Password\" connection string property: " + 3909 - "library was not built with encryption support"); 3910 + "library was not built with encryption support, please " + 3911 + "see \"https://www.sqlite.org/see\" for more information"); 3910 3912 } 3911 3913 #endif 3912 3914 3913 3915 if (!fullUri) 3914 3916 _dataSource = Path.GetFileNameWithoutExtension(fileName); 3915 3917 else 3916 3918 _dataSource = fileName;
Changes to Tests/basic.eagle.
4735 4735 } -cleanup { 4736 4736 cleanupDb $fileName 4737 4737 4738 4738 unset -nocomplain db fileName 4739 4739 } -constraints [fixConstraints {eagle !System.Data.SQLite.Encryption monoBug28\ 4740 4740 command.sql compile.DATA SQLite System.Data.SQLite}] -result {1 {SQL logic\ 4741 4741 error -- Cannot use "Password" connection string property: library was not\ 4742 -built with encryption support}}} 4742 +built with encryption support, please see "https://www.sqlite.org/see" for more\ 4743 +information}}} 4743 4744 4744 4745 ############################################################################### 4745 4746 4746 4747 runTest {test data-1.92 {HexPassword error (no encryption support)} -body { 4747 4748 list [catch { 4748 4749 setupDb [set fileName data-1.92.db] "" "" "" "" "HexPassword=1234;" 4749 4750 } msg] [extractSystemDataSQLiteExceptionMessage $msg] ................................................................................ 4750 4751 } -cleanup { 4751 4752 cleanupDb $fileName 4752 4753 4753 4754 unset -nocomplain db fileName 4754 4755 } -constraints [fixConstraints {eagle !System.Data.SQLite.Encryption monoBug28\ 4755 4756 command.sql compile.DATA SQLite System.Data.SQLite}] -result {1 {SQL logic\ 4756 4757 error -- Cannot use "HexPassword" connection string property: library was not\ 4757 -built with encryption support}}} 4758 +built with encryption support, please see "https://www.sqlite.org/see" for more\ 4759 +information}}} 4758 4760 4759 4761 ############################################################################### 4760 4762 4761 4763 reportSQLiteResources $test_channel 4762 4764 4763 4765 ############################################################################### 4764 4766 4765 4767 runSQLiteTestFilesEpilogue 4766 4768 runSQLiteTestEpilogue 4767 4769 runTestEpilogue