Loading admin/src/BddAdmin/Bdd.php +2 −2 Changes for admin/src/BddAdmin/Bdd.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -853,7 +853,7 @@ class Bdd $tables = array_keys($tDdl); sort($tables); $this->inCopy = true; foreach ($tables as $table) { if (file_exists($dirname . '/' . $table . '.tbl')) { $fnc = isset($fncs[$table]) ? $fncs[$table] : null; Loading @@ -862,7 +862,7 @@ class Bdd } } } $this->inCopy = false; $this->create($ddl, [Ddl::TABLE => ['excludes' => '%']]); $this->majSequences($ddl); Loading admin/src/BddAdmin/Driver/Oracle/Driver.php +4 Changes for admin/src/BddAdmin/Driver/Oracle/Driver.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -89,6 +89,10 @@ class Driver implements DriverInterface private function execStatement($sql, array $params = [], array $types = []) { if ($this->bdd->isInCopy() && 0 === strpos($sql, 'INSERT INTO')) { $sql = 'INSERT /*+ APPEND */ INTO' . substr($sql, strlen('INSERT INTO')); } foreach ($params as $name => $val) { if (is_bool($val)) { $params[$name] = $val ? 1 : 0; Loading Loading
admin/src/BddAdmin/Bdd.php +2 −2 Changes for admin/src/BddAdmin/Bdd.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -853,7 +853,7 @@ class Bdd $tables = array_keys($tDdl); sort($tables); $this->inCopy = true; foreach ($tables as $table) { if (file_exists($dirname . '/' . $table . '.tbl')) { $fnc = isset($fncs[$table]) ? $fncs[$table] : null; Loading @@ -862,7 +862,7 @@ class Bdd } } } $this->inCopy = false; $this->create($ddl, [Ddl::TABLE => ['excludes' => '%']]); $this->majSequences($ddl); Loading
admin/src/BddAdmin/Driver/Oracle/Driver.php +4 Changes for admin/src/BddAdmin/Driver/Oracle/Driver.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -89,6 +89,10 @@ class Driver implements DriverInterface private function execStatement($sql, array $params = [], array $types = []) { if ($this->bdd->isInCopy() && 0 === strpos($sql, 'INSERT INTO')) { $sql = 'INSERT /*+ APPEND */ INTO' . substr($sql, strlen('INSERT INTO')); } foreach ($params as $name => $val) { if (is_bool($val)) { $params[$name] = $val ? 1 : 0; Loading