Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for colName (0.07 sec)

  1. cmd/xl-storage_unix_test.go

    	// MakeVol creates 0777.
    	if err = disk.MakeVol(context.Background(), testCase.volName); err != nil {
    		t.Fatalf("Creating a volume failed with %s expected to pass.", err)
    	}
    
    	// Stat to get permissions bits.
    	st, err := os.Stat(path.Join(tmpPath, testCase.volName))
    	if err != nil {
    		t.Fatalf("Stat failed with %s expected to pass.", err)
    	}
    
    	// Get umask of the bits stored.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    	}
    
    	testCases := []struct {
    		volName     string
    		expectedErr error
    	}{
    		// TestXLStorage case - 1.
    		{
    			volName:     "success-vol",
    			expectedErr: nil,
    		},
    		// TestXLStorage case - 2.
    		{
    			volName:     "nonexistent-vol",
    			expectedErr: errVolumeNotFound,
    		},
    		// TestXLStorage case - 3.
    		{
    			volName:     "ab",
    			expectedErr: errVolumeNotFound,
    		},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  3. schema/index.go

    					Option:  settings["OPTION"],
    					Fields: []IndexOption{{
    						Field:      field,
    						Expression: settings["EXPRESSION"],
    						Sort:       settings["SORT"],
    						Collate:    settings["COLLATE"],
    						Length:     length,
    						priority:   priority,
    					}},
    				})
    			}
    		}
    	}
    
    	err = nil
    	return
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. schema/index_test.go

    		"idx_user_indices_name3": {
    			Name:  "idx_user_indices_name3",
    			Type:  "btree",
    			Where: "name3 != 'jinzhu'",
    			Fields: []schema.IndexOption{{
    				Field:   &schema.Field{Name: "Name3"},
    				Sort:    "desc",
    				Collate: "utf8",
    				Length:  10,
    			}},
    		},
    		"idx_user_indices_name4": {
    			Name:   "idx_user_indices_name4",
    			Class:  "UNIQUE",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    					return nil
    				}
    				return err
    			}
    			for _, volName := range volsInfo {
    				vi, err := storageDisks[index].StatVol(ctx, pathJoin(minioMetaBucket, bucketMetaPrefix, deletedBucketsPrefix, volName))
    				if err == nil {
    					vi.Name = strings.TrimSuffix(volName, SlashSeparator)
    					mu.Lock()
    					if _, ok := delBuckets[volName]; !ok {
    						delBuckets[volName] = vi
    					}
    					mu.Unlock()
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (0)
  6. migrator/migrator.go

    		str := stmt.Quote(opt.DBName)
    		if opt.Expression != "" {
    			str = opt.Expression
    		} else if opt.Length > 0 {
    			str += fmt.Sprintf("(%d)", opt.Length)
    		}
    
    		if opt.Collate != "" {
    			str += " COLLATE " + opt.Collate
    		}
    
    		if opt.Sort != "" {
    			str += " " + opt.Sort
    		}
    		results = append(results, clause.Expr{SQL: str})
    	}
    	return
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  7. internal/event/target/mysql.go

                 key_name VARCHAR(3072) NOT NULL,
                 key_hash CHAR(64) GENERATED ALWAYS AS (SHA2(key_name, 256)) STORED NOT NULL PRIMARY KEY,
                 value JSON)
               CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;`
    	mysqlCreateAccessTable = `CREATE TABLE %s (event_time DATETIME NOT NULL, event_data JSON)
                                        ROW_FORMAT = Dynamic;`
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    	_, _ = rand.Read(alignedBuf)
    }
    
    // isValidVolname verifies a volname name in accordance with object
    // layer requirements.
    func isValidVolname(volname string) bool {
    	if len(volname) < 3 {
    		return false
    	}
    
    	if runtime.GOOS == "windows" {
    		// Volname shouldn't have reserved characters in Windows.
    		return !strings.ContainsAny(volname, `\:*?\"<>|`)
    	}
    
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    		return nil, err
    	}
    
    	partInfosInQuorum := make([]ObjectPartInfo, len(partMetaPaths))
    	for pidx := range partMetaPaths {
    		// partMetaQuorumMap uses
    		//  - path/to/part.N as key to collate errors from failed drives.
    		//  - part ETag to collate part metadata
    		partMetaQuorumMap := make(map[string]int, len(partNumbers))
    		var pinfos []*ObjectPartInfo
    		for idx := range disks {
    			if len(objectPartInfos[idx]) != len(partMetaPaths) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    		if err != nil {
    			c.Fatalf("bucket create error: %v", err)
    		}
    	}
    
    	// Create policies
    	for polName, polContent := range policyProjectsMap {
    		err := s.adm.AddCannedPolicy(ctx, polName, []byte(polContent))
    		if err != nil {
    			c.Fatalf("policy add error: %v", err)
    		}
    	}
    
    	makeSTSClient := func(user, password string) *minio.Client {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top