wordpress/wp-content/plugins/sqlite-integration/query_create.class.php
/**
	 * Method for rewriting foreign key.
	 *
	 * @access private
	 */
Method for rewriting foreign key.
@access private
Method for rewriting foreign key . @access private
private function rewrite_foreign_key() {
		$pattern = '/\\s*foreign\\s*key\\s*(|.*?)\([^\)]+?\)\\s*references\\s*.*/i';
		if (preg_match_all($pattern, $this->_query, $match)) {
			if (isset($match[1])) {
				$this->_query = str_ireplace($match[1], '', $this->_query);
			}
		}
	}
private function rewrite_foreign_key ( ) { $ pattern = '/\\s*foreign\\s*key\\s*(|.*?)\([^\)]+?\)\\s*references\\s*.*/i' ; if ( preg_match_all ( $ pattern , $ this -> _query , $ match ) ) { if ( isset ( $ match [ 1 ] ) ) { $ this -> _query = str_ireplace ( $ match [ 1 ] , '' , $ this -> _query ) ; } } }
Method for rewriting foreign key.
Method for rewriting foreign key .