Skip to content

Commit 37739dc

Browse files
committed
move down
1 parent 2d27ffa commit 37739dc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dump.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,6 @@ func (table *table) initColumnData() error {
314314
return err
315315
}
316316

317-
info := make([]sql.NullString, len(cols))
318-
scans := make([]interface{}, len(cols))
319-
for i := range info {
320-
scans[i] = &info[i]
321-
}
322-
323317
fieldIndex, extraIndex := -1, -1
324318
for i, col := range cols {
325319
switch col {
@@ -336,6 +330,12 @@ func (table *table) initColumnData() error {
336330
return errors.New("database column information is malformed")
337331
}
338332

333+
info := make([]sql.NullString, len(cols))
334+
scans := make([]interface{}, len(cols))
335+
for i := range info {
336+
scans[i] = &info[i]
337+
}
338+
339339
var result []string
340340
for colInfo.Next() {
341341
// Read into the pointers to the info marker

0 commit comments

Comments
 (0)