public function createTable($databaseID, $quorumID, $name) { $status = scaliendb_client::SDBP_CreateTable($this->cptr, $databaseID, $quorumID, $name); $this->result = new Result(scaliendb_client::SDBP_GetResult($this->cptr)); $this->_checkStatus($status); return $this->result->getNumber(); }
public function createTable($databaseID, $quorumID, $name) { $status = scaliendb_client::SDBP_CreateTable($this->cptr, $databaseID, $quorumID, $name); $this->result = new Result(scaliendb_client::SDBP_GetResult($this->cptr)); if ($status != SDBP_SUCCESS) { return FALSE; } return $this->result->getNumber(); }