Alexandre Julliard
3f98185fb8
msi: Use bison directives instead of defines to specify extra lexer parameters.
2013-08-01 12:00:04 +02:00
Hans Leidekker
4def593456
msi: Accept a missing left backquote in SQL identifiers.
2012-01-03 18:07:08 +01:00
Hans Leidekker
ca49aae61e
msi: Fix handling of single quoted column names in SELECT queries.
2011-12-23 15:12:18 +01:00
Bernhard Loos
4ac1e8e034
msi: Always use WHEREVIEW for sorting.
2011-10-20 20:48:26 +02:00
Bernhard Loos
0fd4943277
msi: Get rid of JOINVIEW.
2011-10-20 20:48:26 +02:00
Bernhard Loos
a52c2bf941
msi: Make WHEREVIEW able to deal directly with multiple tables.
2011-08-26 13:33:44 +02:00
Hans Leidekker
eaa57c5b7b
msi: Compare strings without depending on thread locale.
2010-10-19 13:49:54 +02:00
James Hawkins
1692e1fe67
msi: Keep track of the current view in the sql parser.
...
This allows us to free said view in the case of a syntax error. This
also allows us to get rid of a few places where we tried to clean up
the view ourselves in the parsing code.
2009-12-16 12:26:38 +01:00
Nate Gallaher
cc366e1282
msi: Add tablename tracking to VIEW_find_column.
...
This fixes the bug where multiple columns of the same name, but
different tables are members of a join. Any attempt to refer to these
columns will resolve to the first available column with that name,
irregardless of any tablename modifier.
2009-10-27 14:01:23 +01:00
Hans Leidekker
a4b76ceee7
msi: Consistently use the parser allocator when parsing a query.
2009-05-28 15:29:02 +02:00
Hans Leidekker
2018de00e1
msi: Constify some parameters.
2009-05-28 15:28:45 +02:00
Hib Eris
0a81fbfa39
msi: Fix LONGCHAR column data type.
2009-04-28 13:10:04 +02:00
Hib Eris
5e829d1323
msi: Fix SHORT column data type.
2009-04-28 13:10:03 +02:00
Hib Eris
15cb7290ee
msi: Fix INT column data type.
2009-04-28 13:10:03 +02:00
Hans Leidekker
55ad3fdda2
msi: Fix another double free.
...
parser_alloc() allocates memory and puts it on a list attached the to query object.
EXPR_sval() frees memory allocated via parser_alloc() on error but does not remove
the pointer from the list, which means that when the query destructor is called it
will be freed again.
2009-04-20 17:40:43 +02:00
James Hawkins
f36e13fd81
msi: Delete the view on error.
2009-03-02 12:06:02 +01:00
James Hawkins
c07b554edc
msi: Order primary keys to be first in the column list when creating a table.
2009-03-02 12:05:09 +01:00
James Hawkins
241933e13c
msi: A non-temporary table cannot have a temporary primary key.
2009-02-26 12:13:57 +01:00
James Hawkins
60ad75eade
msi: Make sure a constant string's quotes match up.
2009-02-26 12:13:02 +01:00
James Hawkins
62c544cf4f
msi: Implement the DROP TABLE sql command.
2008-10-06 13:05:52 +02:00
Andrew Talbot
68975938f6
msi: Remove unused variables.
2008-04-22 11:54:38 +02:00
James Hawkins
91c205e8c0
msi: Sort each table of the join separately.
2007-12-18 12:32:55 +01:00
James Hawkins
2e6ed06fdc
msi: Reimplement joins to allow joining any number of tables, each of arbitrary size.
2007-08-02 12:18:42 +02:00
James Hawkins
ccef56f2cc
msi: Ref count temporary columns and release them when necessary.
2007-07-23 11:55:34 +02:00
James Hawkins
0fd733bf90
msi: Implement adding columns using the ALTER command.
2007-07-23 11:55:11 +02:00
Andrew Talbot
19ef864058
msi: Name all or none of the formal arguments in function prototypes.
2007-06-18 13:36:42 +02:00
Andrew Talbot
8b362f7fc8
msi: Constify some variables.
2007-06-13 11:18:35 +02:00
Rob Shearman
697d820eee
msi: All columns being temporary means the table is non-persistent.
...
The HOLD keyword just means that the non-persistent data in the table
should be kept around, not that the table is temporary.
2007-04-24 12:25:36 +02:00
Mike McCormack
50e5caeb6c
msi: Fix WHERE IS (NOT) NULL queries.
2006-11-07 15:06:57 +01:00
Mike McCormack
c6124db905
msi: Use a simpler algorithm for joins.
2006-10-31 11:57:40 +01:00
Mike McCormack
2b2953c6e7
msi: Remove tokens that aren't valid for MSI SQL.
2006-10-31 11:57:21 +01:00
Mike McCormack
6c95dc644c
msi: Allow UPDATE queries without a condition.
2006-10-26 12:56:10 +02:00
Alexandre Julliard
2d1b6182af
msi: Change the prefix on bison-generated names to avoid the name-prefix directive.
2006-09-11 21:53:04 +02:00
Alexandre Julliard
689d943dab
msi: Specify the bison name prefix directly in the source file.
2006-09-09 11:25:19 +02:00
Mike McCormack
77d3c59843
msi: Fix the TEMPORARY keyword for columns.
2006-09-08 12:46:32 +02:00
Mike McCormack
399321c4f2
msi: Add a stub ALTER query.
2006-08-18 11:36:30 +02:00
Mike McCormack
76baa45a86
msi: Implement SQL inner joins.
2006-07-26 15:17:40 +02:00
Mike McCormack
328298b64f
msi: Add a FIXME for join queries.
2006-07-26 10:23:44 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Shearman
a911ea0fd7
msi: Fix bison warnings by providing precedence rules for expressions
...
and by removing a redundant expression case.
2006-02-07 16:24:51 +01:00
Mike McCormack
8e74308a10
Fix and test MsiViewGetColumnInfo and binary fields.
2005-09-28 11:59:40 +00:00
Mike McCormack
744e22c7df
Fix various query related memory leaks.
2005-09-26 10:55:18 +00:00
Mike McCormack
8dc28d5306
Added memory allocation inline functions (part 1).
2005-09-20 11:57:19 +00:00
Mike McCormack
b15c264de4
Improve number parsing and avoid unicode.h.
2005-05-31 09:30:01 +00:00
Mike McCormack
b075f03acb
Remove more types from the parser.
2005-05-30 11:32:18 +00:00
Mike McCormack
d1a55eb3f8
Get rid of some redundant parser types.
2005-05-29 20:17:16 +00:00
Mike McCormack
3244265855
Simplify parsing of the FROM keyword.
2005-05-24 09:49:01 +00:00
Mike McCormack
b18c262d57
Improve parser error checking.
2005-05-23 16:23:11 +00:00
Mike McCormack
0093007b32
Track memory allocations in the SQL parser.
2005-05-23 12:08:17 +00:00
Mike McCormack
f50e9aadea
Simplify parsing of select query.
2005-05-23 11:49:49 +00:00