Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/danfengcao/binlog2sql
/ compare_items
Function
compare_items
binlog2sql/binlog2sql_util.py:128–134 ·
view source on GitHub ↗
(items)
Source
from the content-addressed store, hash-verified
126
127
128
def
compare_items(items):
129
# caution: if v is NULL, may need to process
130
(k, v) = items
131
if
v is None:
132
return
'`%s` IS %%s'
% k
133
else
:
134
return
'`%s`=%%s'
% k
135
136
137
def
fix_object(value):
Callers
1
test_compare_items
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_compare_items
Method · 0.68