summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 34d6179)
raw | patch | inline | side by side (parent: 34d6179)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Jul 2009 12:03:27 +0000 (12:03 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Jul 2009 12:03:27 +0000 (12:03 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13890 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/DBsqlite.pm | patch | blob | history |
index 3fe6e059929be55806cf10e438a4c02e5fbea804..9f0b12b4ae921313b7c259dee11163394d5fcbf9 100644 (file)
my $res = $self->exec_statement($sql); # [ ['0', 'id', 'INTEGER', '0', undef, '1' ], ['1', 'timestamp', 'VARCHAR(14)', '0', '\'none\'', '0'], ... ]
my $db_table_length = @$res;
+ # Tabel does not exists, so no differences
+ if ($db_table_length == 0)
+ {
+ return 0;
+ }
+
+
+
# The number of columns is diffrent
if ($col_names_length != $db_table_length)
{