/**
  * @return void
  */
 protected function initColumns()
 {
     if ($this->columns === NULL) {
         $this->columns = array();
         $reflector = $this->driver instanceof IDibiReflector ? $this->driver : NULL;
         foreach ($this->driver->getResultColumns() as $info) {
             $this->columns[] = $this->names[$info['name']] = new DibiColumnInfo($reflector, $info);
         }
     }
 }