(storage *v1pb.StorageConfig)
| 877 | } |
| 878 | |
| 879 | func convertV1StorageConfig(storage *v1pb.StorageConfig) *storepb.StorageConfig { |
| 880 | if storage == nil { |
| 881 | return nil |
| 882 | } |
| 883 | return &storepb.StorageConfig{ |
| 884 | Fillfactor: storage.Fillfactor, |
| 885 | Buffering: storage.Buffering, |
| 886 | Tablespace: storage.Tablespace, |
| 887 | WorkTablespace: storage.WorkTablespace, |
| 888 | SdoLevel: storage.SdoLevel, |
| 889 | CommitInterval: storage.CommitInterval, |
| 890 | PadIndex: storage.PadIndex, |
| 891 | SortInTempdb: storage.SortInTempdb, |
| 892 | DropExisting: storage.DropExisting, |
| 893 | Online: storage.Online, |
| 894 | AllowRowLocks: storage.AllowRowLocks, |
| 895 | AllowPageLocks: storage.AllowPageLocks, |
| 896 | Maxdop: storage.Maxdop, |
| 897 | DataCompression: storage.DataCompression, |
| 898 | } |
| 899 | } |
| 900 | |
| 901 | func convertStoreDimensionalConfig(dimensional *storepb.DimensionalConfig) *v1pb.DimensionalConfig { |
| 902 | if dimensional == nil { |
no outgoing calls
no test coverage detected