Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b10a64d1
Commit
b10a64d1
authored
Sep 20, 2018
by
Berker Peksag
Committed by
GitHub
Sep 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-34743: Fix test_database_source_name under SQLite 3.7.9 (GH-9426)
parent
8d1e190f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Modules/_sqlite/connection.c
Modules/_sqlite/connection.c
+6
-0
No files found.
Modules/_sqlite/connection.c
View file @
b10a64d1
...
...
@@ -1594,6 +1594,12 @@ pysqlite_connection_backup(pysqlite_Connection *self, PyObject *args, PyObject *
PyErr_SetString
(
pysqlite_OperationalError
,
sqlite3_errstr
(
rc
));
#else
switch
(
rc
)
{
case
SQLITE_ERROR
:
/* Description of SQLITE_ERROR in SQLite 3.7.14 and older
releases. */
PyErr_SetString
(
pysqlite_OperationalError
,
"SQL logic error or missing database"
);
break
;
case
SQLITE_READONLY
:
PyErr_SetString
(
pysqlite_OperationalError
,
"attempt to write a readonly database"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment