[Hide Content]From 0b5d48b8df54798d2379032c95d9869ca90f281f Mon Sep 17 00:00:00 2001
From: Igor Murzov <e-mail@date.by>
Date: Fri, 3 Jan 2014 01:20:07 +0400
Subject: [PATCH] BUG: Use correct variable to get db type
---
cdash/pdocore.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cdash/pdocore.php b/cdash/pdocore.php
index 91b7166..f4d8634 100644
--- a/cdash/pdocore.php
+++ b/cdash/pdocore.php
@@ -105,6 +105,8 @@ function pdo_error($link_identifier = NULL)
/** Return true if the given index exists for the column */
function pdo_check_index_exists($tablename,$columnname)
{
+ global $CDASH_DB_TYPE;
+
if(isset($CDASH_DB_TYPE) && $CDASH_DB_TYPE!="mysql")
{
echo "NOT IMPLEMENTED";
--
1.8.4