From 328298b64f16eaa9a10e3afcebc09d190c099141 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Wed, 26 Jul 2006 11:17:26 +0900 Subject: [PATCH] msi: Add a FIXME for join queries. --- dlls/msi/sql.y | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/dlls/msi/sql.y b/dlls/msi/sql.y index 86ebe305870..d6aecd54789 100644 --- a/dlls/msi/sql.y +++ b/dlls/msi/sql.y @@ -126,7 +126,7 @@ static struct expr * EXPR_wildcard( void *info ); %type table id %type selcollist column column_and_type column_def table_def %type column_assignment update_assign_list constlist -%type query from fromtable selectfrom unorderedsel +%type query multifrom from fromtable selectfrom unorderedsel %type oneupdate onedelete oneselect onequery onecreate oneinsert %type expr val column_val const_val %type column_type data_type data_type_l data_count @@ -369,7 +369,7 @@ unorderedsel: ; selectfrom: - selcollist from + selcollist multifrom { SQL_input* sql = (SQL_input*) info; UINT r; @@ -401,6 +401,16 @@ selcollist: } ; +multifrom: + from + | TK_FROM table TK_COMMA table TK_WHERE expr + { + SQL_input* sql = (SQL_input*) info; + FIXME("join query %s\n", debugstr_w(sql->command)); + YYABORT; + } + ; + from: fromtable | fromtable TK_WHERE expr