File tree 2 files changed +0
-19
lines changed 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -398,21 +398,6 @@ schema_add_space(
398
398
return -1 ;
399
399
}
400
400
401
- int
402
- tarantool_schema_has_space_no (
403
- struct tarantool_schema * schema_obj ,
404
- uint32_t space_no ) {
405
- /* Prepare key for space search */
406
- struct schema_key space_key ;
407
- space_key .number = space_no ;
408
- space_key .id = (void * )& (space_key .number );
409
- space_key .id_len = sizeof (uint32_t );
410
-
411
- struct mh_schema_space_t * schema = schema_obj -> space_hash ;
412
- mh_int_t space_slot = mh_schema_space_find (schema , & space_key , NULL );
413
- return (space_slot != mh_end (schema ));
414
- }
415
-
416
401
int
417
402
tarantool_schema_add_spaces (
418
403
struct tarantool_schema * schema_obj ,
@@ -572,7 +557,6 @@ tarantool_schema_get_sid_by_string(
572
557
return space -> space_number ;
573
558
}
574
559
575
- /* ALIAS for verify existens */
576
560
int32_t
577
561
tarantool_schema_get_sid_by_number (
578
562
struct tarantool_schema * schema_obj ,
Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ struct tarantool_schema {
47
47
struct mh_schema_space_t * space_hash ;
48
48
};
49
49
50
- int
51
- tarantool_schema_has_space_no (struct tarantool_schema * , uint32_t );
52
-
53
50
int
54
51
tarantool_schema_add_spaces (struct tarantool_schema * , const char * , uint32_t );
55
52
int
You can’t perform that action at this time.
0 commit comments