We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58491b commit f470bb5Copy full SHA for f470bb5
sqle/driver/v2/util.go
@@ -247,6 +247,9 @@ func ConvertProtoSQLOpsResponseToDriver(sqlOps *protoV2.GetSQLOpResponse) ([]*SQ
247
Op: op,
248
Object: object,
249
})
250
+ if sqlOp.GetSql() == nil {
251
+ return nil, fmt.Errorf("sql info should not be nil")
252
+ }
253
sqlOpList = append(sqlOpList, &SQLObjectOps{
254
ObjectOps: objectOpList,
255
Sql: SQLInfo{Sql: sqlOp.GetSql().GetSql()},
0 commit comments