Mike McCormack : msi: Add a FIXME for join queries.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jul 26 04:22:46 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 328298b64f16eaa9a10e3afcebc09d190c099141
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=328298b64f16eaa9a10e3afcebc09d190c099141

Author: Mike McCormack <mike at codeweavers.com>
Date:   Wed Jul 26 11:17:26 2006 +0900

msi: Add a FIXME for join queries.

---

 dlls/msi/sql.y |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/sql.y b/dlls/msi/sql.y
index 86ebe30..d6aecd5 100644
--- a/dlls/msi/sql.y
+++ b/dlls/msi/sql.y
@@ -126,7 +126,7 @@ static struct expr * EXPR_wildcard( void
 %type <string> table id
 %type <column_list> selcollist column column_and_type column_def table_def
 %type <column_list> column_assignment update_assign_list constlist
-%type <query> query from fromtable selectfrom unorderedsel
+%type <query> query multifrom from fromtable selectfrom unorderedsel
 %type <query> oneupdate onedelete oneselect onequery onecreate oneinsert
 %type <expr> expr val column_val const_val
 %type <column_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




More information about the wine-cvs mailing list