Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
neoppod
Commits
147f6b8b
Commit
147f6b8b
authored
Feb 20, 2012
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos
parent
98e872ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
neo/lib/connection.py
neo/lib/connection.py
+1
-1
neo/storage/database/mysqldb.py
neo/storage/database/mysqldb.py
+1
-1
No files found.
neo/lib/connection.py
View file @
147f6b8b
...
@@ -128,7 +128,7 @@ class HandlerSwitcher(object):
...
@@ -128,7 +128,7 @@ class HandlerSwitcher(object):
# be excpected for the current handler...
# be excpected for the current handler...
(
request_dict
,
_
)
=
_pending
[
0
]
(
request_dict
,
_
)
=
_pending
[
0
]
else
:
else
:
# ...otherwise, queue for
for
the latest handler
# ...otherwise, queue for the latest handler
assert
len
(
_pending
)
==
1
or
_pending
[
0
][
0
]
assert
len
(
_pending
)
==
1
or
_pending
[
0
][
0
]
(
request_dict
,
_
)
=
_pending
[
-
1
]
(
request_dict
,
_
)
=
_pending
[
-
1
]
msg_id
=
request
.
getId
()
msg_id
=
request
.
getId
()
...
...
neo/storage/database/mysqldb.py
View file @
147f6b8b
...
@@ -830,7 +830,7 @@ class MySQLDatabaseManager(DatabaseManager):
...
@@ -830,7 +830,7 @@ class MySQLDatabaseManager(DatabaseManager):
u64
=
util
.
u64
u64
=
util
.
u64
# We don't ask MySQL to compute everything (like in checkTIDRange)
# We don't ask MySQL to compute everything (like in checkTIDRange)
# because it's difficult to get the last serial _for the last oid_.
# because it's difficult to get the last serial _for the last oid_.
# We would need a function (that
be named 'LAST') that return
the
# We would need a function (that
could be named 'LAST') that returns
the
# last grouped value, instead of the greatest one.
# last grouped value, instead of the greatest one.
r
=
self
.
query
(
r
=
self
.
query
(
"""SELECT oid, serial
"""SELECT oid, serial
...
...
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