10bd9d1c47e349b68fd4d9e7bd4f166de0446771
[Packages/TYPO3.CMS.git] / typo3 / sysext / dbal / ChangeLog
1 2010-01-03 Xavier Perseguers <typo3@perseguers.ch>
2
3 * Added feature #13135: Support for CASE WHEN flow control
4
5 2009-12-30 Xavier Perseguers <typo3@perseguers.ch>
6
7 * Set version to 1.1.0
8
9 2009-12-28 Xavier Perseguers <typo3@perseguers.ch>
10
11 * Fixed bug #12603: sql_query does not respect "mapping"
12 * Fixed bug #13104: SQL parser cannot parse escaped single quote in INSERT statement
13
14 2009-12-27 Xavier Perseguers <typo3@perseguers.ch>
15
16 * Updated documentation: now using new documentation template
17 * Updated documentation: removed obsolete information, added small cookbook for extension developers, added tutorials for Oracle and PostgreSQL
18
19 2009-12-13 Xavier Perseguers <typo3@perseguers.ch>
20
21 * Fixed bug #13003: Move back methods belonging to t3lib_sqlparser
22
23 2009-12-11 Xavier Perseguers <typo3@perseguers.ch>
24
25 * Fixed bug #12897: Cannot parse SQL hints
26
27 2009-11-29 Xavier Perseguers <typo3@perseguers.ch>
28
29 * Fixed bug #12758: Added support for EXISTS (subquery)
30
31 2009-11-29 Xavier Perseguers <typo3@perseguers.ch>
32
33 * Set version to 1.0.2 [TYPO3 4.3.0]
34 * Fixed bug #12800: Add functionality to work with caching framework (support for "IN (subquery)" in where clause)
35 * Follow-up of changeset 26118: parts of initial patch for RFC 12231 had actually not been integrated
36
37 2009-11-27 Xavier Perseguers <typo3@perseguers.ch>
38
39 * Cleanup: Reorganized unit-tests
40
41 2009-11-25 Xavier Perseguers <typo3@perseguers.ch>
42
43 * Set version to 1.0.1
44
45 2009-11-20 Xavier Perseguers <typo3@perseguers.ch>
46
47 * Added unit-test for bug #5708: Fieldmapping doesn't work on the "right side" in where clause with table.field
48 * Fixed bugs #5044/#11142: Column's default value is not properly quoted in CREATE TABLE
49 * Added unit-test for bug #12670: Columns with NOT NULL are created as NULLable
50
51 2009-11-17 Xavier Perseguers <typo3@perseguers.ch>
52
53 * Set version to 1.0.0 (stable)
54 * Updated documentation: updated copyright and refreshed TOC
55 * Added unit-test for bug #4466: Index on tx_realurl_uniqalias breaks with DBAL
56
57 2009-11-16 Xavier Perseguers <typo3@perseguers.ch>
58
59 * Now using Core dispatcher for backend module (thanks to Oliver Hader)
60
61 2009-11-15 Xavier Perseguers <typo3@perseguers.ch>
62
63 * Fixed bug #12596: RIGHT OUTER JOIN is not supported
64
65 2009-11-11 Xavier Perseguers <typo3@perseguers.ch>
66
67 * Added unit test for bug #11093: bigint (int8) values get converted to int4 by int-cast
68
69 2009-11-10 Xavier Perseguers <typo3@perseguers.ch>
70
71 * Removed comments stating that SQL parser is experimental
72 * Follow-up of revision 26334: LIKE on Oracle should use dbms_lob.instr() function
73 * Updated Oracle unit tests to use $GLOBALS['TYPO3_DB'] instead of a fixture to avoid side-effects on SQL rewriting
74 * Updated general database unit tests to use $GLOBALS['TYPO3_DB'] instead of a fixture to avoid side-effects on SQL rewriting
75
76 2009-11-09 Xavier Perseguers <typo3@perseguers.ch>
77
78 * Fixed bug #10965: Float database field gets converted to integer on insert (thanks to Christian Ducrot)
79 * Fixed bug #12515: DAM-related: CONCAT operator cannot be used after LIKE
80 * Fixed bug #10411: Applied missing chunks of patch
81
82 2009-11-07 Xavier Perseguers <typo3@perseguers.ch>
83
84 * Added unit test for RFC #6198: Problem with strings in IN
85 * Added unit test for RFC #6953: Mapping of fieldnames in SQL-functions like MIN(), MAX() or SUM() does not work
86
87 2009-11-06 Xavier Perseguers <typo3@perseguers.ch>
88
89 * Set version to 0.9.25
90 * Fixed bug: tables and fields were not always properly mapped in INNER JOINs
91 * Added unit tests to test quoting and remapping of tables and fields when using Oracle
92
93 2009-11-05 Xavier Perseguers <typo3@perseguers.ch>
94
95 * Set version to 0.9.24
96 * Follow-up of RFC #12452: Reflected change of visibility of method compileFieldCfg() in t3lib_sqlparser
97
98 2009-11-04 Xavier Perseguers <typo3@perseguers.ch>
99
100 * Updated ext_emconf.php's author and extension version dependencies
101
102 2009-11-03 Xavier Perseguers <typo3@perseguers.ch>
103
104 * Added some general unit tests (without any engine-specific test nor mapping)
105 * Cleanup #12440: Copy DBAL-only SQL parser methods from t3lib_sqlparser to ux_t3lib_sqlparser
106 * Fixed bug #12231: New caching framework (4.3-dev) does not work with DBAL
107
108 2009-10-28 Xavier Perseguers <typo3@perseguers.ch>
109
110 * Added compatibility operators for PostgreSQL as resource script (thanks to Ries van Twisk)
111 * Added message in Extension Manager to let users know compatibility scripts may need to be run
112
113 2009-10-27 Xavier Perseguers <typo3@perseguers.ch>
114
115 * Follow-up of changeset 25876: Using tx_dbal_sqlengine instead of t3lib_sqlengine for sample handlers
116 * Created icons for extension and Debug module
117 * Cleanup: Applied CGL
118
119 2009-10-26 Xavier Perseguers <typo3@perseguers.ch>
120
121 * Fixed bug #12354: Include t3lib_sqlengine from Core to DBAL
122 * Fixed bug #12349: Clean-up SQL parser and SQL engine
123
124 2009-10-20 Oliver Hader <oliver@typo3.org>
125
126 * Set version to 0.9.23
127
128 2009-10-08 Xavier Perseguers <typo3@perseguers.ch>
129
130 * Fixed bug #6953: Mapping of fieldnames in SQL-functions like MIN(), MAX() or SUM() does not work (Thanks to Christian and Michael Miousse)
131
132 2009-10-01 Xavier Perseguers <typo3@perseguers.ch>
133
134 * Raised version to 0.9.22
135
136 2009-09-29 Xavier Perseguers <typo3@perseguers.ch>
137
138 * Fixed bug #12071: t3lib_sqlparser is not able to parse alias of a joined table
139
140 2009-09-20 Xavier Perseguers <typo3@perseguers.ch>
141
142 * Fixed bug #12012: admin_get_tables() method is using PHP5.3-deprecated function mysql_list_tables
143
144 2009-09-18 Xavier Perseguers <typo3@perseguers.ch>
145
146 * Raised version to 0.9.21
147
148 2009-09-18 Xavier Perseguers <typo3@perseguers.ch>
149
150 * Fixed bug #11984: Remove reference operators for objects
151
152 2009-09-03 Xavier Perseguers <typo3@perseguers.ch>
153
154 * Fixed bug #11436: Unknown tables break Install-Tool (Thanks to David Bruchmann)
155 * Fixed bug #11108: DBAL wildly quotes fields and table names
156
157 2009-09-04 Karsten Dambekalns <karsten@typo3.org>
158
159 * Raised version to 0.9.20
160
161 2008-02-04 Michael Stucki <michael@typo3.org>
162
163 * Fixed bug #7295: Uninitialized variable in ->handler_getFromTableList() (Patch by Oliver Klee)
164
165 2007-05-30 Karsten Dambekalns <karsten@typo3.org>
166
167 * Added default values and some usability improvements to cached info display in debug module (closes bug #3750)
168 * EXPLAIN PLAN support for Oracle (closes bug #3850)
169 * Fixed a warning when using admin_get_fields() on a non-existent table
170 * Fixed a bug causing inserts with more than one affected CLOB field to fail
171 * quoteWhereClause() now die()s when the input cannot be parsed by parseWhereClause()
172 * PHP backtraces can be logged with the queries now (closes bug #3856)
173
174 2007-05-29 Karsten Dambekalns <karsten@typo3.org>
175
176 * Closes bug #4462: creates tables without OIDs on PostgreSQL now
177 * Closes bugs #4494, #3759: & is translated to BITAND() on Oracle now
178 * Large text fields are CLOB fields now; for Oracle LIKE comparisons against such fields are translated to dbms_lob.instr() calls. This should fix e.g. bug #5535 as well as issues with TV data that cannot be unserialized (see comments on bug #4638)
179 * Updates to the manual
180 * A fix for bug #5481, field mapping not working on the right side of a comparison in WHERE clauses
181 * Fixed bugs #2438 and #4496 about quoting of DISTINCT in SELECT clauses
182
183 2006-07-19 Karsten Dambekalns <karsten@typo3.org>
184
185 * Fixes SQL issues when searching in list view or with the global search box on the bottom of the BE page
186
187 2006-06-30 Karsten Dambekalns <karsten@typo3.org>
188
189 * this update closes bugs #3638, #2106, #2866, #3754 (for Firefox, broken in MSIE) and maybe a few more
190 * Implemented support for sysLog() on connection failure
191 * DBAL now honours the no_pconnect setting
192 * For handlers in native mode the setDBinit queries are executed upon connection
193 * The initial value for generated sequences can be configured per handler, to avoid duplicate key errors after having imported data
194 * BLOB fields are handled correctly now during INSERT and UPDATE
195 * Setting $store_lastBuiltQuery acts like in t3lib_db now (fill $debug_lastBuiltQuery)
196 * For the native handler quoting methods directly return the input for speedup, as no quoting is needed in that case
197 * Added support for native and userdefined handler to MetaType()
198 * Changed mapping of types to always use the largest possible integer, map tinytext to varchar instead of text
199 * admin_get_tables() skips tables whose names match /BIN\$/ (coming from the recycle bin on Oracle)
200 * Importing dumps using the install tool now works, see manual for tips
201 * Changed the way NOT NULL and DEFAULT are handled when setting up tables, see manual for the rules that now apply
202 * Code cleanup (indentation, documentation)
203 * Updated the manual and added new content
204
205 2006-01-19 Karsten Dambekalns <karsten@typo3.org>
206
207 * Changes to connection handling, detecting failed connections.
208 * Added support for $no_quote_fields in UPDATE and INSERT methods.
209
210 2006-01-04 Karsten Dambekalns <karsten@typo3.org>
211
212 * Changed the way a connection is established with ADOdb. The new
213 way allows ODBC connections (rather, connections to drivers having
214 an underscore in their name).
215 * Changes to ext_tables.sql to make it more portable.
216 * When printing errors, output the offending SQL as well.
217 * Some small fixes, enhancements to code documentation.
218 * Some additions to the manual.
219
220 2005-12-27 Karsten Dambekalns <karsten@typo3.org>
221
222 * Converted locallang to XML, small adaptions to syext location.
223 * One slight fix to the SQL check in the BE module (wrong output if
224 an error occurred).
225
226 2005-12-26 Karsten Dambekalns <karsten@typo3.org>
227
228 * Code cleanup and improvements to the mapping. Merged 3rd
229 party changes done by DIACC GmbH.
230
231 2005-12-23 Karsten Dambekalns <karsten@typo3.org>
232
233 * Fixed a few issues that were left undiscovered yet.
234 * Added a new module to test query building and parsing
235 from the DBAL debug module.
236 * Finalized fix for bug #1649.
237
238 2005-12-22 Karsten Dambekalns <karsten@typo3.org>
239
240 * Fixed bug #2077 (NOT handling breaking, consequently
241 discarding WHERE clauses).
242
243 2005-12-21 Karsten Dambekalns <karsten@typo3.org>
244
245 * Fixed bug #1781 to allow easier install.
246 * Closed bug #1204 as not reproducable. Probably rather a
247 PHP/Apache bug than a DBAL bug.
248 * Closed bug #1317 which has been fixed earlier. It was due
249 to a msissing check for the incoming SQL (string/array) in the
250 native part of exec_UPDATEquery().
251 * Fixed parseFieldDef() t3lib_sqlparser to allow datatypes
252 with just a trailing comma (like in "tyinytext," as opposed
253 to "varchar(19)". This prevented installation of some
254 extensions.
255 * Fixed bug #2072.
256 * Fixed bug #1206.
257 * Fixed a bug with error logging and array queries (BLOB).
258 * Prepared a fix for bug #1649, pending core list approval.
259 * Fixed a bug in t3lib_page, getMultipleGroupsWhereClause()
260 where double quotes were used to quote a literal for use in
261 SQL. THIS IS MYSQL-ONLY! NEVER DO THIS! ALWAYS USE SINGLE
262 QUOTES!
263
264 2005-06-07 Karsten Dambekalns <karsten@typo3.org>
265
266 Documentation update.
267
268 2005-05-19 Karsten Dambekalns <karsten@typo3.org>
269
270 Committed changes to go along with the library removal done
271 earlier. Completed debug logging.
272
273 2005-02-07 Karsten Dambekalns <karsten@typo3.org>
274
275 Bringing the DBAL extension AS OF JANUARY 2005 into CVS. Works
276 pretty well, but still needs more work. A few optimizations are
277 planned and some bugs in native mode need to be fixed. Checking
278 this in is (similar to yesterday's commit) more for
279 historic/archival reasons. This version will NOT work with 3.7.x.
280 You have been warned.
281
282 2005-02-06 Karsten Dambekalns <karsten@typo3.org>
283
284 Bringing the DBAL extension AS OF JULY 2004 into CVS. This is
285 rather for historic purposes, more changes will follow in the near
286 future. This version was already a huge step forward, but it will
287 not work as expected with 3.7.x or 3.8.x. You have been warned.
288
289 2004-03-28 Kasper Skaarhoej <kasperYYYY@typo3.com>
290
291 Initial revision