From 38b1f4dc8ffd6e03d93fb82bc1345d0b4c84fe8e Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Thu, 30 Apr 2015 10:51:47 +0200 Subject: [PATCH] Fixed the string quotation character for Oracle. --- pandora_server/lib/PandoraFMS/DB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/lib/PandoraFMS/DB.pm b/pandora_server/lib/PandoraFMS/DB.pm index 24f09ca1ba..452935dbf5 100644 --- a/pandora_server/lib/PandoraFMS/DB.pm +++ b/pandora_server/lib/PandoraFMS/DB.pm @@ -138,7 +138,7 @@ sub db_connect ($$$$$$) { elsif ($rdbms eq 'oracle') { $RDBMS = 'oracle'; $RDBMS_QUOTE = '"'; - $RDBMS_QUOTE_STRING = '"'; + $RDBMS_QUOTE_STRING = '\''; # Connect to Oracle my $dbh = DBI->connect("DBI:Oracle:dbname=$db_name;host=$db_host;port=$db_port;sid=pandora", $db_user, $db_pass, { RaiseError => 1, AutoCommit => 1 });