1 2010-12-05 Xavier Perseguers <typo3@perseguers.ch>
3 * Fixed bug #16678: DBAL is active with MySQL at the end of 1-2-3 wizard
5 2010-12-02 Xavier Perseguers <typo3@perseguers.ch>
7 * Fixed bug #16639: Install Tool is unusable since DBAL merge
9 2010-12-01 Xavier Perseguers <typo3@perseguers.ch>
11 * Set version to 1.2.0beta2
13 2010-12-01 Xavier Perseguers <typo3@perseguers.ch>
15 * Fixed use of undefined variable $where in method exec_INSERTquery() with MySQL handler
16 * Fixed use of undefined variable $mapping in method map_subquery()
17 * Follow-up for bug #16392: Native tables could not be retrieved anymore
19 * Fixed bug #16492: groupBy and orderBy fail on exec_query (thanks to Oguzhan Alan)
21 2010-11-30 Xavier Perseguers <typo3@perseguers.ch>
23 * Fixed bug #16501: DBAL does not support multi-column indexes in create table queries
24 * Added feature #16491: Provide a pass-through flag for sql_exec() which goes directly to the native MySQL engine
26 2010-11-18 Xavier Perseguers <typo3@perseguers.ch>
28 * Fixed bug #16392: Install tool cannot compare "ENGINE" of MySQL Tables when DBAL is active
30 2010-11-17 Xavier Perseguers <typo3@perseguers.ch>
32 * Fixed bug #16444: DBAL installs itself automatically whenever the install tool is called
34 2010-11-14 Xavier Perseguers <typo3@perseguers.ch>
36 * Set version to 1.2.0beta1
38 2010-11-14 Xavier Perseguers <typo3@perseguers.ch>
40 * Added feature #15755: Allow DBAL to interact with EM to configure remapping
42 2010-10-30 Xavier Perseguers <typo3@perseguers.ch>
44 * Fixed bug #16179: 1-2-3 install tool wizard does not let DBAL load early enough
45 * Fixed bug #15941: Log deprecated functions (and adjust comments)
46 * Fixed bug #15960: Misleading error message in ux_t3lib_DB->cacheFieldInfo() (thanks to Martin Kuster)
47 * Fixed bug #16120: UPDATE queries fails for $GLOBALS['TYPO3_DB']->sql_query (thanks to Alan Oguzhan)
49 2010-10-19 Xavier Perseguers <typo3@perseguers.ch>
51 * Set version to 1.2.0alpha3
53 2010-09-28 Xavier Perseguers <typo3@perseguers.ch>
55 * Added feature #15075: [Install] make a pre-check for required php-extensions (thanks to Jigal van Hemert)
57 2010-09-21 Xavier Perseguers <typo3@perseguers.ch>
59 * Set version to 1.2.0alpha2
61 2010-09-20 Xavier Perseguers <typo3@perseguers.ch>
63 * Merged branch QueryCache to trunk
64 * Updated documentation to describe how to use Memcached to cache prepared queries
65 * Fixed bug #15751: dbal does not parse setDBinit correctly (thanks to Tamer Erdogan)
67 2010-08-30 Xavier Perseguers <typo3@perseguers.ch>
69 * Fixed bug #15582: Call to deprecated function template::middle()
71 2010-08-24 Xavier Perseguers <typo3@perseguers.ch>
73 * Fixed caching with Memcached
74 * Synchronized code from trunk
76 2010-08-23 Xavier Perseguers <typo3@perseguers.ch>
78 * Fixed bug #15535: Error: No pages are found on the rootlevel! in Frontend when using Oracle
79 * Updated ADOdb version dependency
80 * Set version to 1.2.0alpha1
82 2010-08-19 Xavier Perseguers <typo3@perseguers.ch>
84 * Updated caching mechanism to cache prepared queries
85 * Synchronized code from trunk
86 * Added unit test for feature #15457
87 * Added feature #15457: Add support for prepared queries
89 2010-08-14 Xavier Perseguers <typo3@perseguers.ch>
91 * Code cleanup with useless blank spaces at end of line
93 2010-08-08 Xavier Perseguers <typo3@perseguers.ch>
95 * Added unit test for bug #15253: NOT LIKE is not remapped using dbms_lob.instr with Oracle
96 * Fixed bug #12535: DAM-related: Element browser crashes as where-clause cannot be parsed
98 2010-07-27 Xavier Perseguers <typo3@perseguers.ch>
100 * Fixed bug #15160: Queries should only be parsed once
102 2010-07-17 Xavier Perseguers <typo3@perseguers.ch>
104 * Updated PHP documentation
106 2010-07-16 Xavier Perseguers <typo3@perseguers.ch>
108 * Added unit test for bug #14818: t3lib_db->listQuery() performance
109 * Fixed bug #14985: FIND_IN_SET should be used isntead of complicated LIKE where clause
111 2010-07-11 Xavier Perseguers <typo3@perseguers.ch>
113 * Fixed bug #15045: Trailing newlines after php closing tag
115 2010-06-27 Xavier Perseguers <typo3@perseguers.ch>
117 * Synchronized @deprecated annotations with Core
119 2010-06-22 Jeff Segars <jeff@webempoweredchurch.org>
121 * Fixed bug #14814: Improve install tool texts
123 2010-06-19 Xavier Perseguers <typo3@perseguers.ch>
125 * Fixed bug #3855: Log number of returned or affected rows
126 * Updated copyright year in manual
128 2010-06-12 Xavier Perseguers <typo3@perseguers.ch>
130 * Fixed bug #13431: Include BE:forceCharset config option (thanks to Armin Guenther)
132 2010-06-11 Xavier Perseguers <typo3@perseguers.ch>
134 * Fixed bug #14405: Rename the test cases from *_testcase to *Test
136 2010-06-03 Xavier Perseguers <typo3@perseguers.ch>
138 * Fixed bug #14479: Speed up Oracle layer by not defaulting to dbms_lob.instr for LIKE query (thanks to Michiel Roos)
140 2010-05-28 Xavier Perseguers <typo3@perseguers.ch>
142 * Fixed bug #7015: t3lib_DB displays wrong SQL in error case
144 2010-05-27 Xavier Perseguers <typo3@perseguers.ch>
146 * Fixed bug #14496: SQL parser does not handle ALTER TABLE with character set operation
147 * Fixed bug #14456: SQL parser doesn't accept ALTER TABLE statement without CHANGE, DROP or ADD keyword
148 * Fixed bug #14457: 1-2-3 Install Process breaks with PostgreSQL
150 2010-05-21 Xavier Perseguers <typo3@perseguers.ch>
152 * Fixed bug #14372: Mapping does not work with table alias
153 * Follow-up of changeset 32847: DBAL cannot be loaded if typo3conf/ is not writable
155 2010-05-03 Xavier Perseguers <typo3@perseguers.ch>
157 * Fixed 1-2-3 installer crash when having only mysql available
159 2010-05-01 Xavier Perseguers <typo3@perseguers.ch>
161 * Fixed bug #14274: Some exception are not caught when trying to install DBAL in 1-2-3 Install Tool process
162 * Fixed bug #2186: Error installing static_info_tables
163 * Fixed bug #14265: Driver dropdown in install tool should be hidden when only MySQL is available
165 2010-04-29 Xavier Perseguers <typo3@perseguers.ch>
167 * Added autoloader for Install Tool
169 2010-04-22 Xavier Perseguers <typo3@perseguers.ch>
171 * Fixed bug #14182: Multiple join conditions are not supported
173 2010-04-15 Xavier Perseguers <typo3@perseguers.ch>
175 * Fixed bug #14120: Add a method to check if database is connected
177 2010-04-14 Xavier Perseguers <typo3@perseguers.ch>
179 * Set version to 1.1.2
181 2010-04-12 Xavier Perseguers <typo3@perseguers.ch>
183 * Added feature #13508: Use exec_TRUNCATEquery() instead of DELETE FROM throughout the core
185 2010-04-06 Xavier Perseguers <typo3@perseguers.ch>
187 * Added skeleton of a cache for generated queries
189 2010-03-07 Xavier Perseguers <typo3@perseguers.ch>
191 * Fixed bug #4640: Backend login impossible with MSSQL via ODBC (thanks to Felix Eckhofer)
193 2010-02-21 Xavier Perseguers <typo3@perseguers.ch>
195 * Fixed bug #2367: No support for LIMIT [PostgreSQL]
197 2010-02-14 Xavier Perseguers <typo3@perseguers.ch>
199 * Set version to 1.1.1
201 2010-02-14 Xavier Perseguers <typo3@perseguers.ch>
203 * Added unit test for #12829: ALTER TABLE is not able to parse length restriction in index creation
205 2010-02-13 Xavier Perseguers <typo3@perseguers.ch>
207 * Added unit tests for #4493: WHERE func(expr) IN (n,...m) is broken
208 * Fixed bug #6196: IFNULL operator cannot be parsed
209 * Fixed bug #13528: Argument 1 passed to ux_t3lib_DB::_quoteFieldNames() must be an array, string given
211 2010-02-11 Xavier Perseguers <typo3@perseguers.ch>
213 * Follow-up of #13504: Using TRUNCATE instead of TRUNCATETABLE as public DB API
215 2010-02-10 Xavier Perseguers <typo3@perseguers.ch>
217 * Fixed bug #13504: Cannot parse TRUNCATE TABLE in install tool
219 2010-02-09 Xavier Perseguers <typo3@perseguers.ch>
221 * Added unit test for bug #13490: Where clause 0=0 cannot be parsed
223 2010-02-07 Xavier Perseguers <typo3@perseguers.ch>
225 * Added feature #12858: Provide an API to insert multiple rows at once
226 * Fixed bug #13453: Method compileINSERT of ux_t3lib_sqlparser should be protected
227 * Added feature #13209: MySQL extended INSERT statements cannot be parsed
229 2010-02-06 Xavier Perseguers <typo3@perseguers.ch>
231 * Added unit tests for bug #13430: Cannot parse INSERT when VALUES has no space before left parenthesis
233 2010-02-05 Xavier Perseguers <typo3@perseguers.ch>
235 * Fixed bug #13422: Invalid quoting of numeric column names
237 2010-02-03 Xavier Perseguers <typo3@perseguers.ch>
239 * Added unit tests for bug #13412: BETWEEN operator is not supported
241 2010-01-24 Xavier Perseguers <typo3@perseguers.ch>
243 * Fixed bug #13090: version warning with CSS styled content
245 2010-01-14 Steffen Kamper <info@sk-typo3.de>
247 * Fixed bug #13199: fileadminDir is hardcoded in several places (thanks to Susanne Moog)
249 2010-01-08 Xavier Perseguers <typo3@perseguers.ch>
251 * Updated copyright year
253 2010-01-05 Xavier Perseguers <typo3@perseguers.ch>
255 * Added feature #13134: Support of SQL LOCATE function
257 2010-01-03 Xavier Perseguers <typo3@perseguers.ch>
259 * Added feature #13135: Support for CASE WHEN flow control
261 2009-12-30 Xavier Perseguers <typo3@perseguers.ch>
263 * Set version to 1.1.0
265 2009-12-28 Xavier Perseguers <typo3@perseguers.ch>
267 * Fixed bug #12603: sql_query does not respect "mapping"
268 * Fixed bug #13104: SQL parser cannot parse escaped single quote in INSERT statement
270 2009-12-27 Xavier Perseguers <typo3@perseguers.ch>
272 * Updated documentation: now using new documentation template
273 * Updated documentation: removed obsolete information, added small cookbook for extension developers, added tutorials for Oracle and PostgreSQL
275 2009-12-13 Xavier Perseguers <typo3@perseguers.ch>
277 * Fixed bug #13003: Move back methods belonging to t3lib_sqlparser
279 2009-12-11 Xavier Perseguers <typo3@perseguers.ch>
281 * Fixed bug #12897: Cannot parse SQL hints
283 2009-11-29 Xavier Perseguers <typo3@perseguers.ch>
285 * Fixed bug #12758: Added support for EXISTS (subquery)
287 2009-11-29 Xavier Perseguers <typo3@perseguers.ch>
289 * Set version to 1.0.2 [TYPO3 4.3.0]
290 * Fixed bug #12800: Add functionality to work with caching framework (support for "IN (subquery)" in where clause)
291 * Follow-up of changeset 26118: parts of initial patch for RFC 12231 had actually not been integrated
293 2009-11-27 Xavier Perseguers <typo3@perseguers.ch>
295 * Cleanup: Reorganized unit-tests
297 2009-11-25 Xavier Perseguers <typo3@perseguers.ch>
299 * Set version to 1.0.1
301 2009-11-20 Xavier Perseguers <typo3@perseguers.ch>
303 * Added unit-test for bug #5708: Fieldmapping doesn't work on the "right side" in where clause with table.field
304 * Fixed bugs #5044/#11142: Column's default value is not properly quoted in CREATE TABLE
305 * Added unit-test for bug #12670: Columns with NOT NULL are created as NULLable
307 2009-11-17 Xavier Perseguers <typo3@perseguers.ch>
309 * Set version to 1.0.0 (stable)
310 * Updated documentation: updated copyright and refreshed TOC
311 * Added unit-test for bug #4466: Index on tx_realurl_uniqalias breaks with DBAL
313 2009-11-16 Xavier Perseguers <typo3@perseguers.ch>
315 * Now using Core dispatcher for backend module (thanks to Oliver Hader)
317 2009-11-15 Xavier Perseguers <typo3@perseguers.ch>
319 * Fixed bug #12596: RIGHT OUTER JOIN is not supported
321 2009-11-11 Xavier Perseguers <typo3@perseguers.ch>
323 * Added unit test for bug #11093: bigint (int8) values get converted to int4 by int-cast
325 2009-11-10 Xavier Perseguers <typo3@perseguers.ch>
327 * Removed comments stating that SQL parser is experimental
328 * Follow-up of revision 26334: LIKE on Oracle should use dbms_lob.instr() function
329 * Updated Oracle unit tests to use $GLOBALS['TYPO3_DB'] instead of a fixture to avoid side-effects on SQL rewriting
330 * Updated general database unit tests to use $GLOBALS['TYPO3_DB'] instead of a fixture to avoid side-effects on SQL rewriting
332 2009-11-09 Xavier Perseguers <typo3@perseguers.ch>
334 * Fixed bug #10965: Float database field gets converted to integer on insert (thanks to Christian Ducrot)
335 * Fixed bug #12515: DAM-related: CONCAT operator cannot be used after LIKE
336 * Fixed bug #10411: Applied missing chunks of patch
338 2009-11-07 Xavier Perseguers <typo3@perseguers.ch>
340 * Added unit test for RFC #6198: Problem with strings in IN
341 * Added unit test for RFC #6953: Mapping of fieldnames in SQL-functions like MIN(), MAX() or SUM() does not work
343 2009-11-06 Xavier Perseguers <typo3@perseguers.ch>
345 * Set version to 0.9.25
346 * Fixed bug: tables and fields were not always properly mapped in INNER JOINs
347 * Added unit tests to test quoting and remapping of tables and fields when using Oracle
349 2009-11-05 Xavier Perseguers <typo3@perseguers.ch>
351 * Set version to 0.9.24
352 * Follow-up of RFC #12452: Reflected change of visibility of method compileFieldCfg() in t3lib_sqlparser
354 2009-11-04 Xavier Perseguers <typo3@perseguers.ch>
356 * Updated ext_emconf.php's author and extension version dependencies
358 2009-11-03 Xavier Perseguers <typo3@perseguers.ch>
360 * Added some general unit tests (without any engine-specific test nor mapping)
361 * Cleanup #12440: Copy DBAL-only SQL parser methods from t3lib_sqlparser to ux_t3lib_sqlparser
362 * Fixed bug #12231: New caching framework (4.3-dev) does not work with DBAL
364 2009-10-28 Xavier Perseguers <typo3@perseguers.ch>
366 * Added compatibility operators for PostgreSQL as resource script (thanks to Ries van Twisk)
367 * Added message in Extension Manager to let users know compatibility scripts may need to be run
369 2009-10-27 Xavier Perseguers <typo3@perseguers.ch>
371 * Follow-up of changeset 25876: Using tx_dbal_sqlengine instead of t3lib_sqlengine for sample handlers
372 * Created icons for extension and Debug module
373 * Cleanup: Applied CGL
375 2009-10-26 Xavier Perseguers <typo3@perseguers.ch>
377 * Fixed bug #12354: Include t3lib_sqlengine from Core to DBAL
378 * Fixed bug #12349: Clean-up SQL parser and SQL engine
380 2009-10-20 Oliver Hader <oliver@typo3.org>
382 * Set version to 0.9.23
384 2009-10-08 Xavier Perseguers <typo3@perseguers.ch>
386 * Fixed bug #6953: Mapping of fieldnames in SQL-functions like MIN(), MAX() or SUM() does not work (thanks to Christian and Michael Miousse)
388 2009-10-01 Xavier Perseguers <typo3@perseguers.ch>
390 * Raised version to 0.9.22
392 2009-09-29 Xavier Perseguers <typo3@perseguers.ch>
394 * Fixed bug #12071: t3lib_sqlparser is not able to parse alias of a joined table
396 2009-09-20 Xavier Perseguers <typo3@perseguers.ch>
398 * Fixed bug #12012: admin_get_tables() method is using PHP5.3-deprecated function mysql_list_tables
400 2009-09-18 Xavier Perseguers <typo3@perseguers.ch>
402 * Raised version to 0.9.21
404 2009-09-18 Xavier Perseguers <typo3@perseguers.ch>
406 * Fixed bug #11984: Remove reference operators for objects
408 2009-09-03 Xavier Perseguers <typo3@perseguers.ch>
410 * Fixed bug #11436: Unknown tables break Install-Tool (thanks to David Bruchmann)
411 * Fixed bug #11108: DBAL wildly quotes fields and table names
413 2009-09-04 Karsten Dambekalns <karsten@typo3.org>
415 * Raised version to 0.9.20
417 2008-02-04 Michael Stucki <michael@typo3.org>
419 * Fixed bug #7295: Uninitialized variable in ->handler_getFromTableList() (Patch by Oliver Klee)
421 2007-05-30 Karsten Dambekalns <karsten@typo3.org>
423 * Added default values and some usability improvements to cached info display in debug module (closes bug #3750)
424 * EXPLAIN PLAN support for Oracle (closes bug #3850)
425 * Fixed a warning when using admin_get_fields() on a non-existent table
426 * Fixed a bug causing inserts with more than one affected CLOB field to fail
427 * quoteWhereClause() now die()s when the input cannot be parsed by parseWhereClause()
428 * PHP backtraces can be logged with the queries now (closes bug #3856)
430 2007-05-29 Karsten Dambekalns <karsten@typo3.org>
432 * Closes bug #4462: creates tables without OIDs on PostgreSQL now
433 * Closes bugs #4494, #3759: & is translated to BITAND() on Oracle now
434 * 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)
435 * Updates to the manual
436 * A fix for bug #5481, field mapping not working on the right side of a comparison in WHERE clauses
437 * Fixed bugs #2438 and #4496 about quoting of DISTINCT in SELECT clauses
439 2006-07-19 Karsten Dambekalns <karsten@typo3.org>
441 * Fixes SQL issues when searching in list view or with the global search box on the bottom of the BE page
443 2006-06-30 Karsten Dambekalns <karsten@typo3.org>
445 * this update closes bugs #3638, #2106, #2866, #3754 (for Firefox, broken in MSIE) and maybe a few more
446 * Implemented support for sysLog() on connection failure
447 * DBAL now honours the no_pconnect setting
448 * For handlers in native mode the setDBinit queries are executed upon connection
449 * The initial value for generated sequences can be configured per handler, to avoid duplicate key errors after having imported data
450 * BLOB fields are handled correctly now during INSERT and UPDATE
451 * Setting $store_lastBuiltQuery acts like in t3lib_db now (fill $debug_lastBuiltQuery)
452 * For the native handler quoting methods directly return the input for speedup, as no quoting is needed in that case
453 * Added support for native and userdefined handler to MetaType()
454 * Changed mapping of types to always use the largest possible integer, map tinytext to varchar instead of text
455 * admin_get_tables() skips tables whose names match /BIN\$/ (coming from the recycle bin on Oracle)
456 * Importing dumps using the install tool now works, see manual for tips
457 * Changed the way NOT NULL and DEFAULT are handled when setting up tables, see manual for the rules that now apply
458 * Code cleanup (indentation, documentation)
459 * Updated the manual and added new content
461 2006-01-19 Karsten Dambekalns <karsten@typo3.org>
463 * Changes to connection handling, detecting failed connections.
464 * Added support for $no_quote_fields in UPDATE and INSERT methods.
466 2006-01-04 Karsten Dambekalns <karsten@typo3.org>
468 * Changed the way a connection is established with ADOdb. The new
469 way allows ODBC connections (rather, connections to drivers having
470 an underscore in their name).
471 * Changes to ext_tables.sql to make it more portable.
472 * When printing errors, output the offending SQL as well.
473 * Some small fixes, enhancements to code documentation.
474 * Some additions to the manual.
476 2005-12-27 Karsten Dambekalns <karsten@typo3.org>
478 * Converted locallang to XML, small adaptions to syext location.
479 * One slight fix to the SQL check in the BE module (wrong output if
482 2005-12-26 Karsten Dambekalns <karsten@typo3.org>
484 * Code cleanup and improvements to the mapping. Merged 3rd
485 party changes done by DIACC GmbH.
487 2005-12-23 Karsten Dambekalns <karsten@typo3.org>
489 * Fixed a few issues that were left undiscovered yet.
490 * Added a new module to test query building and parsing
491 from the DBAL debug module.
492 * Finalized fix for bug #1649.
494 2005-12-22 Karsten Dambekalns <karsten@typo3.org>
496 * Fixed bug #2077 (NOT handling breaking, consequently
497 discarding WHERE clauses).
499 2005-12-21 Karsten Dambekalns <karsten@typo3.org>
501 * Fixed bug #1781 to allow easier install.
502 * Closed bug #1204 as not reproducable. Probably rather a
503 PHP/Apache bug than a DBAL bug.
504 * Closed bug #1317 which has been fixed earlier. It was due
505 to a msissing check for the incoming SQL (string/array) in the
506 native part of exec_UPDATEquery().
507 * Fixed parseFieldDef() t3lib_sqlparser to allow datatypes
508 with just a trailing comma (like in "tyinytext," as opposed
509 to "varchar(19)". This prevented installation of some
513 * Fixed a bug with error logging and array queries (BLOB).
514 * Prepared a fix for bug #1649, pending core list approval.
515 * Fixed a bug in t3lib_page, getMultipleGroupsWhereClause()
516 where double quotes were used to quote a literal for use in
517 SQL. THIS IS MYSQL-ONLY! NEVER DO THIS! ALWAYS USE SINGLE
520 2005-06-07 Karsten Dambekalns <karsten@typo3.org>
522 Documentation update.
524 2005-05-19 Karsten Dambekalns <karsten@typo3.org>
526 Committed changes to go along with the library removal done
527 earlier. Completed debug logging.
529 2005-02-07 Karsten Dambekalns <karsten@typo3.org>
531 Bringing the DBAL extension AS OF JANUARY 2005 into CVS. Works
532 pretty well, but still needs more work. A few optimizations are
533 planned and some bugs in native mode need to be fixed. Checking
534 this in is (similar to yesterday's commit) more for
535 historic/archival reasons. This version will NOT work with 3.7.x.
536 You have been warned.
538 2005-02-06 Karsten Dambekalns <karsten@typo3.org>
540 Bringing the DBAL extension AS OF JULY 2004 into CVS. This is
541 rather for historic purposes, more changes will follow in the near
542 future. This version was already a huge step forward, but it will
543 not work as expected with 3.7.x or 3.8.x. You have been warned.
545 2004-03-28 Kasper Skaarhoej <kasperYYYY@typo3.com>