From: rettenbe Date: Thu, 15 May 2008 10:56:18 +0000 (+0000) Subject: * error feedback for function exec_statement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c14234ab8007a7112cbf34c1896b7d38fb948e6a;p=gosa.git * error feedback for function exec_statement * out commented * to be tested git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10915 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/DBsqlite.pm b/gosa-si/modules/DBsqlite.pm index 556b31ef7..5421f099b 100644 --- a/gosa-si/modules/DBsqlite.pm +++ b/gosa-si/modules/DBsqlite.pm @@ -290,6 +290,11 @@ sub exec_statement { &main::daemon_log("ERROR: $sql_statement failed with $@", 1); } } + # TODO : maybe an error handling and an erro feedback to invoking function + #my $error = @$self->{dbh}->err; + #if ($error) { + # my $error_string = @$self->{dbh}->errstr; + #} return \@db_answer; }