Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
c33a7a79
Commit
c33a7a79
authored
Feb 11, 2003
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cc_invalidate(): Removed a bogus assert.
parent
6b0cefb8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
18 deletions
+3
-18
src/Persistence/cPickleCache.c
src/Persistence/cPickleCache.c
+1
-6
src/ZODB/cPickleCache.c
src/ZODB/cPickleCache.c
+1
-6
src/persistent/cPickleCache.c
src/persistent/cPickleCache.c
+1
-6
No files found.
src/Persistence/cPickleCache.c
View file @
c33a7a79
...
@@ -88,7 +88,7 @@ process must skip such objects, rather than deactivating them.
...
@@ -88,7 +88,7 @@ process must skip such objects, rather than deactivating them.
static
char
cPickleCache_doc_string
[]
=
static
char
cPickleCache_doc_string
[]
=
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPickleCache.c,v 1.7
0 2002/12/13 21:22:20 jeremy
Exp $
\n
"
;
"$Id: cPickleCache.c,v 1.7
1 2003/02/11 19:16:27 bwarsaw
Exp $
\n
"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -338,11 +338,6 @@ cc_invalidate(ccobject *self, PyObject *args)
...
@@ -338,11 +338,6 @@ cc_invalidate(ccobject *self, PyObject *args)
PyObject
*
inv
,
*
key
,
*
v
;
PyObject
*
inv
,
*
key
,
*
v
;
int
i
=
0
;
int
i
=
0
;
/* Older versions of ZODB used None to mean "invalidate everything,"
but current Connection implementations don't ever pass None.
*/
assert
(
key
!=
Py_None
);
if
(
PyArg_ParseTuple
(
args
,
"O!"
,
&
PyDict_Type
,
&
inv
))
{
if
(
PyArg_ParseTuple
(
args
,
"O!"
,
&
PyDict_Type
,
&
inv
))
{
while
(
PyDict_Next
(
inv
,
&
i
,
&
key
,
&
v
))
while
(
PyDict_Next
(
inv
,
&
i
,
&
key
,
&
v
))
_invalidate
(
self
,
key
);
_invalidate
(
self
,
key
);
...
...
src/ZODB/cPickleCache.c
View file @
c33a7a79
...
@@ -88,7 +88,7 @@ process must skip such objects, rather than deactivating them.
...
@@ -88,7 +88,7 @@ process must skip such objects, rather than deactivating them.
static
char
cPickleCache_doc_string
[]
=
static
char
cPickleCache_doc_string
[]
=
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPickleCache.c,v 1.7
0 2002/12/13 21:22:20 jeremy
Exp $
\n
"
;
"$Id: cPickleCache.c,v 1.7
1 2003/02/11 19:16:27 bwarsaw
Exp $
\n
"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -338,11 +338,6 @@ cc_invalidate(ccobject *self, PyObject *args)
...
@@ -338,11 +338,6 @@ cc_invalidate(ccobject *self, PyObject *args)
PyObject
*
inv
,
*
key
,
*
v
;
PyObject
*
inv
,
*
key
,
*
v
;
int
i
=
0
;
int
i
=
0
;
/* Older versions of ZODB used None to mean "invalidate everything,"
but current Connection implementations don't ever pass None.
*/
assert
(
key
!=
Py_None
);
if
(
PyArg_ParseTuple
(
args
,
"O!"
,
&
PyDict_Type
,
&
inv
))
{
if
(
PyArg_ParseTuple
(
args
,
"O!"
,
&
PyDict_Type
,
&
inv
))
{
while
(
PyDict_Next
(
inv
,
&
i
,
&
key
,
&
v
))
while
(
PyDict_Next
(
inv
,
&
i
,
&
key
,
&
v
))
_invalidate
(
self
,
key
);
_invalidate
(
self
,
key
);
...
...
src/persistent/cPickleCache.c
View file @
c33a7a79
...
@@ -88,7 +88,7 @@ process must skip such objects, rather than deactivating them.
...
@@ -88,7 +88,7 @@ process must skip such objects, rather than deactivating them.
static
char
cPickleCache_doc_string
[]
=
static
char
cPickleCache_doc_string
[]
=
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPickleCache.c,v 1.7
0 2002/12/13 21:22:20 jeremy
Exp $
\n
"
;
"$Id: cPickleCache.c,v 1.7
1 2003/02/11 19:16:27 bwarsaw
Exp $
\n
"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -338,11 +338,6 @@ cc_invalidate(ccobject *self, PyObject *args)
...
@@ -338,11 +338,6 @@ cc_invalidate(ccobject *self, PyObject *args)
PyObject
*
inv
,
*
key
,
*
v
;
PyObject
*
inv
,
*
key
,
*
v
;
int
i
=
0
;
int
i
=
0
;
/* Older versions of ZODB used None to mean "invalidate everything,"
but current Connection implementations don't ever pass None.
*/
assert
(
key
!=
Py_None
);
if
(
PyArg_ParseTuple
(
args
,
"O!"
,
&
PyDict_Type
,
&
inv
))
{
if
(
PyArg_ParseTuple
(
args
,
"O!"
,
&
PyDict_Type
,
&
inv
))
{
while
(
PyDict_Next
(
inv
,
&
i
,
&
key
,
&
v
))
while
(
PyDict_Next
(
inv
,
&
i
,
&
key
,
&
v
))
_invalidate
(
self
,
key
);
_invalidate
(
self
,
key
);
...
...
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