original_string: public function transaction_starts() {
          if ($this->buffer !== null) {
              $this->unregister();
              return;
          }
          if (!$this->rsrc) {
              $this->unregister();
              return;
          }
          // This might eat memory pretty quickly...
          raise_memory_limit('2G');
          $this->buffer = array();
  
          while($next = $this->fetch_next()) {
              $this->buffer[] = $next;
          }
      }
code: public function transaction_starts() {
          if ($this->buffer !== null) {
              $this->unregister();
              return;
          }
          if (!$this->rsrc) {
              $this->unregister();
              return;
          }
          // This might eat memory pretty quickly...
          raise_memory_limit('2G');
          $this->buffer = array();
  
          while($next = $this->fetch_next()) {
              $this->buffer[] = $next;
          }
      }
code_tokens: public function transaction_starts ( ) { if ( $ this -> buffer !== null ) { $ this -> unregister ( ) ; return ; } if ( ! $ this -> rsrc ) { $ this -> unregister ( ) ; return ; } // This might eat memory pretty quickly... raise_memory_limit ( '2G' ) ; $ this -> buffer = array ( ) ; while ( $ next = $ this -> fetch_next ( ) ) { $ this -> buffer [ ] = $ next ; } }
docstring: Inform existing open recordsets that transaction
  is starting, this works around MARS problem described
  in MDL-37734.
docstring_tokens: Inform existing open recordsets that transaction is starting this works around MARS problem described in MDL - 37734 .