sqltemplate, dbimpl: Remove single-method function types (#107525)
* Remove dbProviderFunc function. This removes one extra indirection that made the code bit more difficult to navigate. * Remove indirection function types implementing single-method interfaces. This streamlines the code and makes it bit easier to navigate. * Update pkg/storage/unified/sql/sqltemplate/dialect_mysql.go Co-authored-by: Mustafa Sencer Özcan <32759850+mustafasencer@users.noreply.github.com> --------- Co-authored-by: Mustafa Sencer Özcan <32759850+mustafasencer@users.noreply.github.com>
This commit is contained in:
co-authored by
Mustafa Sencer Özcan
parent
a68f8107df
commit
e076c74869
@@ -71,7 +71,7 @@ func TestArg_ArgList(t *testing.T) {
|
||||
}
|
||||
|
||||
var a args
|
||||
a.d = argFmtSQL92
|
||||
a.d = MySQL
|
||||
for i, tc := range testCases {
|
||||
a.Reset()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user