Remove foundationdb from tests all script because it is not downloadable from offical site

This commit is contained in:
Jinzhu 2015-04-17 14:52:59 +08:00
parent 0e2cd4475f
commit 4fbc9d2a8f
2 changed files with 2 additions and 4 deletions

View File

@ -220,9 +220,7 @@ func (s *DB) Rows() (*sql.Rows, error) {
}
func (s *DB) Scan(dest interface{}) *DB {
scope := s.clone().NewScope(s.Value).InstanceSet("gorm:query_destination", dest)
Query(scope)
return scope.db
return s.clone().NewScope(s.Value).InstanceSet("gorm:query_destination", dest).callCallbacks(s.parent.callback.queries).db
}
func (s *DB) FirstOrInit(out interface{}, where ...interface{}) *DB {

View File

@ -1,4 +1,4 @@
dialects=("postgres" "foundation" "mysql" "sqlite")
dialects=("postgres" "mysql" "sqlite")
for dialect in "${dialects[@]}" ; do
GORM_DIALECT=${dialect} go test