File: 01_sqlite_backend_spellingerror.patch

package info (click to toggle)
cppdb 0.3.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 676 kB
  • ctags: 1,281
  • sloc: cpp: 7,373; sh: 133; ansic: 72; makefile: 7
file content (27 lines) | stat: -rw-r--r-- 1,031 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libcppdb_sqlite3.so.0.3.1 propery property
Author: Tobias Frost <tobi@coldtobi.de>
Bug: <URL to the upstream bug report if any, implies patch has been forwarded, optional>
Forwarded: not yet
Last-Update: 2014-06-28
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/drivers/sqlite3_backend.cpp
+++ b/drivers/sqlite3_backend.cpp
@@ -381,7 +381,7 @@
 			{
 				std::string dbname=ci.get("db");
 				if(dbname.empty()) {
-					throw cppdb_error("sqlite3:database file (db propery) not specified");
+					throw cppdb_error("sqlite3:database file (db property) not specified");
 				}
 
 				std::string mode = ci.get("mode","create");
@@ -393,7 +393,7 @@
 				else if(mode == "readwrite")
 					flags = SQLITE_OPEN_READWRITE;
 				else {
-					throw cppdb_error("sqlite3:invalid mode propery, expected "
+					throw cppdb_error("sqlite3:invalid mode property, expected "
 								" 'create' (default), 'readwrite' or 'readonly' values");
 				}