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
Mike McCormack
0d1c3a14fc
Create the ORDER BY view in a single call.
2005-05-23 10:27:00 +00:00
Mike McCormack
7153c8fa65
- remove the unused utf8 field of an expression
...
- make the parse result a single assignment at top level of parsing
- abort parsing on a memory allocation failure
2005-05-23 09:53:43 +00:00
Mike McCormack
d31f12964b
Only tables can be backquoted, strings must be single quoted.
2005-05-19 11:15:37 +00:00
Mike McCormack
1afddb3cd3
Implement SQL delete query.
2005-02-14 11:07:13 +00:00
Mike McCormack
5007de8b05
Fix and test inserting records.
2005-01-20 20:39:15 +00:00
Aric Stewart
3d5c00e104
Let negative number be parsed correctly. Needed for accessing actions
...
with sequences such as -1.
2004-12-16 14:33:56 +00:00
Eric Pouech
4056d7ef8c
Fixed some errors in function prototypes.
2004-12-13 21:19:01 +00:00
Mike McCormack
f3c8b83055
Fix the return code of MsiDatabaseOpenView.
2004-07-19 19:35:05 +00:00
Mike McCormack
11553baa63
Implement the UPDATE query.
2004-07-04 00:30:02 +00:00
Mike McCormack
f6492dc5ca
Create the WHERE part of a query in one function call.
2004-07-04 00:27:48 +00:00
Mike McCormack
16abc780e6
Hack field types, fix ref counting.
2004-06-30 18:27:41 +00:00
Mike McCormack
abd259fd12
Fix the UPDATE query.
2004-06-30 18:24:33 +00:00
Mike McCormack
ab519f2a2c
Make the SQL insert query work.
2004-06-30 18:18:27 +00:00
Aric Stewart
401bd3f772
Start implementing actions.
2004-06-28 20:34:35 +00:00