Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Python Rocksdb
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
Python Rocksdb
Commits
9b2d7a97
Commit
9b2d7a97
authored
3 years ago
by
Mandar Harshe
Browse files
Options
Downloads
Patches
Plain Diff
PR comment suggestions and fixes
Remove unnecessary delete Revert deleting Close method call
parent
92c7d8d3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
rocksdb/_rocksdb.pyx
+1
-0
1 addition, 0 deletions
rocksdb/_rocksdb.pyx
with
2 additions
and
1 deletion
pyproject.toml
+
1
−
1
View file @
9b2d7a97
[build-system]
[build-system]
requires
=
[
"setuptools"
,
"wheel"
,
"
C
ython"
]
requires
=
[
"setuptools"
,
"wheel"
,
"
c
ython"
]
build-backend
=
"setuptools.build_meta"
build-backend
=
"setuptools.build_meta"
This diff is collapsed.
Click to expand it.
rocksdb/_rocksdb.pyx
+
1
−
0
View file @
9b2d7a97
...
@@ -1738,6 +1738,7 @@ cdef class DB(object):
...
@@ -1738,6 +1738,7 @@ cdef class DB(object):
copts
.
in_use
=
False
copts
.
in_use
=
False
del
self
.
cf_options
[:]
del
self
.
cf_options
[:]
with
nogil
:
with
nogil
:
st
=
self
.
db
.
Close
()
self
.
db
=
NULL
self
.
db
=
NULL
if
self
.
opts
is
not
None
:
if
self
.
opts
is
not
None
:
self
.
opts
.
in_use
=
False
self
.
opts
.
in_use
=
False
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment