File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -97,23 +97,23 @@ box.once('initialization', function()
97
97
parts = {2 , compat .unsigned , 3 , compat .string }
98
98
})
99
99
100
- local space = box .schema .space .create (' msgpack' )
101
- space :create_index (' primary' , {
100
+ local space_msgpack = box .schema .space .create (' msgpack' )
101
+ space_msgpack :create_index (' primary' , {
102
102
parts = {1 , compat .unsigned }
103
103
})
104
- space :insert {1 , ' float as key' , {
104
+ space_msgpack :insert {1 , ' float as key' , {
105
105
[2.7 ] = {1 , 2 , 3 }
106
106
}}
107
- space :insert {2 , ' array as key' , {
107
+ space_msgpack :insert {2 , ' array as key' , {
108
108
[{2 , 7 }] = {1 , 2 , 3 }
109
109
}}
110
- space :insert {3 , ' array with float key as key' , {
110
+ space_msgpack :insert {3 , ' array with float key as key' , {
111
111
[{
112
112
[2.7 ] = 3 ,
113
113
[7 ] = 7
114
114
}] = {1 , 2 , 3 }
115
115
}}
116
- space :insert {6 , ' array with string key as key' , {
116
+ space_msgpack :insert {6 , ' array with string key as key' , {
117
117
[' megusta' ] = {1 , 2 , 3 }
118
118
}}
119
119
You can’t perform that action at this time.
0 commit comments