(storage *storepb.StorageConfig)
| 855 | } |
| 856 | |
| 857 | func convertStoreStorageConfig(storage *storepb.StorageConfig) *v1pb.StorageConfig { |
| 858 | if storage == nil { |
| 859 | return nil |
| 860 | } |
| 861 | return &v1pb.StorageConfig{ |
| 862 | Fillfactor: storage.Fillfactor, |
| 863 | Buffering: storage.Buffering, |
| 864 | Tablespace: storage.Tablespace, |
| 865 | WorkTablespace: storage.WorkTablespace, |
| 866 | SdoLevel: storage.SdoLevel, |
| 867 | CommitInterval: storage.CommitInterval, |
| 868 | PadIndex: storage.PadIndex, |
| 869 | SortInTempdb: storage.SortInTempdb, |
| 870 | DropExisting: storage.DropExisting, |
| 871 | Online: storage.Online, |
| 872 | AllowRowLocks: storage.AllowRowLocks, |
| 873 | AllowPageLocks: storage.AllowPageLocks, |
| 874 | Maxdop: storage.Maxdop, |
| 875 | DataCompression: storage.DataCompression, |
| 876 | } |
| 877 | } |
| 878 | |
| 879 | func convertV1StorageConfig(storage *v1pb.StorageConfig) *storepb.StorageConfig { |
| 880 | if storage == nil { |
no outgoing calls
no test coverage detected