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
1da891c5
Commit
1da891c5
authored
May 02, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_ring_corrupt(): Only needed when MUCH_RING_CHECKING is defined.
No need to generate code that is not needed!
parent
939d5575
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
src/Persistence/cPickleCache.c
src/Persistence/cPickleCache.c
+3
-1
src/ZODB/cPickleCache.c
src/ZODB/cPickleCache.c
+3
-1
src/persistent/cPickleCache.c
src/persistent/cPickleCache.c
+3
-1
No files found.
src/Persistence/cPickleCache.c
View file @
1da891c5
...
...
@@ -88,7 +88,7 @@ process must skip such objects, rather than deactivating them.
static
char
cPickleCache_doc_string
[]
=
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"
\n
"
"$Id: cPickleCache.c,v 1.6
4 2002/04/18 09:32:13 htrd
Exp $
\n
"
;
"$Id: cPickleCache.c,v 1.6
5 2002/05/02 14:03:07 fdrake
Exp $
\n
"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
...
...
@@ -972,6 +972,7 @@ cc_ass_sub(ccobject *self, PyObject *key, PyObject *v)
return
cc_del_item
(
self
,
key
);
}
#ifdef MUCH_RING_CHECKING
static
int
_ring_corrupt
(
ccobject
*
self
,
const
char
*
context
)
{
...
...
@@ -1037,6 +1038,7 @@ _ring_corrupt(ccobject *self, const char *context)
return
0
;
}
#endif
/* MUCH_RING_CHECKING */
static
int
ring_corrupt
(
ccobject
*
self
,
const
char
*
context
)
...
...
src/ZODB/cPickleCache.c
View file @
1da891c5
...
...
@@ -88,7 +88,7 @@ process must skip such objects, rather than deactivating them.
static
char
cPickleCache_doc_string
[]
=
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"
\n
"
"$Id: cPickleCache.c,v 1.6
4 2002/04/18 09:32:13 htrd
Exp $
\n
"
;
"$Id: cPickleCache.c,v 1.6
5 2002/05/02 14:03:07 fdrake
Exp $
\n
"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
...
...
@@ -972,6 +972,7 @@ cc_ass_sub(ccobject *self, PyObject *key, PyObject *v)
return
cc_del_item
(
self
,
key
);
}
#ifdef MUCH_RING_CHECKING
static
int
_ring_corrupt
(
ccobject
*
self
,
const
char
*
context
)
{
...
...
@@ -1037,6 +1038,7 @@ _ring_corrupt(ccobject *self, const char *context)
return
0
;
}
#endif
/* MUCH_RING_CHECKING */
static
int
ring_corrupt
(
ccobject
*
self
,
const
char
*
context
)
...
...
src/persistent/cPickleCache.c
View file @
1da891c5
...
...
@@ -88,7 +88,7 @@ process must skip such objects, rather than deactivating them.
static
char
cPickleCache_doc_string
[]
=
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"
\n
"
"$Id: cPickleCache.c,v 1.6
4 2002/04/18 09:32:13 htrd
Exp $
\n
"
;
"$Id: cPickleCache.c,v 1.6
5 2002/05/02 14:03:07 fdrake
Exp $
\n
"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
...
...
@@ -972,6 +972,7 @@ cc_ass_sub(ccobject *self, PyObject *key, PyObject *v)
return
cc_del_item
(
self
,
key
);
}
#ifdef MUCH_RING_CHECKING
static
int
_ring_corrupt
(
ccobject
*
self
,
const
char
*
context
)
{
...
...
@@ -1037,6 +1038,7 @@ _ring_corrupt(ccobject *self, const char *context)
return
0
;
}
#endif
/* MUCH_RING_CHECKING */
static
int
ring_corrupt
(
ccobject
*
self
,
const
char
*
context
)
...
...
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