Explorar el Código

fixed get sp args

develop
Robin Thoni hace 9 años
padre
commit
3656327f52
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      src/Utils/DataAccess/PgSqlDataAccess.php
  2. 1
    1
      tests/DatabaseTest.php

+ 1
- 1
src/Utils/DataAccess/PgSqlDataAccess.php Ver fichero

195
         }
195
         }
196
 
196
 
197
         foreach ($sps as $sp_name => $sp) {
197
         foreach ($sps as $sp_name => $sp) {
198
-            $args = $this->getStoredProceduresArguments($pdo, $sp_name);
198
+            $args = $this->getStoredProceduresArguments($pdo, $sp);
199
             if (is_null($args)) {
199
             if (is_null($args)) {
200
                 return null;
200
                 return null;
201
             }
201
             }

+ 1
- 1
tests/DatabaseTest.php Ver fichero

169
 
169
 
170
         $pdo = TestTableDataAccess::getPdo();
170
         $pdo = TestTableDataAccess::getPdo();
171
         $pgsql = new PgSqlDataAccess();
171
         $pgsql = new PgSqlDataAccess();
172
-        var_dump($pgsql->getStoredProcedures($pdo));
172
+        var_dump($pgsql->getStoredProceduresFull($pdo));
173
     }
173
     }
174
 }
174
 }

Loading…
Cancelar
Guardar