Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
d89499bf
Commit
d89499bf
authored
May 15, 2015
by
Vincent Castellano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tg-2.0.1 related issues in python bindings
parent
e1d65dad
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
45 deletions
+47
-45
python-tg.c
python-tg.c
+45
-43
tgl
tgl
+1
-1
tgl-test.py
tgl-test.py
+1
-1
No files found.
python-tg.c
View file @
d89499bf
This diff is collapsed.
Click to expand it.
tgl
@
b3dcce35
Subproject commit
76824c29a6dcb424e1109e691d31280a9cbaa954
Subproject commit
b3dcce35110f5c995366318c2886065287815d09
tgl-test.py
View file @
d89499bf
...
...
@@ -29,7 +29,7 @@ def history_cb(msg_list, ptype, pid, success, msgs):
msg_list
.
extend
(
msgs
)
print
(
len
(
msg_list
))
if
len
(
msgs
)
==
HISTORY_QUERY_SIZE
:
tgl
.
get_history
_ext
(
ptype
,
pid
,
len
(
msg_list
),
HISTORY_QUERY_SIZE
,
partial
(
history_cb
,
msg_list
,
ptype
,
pid
));
tgl
.
get_history
(
ptype
,
pid
,
len
(
msg_list
),
HISTORY_QUERY_SIZE
,
partial
(
history_cb
,
msg_list
,
ptype
,
pid
));
def
on_msg_receive
(
msg
):
if
msg
[
"out"
]
and
not
binlog_done
:
...
...
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