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