mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 03:51:05 +00:00 
			
		
		
		
	| @@ -159,7 +159,7 @@ func DumpQueryResult(t require.TestingT, sqlOrBean any, sqlArgs ...any) { | ||||
| 	goDB := x.DB().DB | ||||
| 	sql, ok := sqlOrBean.(string) | ||||
| 	if !ok { | ||||
| 		sql = "SELECT * FROM " + db.TableName(sqlOrBean) | ||||
| 		sql = "SELECT * FROM " + x.TableName(sqlOrBean) | ||||
| 	} else if !strings.Contains(sql, " ") { | ||||
| 		sql = "SELECT * FROM " + sql | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user