summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 375d709)
raw | patch | inline | side by side (parent: 375d709)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Mar 2009 13:33:32 +0000 (13:33 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Mar 2009 13:33:32 +0000 (13:33 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13564 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/DBsqlite.pm | patch | blob | history |
index 5c9ae0c6f249fac2c7ab3d489b1b5b150c056e5f..9205892579f9fdf431ba745a9bee602f6d1a8823 100644 (file)
if(exists $col_names->{$table}) {
@column_names = @{$col_names->{$table}};
} else {
- my @res;
- foreach my $column ( $self->exec_statement ( "pragma table_info('$table')" ) ) {
+ foreach my $column ( @{$self->exec_statement ( "pragma table_info('$table')" )} ) {
push(@column_names, @$column[1]);
}
}