List:Internals« Previous MessageNext Message »
From:farida yeasmin Date:October 25 2007 2:10pm
Subject:about MySQL engine
View as plain text  
Dear Sir

I am working with new sql operator.My sql operator
name is 'skyline'.
Already the algorithm for this operator is
completed.The skyline operator has two parameter.
Just i convert this algorithm into program and i use
C++ language for this conversion.  

Exm:

The semantics of the SKYLINE OF clause are
straightforward. The SKYLINE OF clause is executed
after the SELECT ... FROM ... WHERE ... GROUP BY ...
HAVING... part of the query, but before the ORDER BY
clause and possibly other clauses that follow.

The skyline operator can be represented by an
(extended) SQL statement.
An example Skyline Query of New York hotels in SQL
would be: 

	SELECT * 
	FROM Hotels 
	WHERE city=’New York’ 
	SKYLINE OF Price min, Distance min

where min indicates that the Price and the Distance
attributes
should be minimized.

My problem is where connect this 'skyline of' clause
in MySQL engine.
I download the Mysql database source code.
Actually I dont know in which part of the source code
add SQL clause or where SQL clause is defined and how
to connect this new SQL clause 'skyline of' in MySQL
database.   

Pls Pls Help me.

Best regards

Miss Farida Yeasmin




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Thread
about MySQL enginefarida yeasmin25 Oct
  • Re: about MySQL engineSergei Golubchik29 Oct