Commit Graph

18 Commits

Author SHA1 Message Date
Hans Leidekker
22a277cc2e msi: Fix some memory leaks. 2009-05-28 15:29:09 +02:00
James Hawkins
c9b3bc1165 msi: Column attributes for temporary string and int columns should be g and j respectively. 2009-03-02 12:05:28 +01:00
James Hawkins
62c544cf4f msi: Implement the DROP TABLE sql command. 2008-10-06 13:05:52 +02:00
James Hawkins
061085fa94 msi: Fix joining a nonexistent table with another table. 2008-04-03 11:30:01 +02:00
Rob Shearman
dd31a1eac4 msi: Fix typos which caused joins of three or more tables to not work properly.
In JOIN_fetch_int and JOIN_fetch_stream, prev_rows should be multiplied 
by the rows encountered in the current table so that prev_rows contains 
all of counts of the rows encountered multiplied together, rather than 
just the count of the rows in the last table encountered.
2008-03-12 19:21:19 +01: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
b830fb0a34 msi: Implement the MSIMODIFY_UPDATE command in the SELECT view. 2007-07-27 12:24:39 +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
James Hawkins
3b1ab76986 msi: Implement reference counting for tables, manipulated with the HOLD and FREE sql commands. 2007-07-19 12:00:43 +02:00
James Hawkins
9309f4dfa0 msi: Properly delete rows from the table, instead of zeroing out the row. 2007-06-19 11:31:44 +02:00
Mike McCormack
c6124db905 msi: Use a simpler algorithm for joins. 2006-10-31 11:57:40 +01:00
Mike McCormack
1582f58036 msi: Fix the join algorithm. 2006-10-26 12:56:10 +02:00
Mike McCormack
9b95c27c9c msi: Remove some unused functions. 2006-10-26 12:56:09 +02:00
James Hawkins
a302f03c65 msi: Allow non-key columns to be used with the join query. 2006-09-08 12:43:55 +02:00
Mike McCormack
6eea50394e msi: Fix a memory leak. 2006-08-29 13:48:07 +02:00
Mike McCormack
76baa45a86 msi: Implement SQL inner joins. 2006-07-26 15:17:40 +02:00