MySQL linter errors.
This commit is contained in:
parent
5e76355275
commit
46a3dc7dfb
31 changed files with 254 additions and 136 deletions
|
|
@ -89,6 +89,7 @@ INSERT INTO test_sample.link VALUES
|
|||
ORDER_BY(Link.ID).
|
||||
Query(db, &insertedLinks)
|
||||
|
||||
assert.NilError(t, err)
|
||||
assert.Equal(t, len(insertedLinks), 1)
|
||||
assert.DeepEqual(t, insertedLinks[0], postgreTutorial)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -409,13 +409,13 @@ LIMIT ?;
|
|||
}
|
||||
}
|
||||
|
||||
func getRowLockTestData() map[SelectLock]string {
|
||||
func getRowLockTestData() map[RowLock]string {
|
||||
if sourceIsMariaDB() {
|
||||
return map[SelectLock]string{
|
||||
return map[RowLock]string{
|
||||
UPDATE(): "UPDATE",
|
||||
}
|
||||
}
|
||||
return map[SelectLock]string{
|
||||
return map[RowLock]string{
|
||||
UPDATE(): "UPDATE",
|
||||
SHARE(): "SHARE",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1363,8 +1363,8 @@ LIMIT 20;
|
|||
assert.Equal(t, dest[1].StaffIDNum, "ONE")
|
||||
}
|
||||
|
||||
func getRowLockTestData() map[SelectLock]string {
|
||||
return map[SelectLock]string{
|
||||
func getRowLockTestData() map[RowLock]string {
|
||||
return map[RowLock]string{
|
||||
UPDATE(): "UPDATE",
|
||||
NO_KEY_UPDATE(): "NO KEY UPDATE",
|
||||
SHARE(): "SHARE",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue