Example #1
0
 public function useTable($name)
 {
     $status = scaliendb_client::SDBP_UseTable($this->cptr, $name);
     if ($status != SDBP_SUCCESS) {
         // TODO: set error
         return NULL;
     }
 }
Example #2
0
 public function useTable($name)
 {
     $status = scaliendb_client::SDBP_UseTable($this->cptr, $name);
     if ($status != SDBP_SUCCESS) {
         return FALSE;
     } else {
         return TRUE;
     }
 }