File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " pyinnodb"
3
- version = " 0.0.20 "
3
+ version = " 0.0.21 "
4
4
description = " A parser for InnoDB file formats, in Python"
5
5
authors = [
6
6
{ name = " WinChua" , email = " winchua@foxmail.com" }
Original file line number Diff line number Diff line change 1
1
from pyinnodb .disk_struct .fil import MFil
2
2
from pyinnodb .disk_struct .fsp import MFspHeader
3
+ from io import BytesIO
3
4
4
5
from . import *
5
6
Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ def get_disk_data_layout(self):
381
381
data_layout_col = []
382
382
for i , c in enumerate (self .columns ):
383
383
data_layout_col .append ((c , c_l .get (i , const .FFFFFFFF )))
384
- data_layout_col .sort (key = lambda c : c [0 ].private_data .get ("physical_pos" , 0 ))
384
+ data_layout_col .sort (key = lambda c : int ( c [0 ].private_data .get ("physical_pos" , 0 ) ))
385
385
return data_layout_col
386
386
387
387
data_layout_col = []
You can’t perform that action at this time.
0 commit comments