wordpress/wp-content/plugins/sqlite-integration/query_create.class.php
/**
	 * Method for rewriting primary key auto_increment.
	 *
	 * If the field type is 'INTEGER PRIMARY KEY', it is automatically autoincremented
	 * by SQLite. There's a little difference between PRIMARY KEY and AUTOINCREMENT, so
	 * we may well convert to PRIMARY KEY only.
	 *
	 * @access private
	 */
Method for rewriting primary key auto_increment.
If the field type is 'INTEGER PRIMARY KEY', it is automatically autoincremented
by SQLite. There's a little difference between PRIMARY KEY and AUTOINCREMENT, so
we may well convert to PRIMARY KEY only.

@access private
Method for rewriting primary key auto_increment . If the field type is ' INTEGER PRIMARY KEY ' it is automatically autoincremented by SQLite . There ' s a little difference between PRIMARY KEY and AUTOINCREMENT so we may well convert to PRIMARY KEY only . @access private
private function rewrite_autoincrement(){
	  $this->_query = preg_replace('/\\bauto_increment\\s*primary\\s*key\\s*(,)?/ims', ' PRIMARY KEY AUTOINCREMENT \\1', $this->_query, -1, $count);
		$this->_query  = preg_replace('/\\bauto_increment\\b\\s*(,)?/ims', ' PRIMARY KEY AUTOINCREMENT $1', $this->_query, -1, $count);
		if ($count > 0){
			$this->has_primary_key = true;
		}
	}
private function rewrite_autoincrement ( ) { $ this -> _query = preg_replace ( '/\\bauto_increment\\s*primary\\s*key\\s*(,)?/ims' , ' PRIMARY KEY AUTOINCREMENT \\1' , $ this -> _query , - 1 , $ count ) ; $ this -> _query = preg_replace ( '/\\bauto_increment\\b\\s*(,)?/ims' , ' PRIMARY KEY AUTOINCREMENT $1' , $ this -> _query , - 1 , $ count ) ; if ( $ count > 0 ) { $ this -> has_primary_key = true ; } }
Method for rewriting primary key auto_increment.
Method for rewriting primary key auto_increment .