v2_0_0

package
v0.0.0-debug-20260702 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const CreateStmtInfo_130 = "" /* 2210-byte string literal not displayed */
View Source
const CreateSystemMetricsMetric_130 = "" /* 723-byte string literal not displayed */
View Source
const MO_Metric_120 = "metric_10200"
View Source
const MO_STATEMENT_120 = "statement_info_10200"
View Source
const RenameStmtInfo_120 = "alter table `system`.`statement_info` rename `system`.`statement_info_10200`;"
View Source
const RenameSystemMetrics_Metric_120 = "alter table `system_metrics`.`metric` rename `system_metrics`.`metric_10200`;"

Variables

View Source
var (
	Handler = &versionHandle{
		metadata: versions.Version{
			Version:           "2.0.0",
			MinUpgradeVersion: "1.2.3",
			UpgradeCluster:    versions.Yes,
			UpgradeTenant:     versions.Yes,
			VersionOffset:     uint32(len(clusterUpgEntries) + len(tenantUpgEntries)),
		},
	}
)
View Source
var InsertInitDataKey = func(txn executor.TxnExecutor, kek string) (err error) {
	sql, err := cdc.GetInitDataKeySql(kek)
	if err != nil {
		return
	}
	_, err = txn.Exec(sql, executor.StatementOption{})
	return
}

Functions

func UpgradePubSub

func UpgradePubSub(txn executor.TxnExecutor) (err error)

Types

type KekKey

type KekKey struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL