Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bytebase/bytebase
/ Int32
Method
Int32
backend/plugin/advisor/code/code.go:249–251 ·
view source on GitHub ↗
Int32 returns the int32 type of code.
()
Source
from the content-addressed store, hash-verified
247
248
// Int32 returns the int32 type of code.
249
func
(c Code) Int32() int32 {
250
return
int32(c)
251
}
Callers
15
WalkThroughOmni
Function · 0.45
precheckMySQLRawWalkThrough
Function · 0.45
precheckMySQLOmniNode
Function · 0.45
notCurrentMySQLDatabaseAdvice
Function · 0.45
dropAdvice
Function · 0.45
replaceAdvice
Function · 0.45
WalkThroughOmni
Function · 0.45
WalkThrough
Function · 0.45
changeStateTiDB
Function · 0.45
tidbRenameTable
Function · 0.45
tidbDropDatabase
Function · 0.45
tidbAlterDatabase
Function · 0.45
Calls
no outgoing calls
Tested by
15
TestRedshiftTableDropNamingConventionUsesOmniAST
Function · 0.36
TestMySQLBuiltinWalkThroughCheckTableExists
Function · 0.36
TestCheckSDLIntegrity
Function · 0.36
TestCheckSDLIntegrity_InvalidSQL
Function · 0.36
TestCheckSDLIntegrity_DuplicateTableAcrossFiles
Function · 0.36
TestCheckSDLIntegrity_DuplicateIndexAcrossFiles
Function · 0.36
TestCheckSDLIntegrity_DuplicateConstraintAcrossFiles
Function · 0.36
TestCheckSDLIntegrity_ForeignKeyTableNotFound
Function · 0.36
TestCheckSDLIntegrity_ViewReferencesNonExistentTable
Function · 0.36
TestCheckSDLIntegrity_ViewWithCTEAndMissingTable
Function · 0.36
TestCheckSDLIntegrity_ViewReferencesMixedTablesWithError
Function · 0.36
TestCheckSDLIntegrity_MultipleErrorsInSameFile
Function · 0.36