From c14234ab8007a7112cbf34c1896b7d38fb948e6a Mon Sep 17 00:00:00 2001 From: rettenbe Date: Thu, 15 May 2008 10:56:18 +0000 Subject: [PATCH] * 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 --- gosa-si/modules/DBsqlite.pm | 5 +++++ 1 file changed, 5 insertions(+) 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; } -- 2.30.2