| 1 |
Creole 1.2.0 BETA - May 29, 2008 |
|---|
| 2 |
------------------------------- |
|---|
| 3 |
|
|---|
| 4 |
This changelog is no longer kept up to date. Please see the revision logs: |
|---|
| 5 |
|
|---|
| 6 |
http://creole.phpdb.org/trac/log/ |
|---|
| 7 |
|
|---|
| 8 |
Creole 1.1.0 - Sep 1, 2006 |
|---|
| 9 |
--------------------------- |
|---|
| 10 |
|
|---|
| 11 |
* Updated DSN to reflect latest PEAR DSN syntax. In particular, changes |
|---|
| 12 |
to protocol: |
|---|
| 13 |
- OLD: pgsql://unix+locahost/bookstore |
|---|
| 14 |
- NEW: pgsql://unix(localhost)/bookstore |
|---|
| 15 |
|
|---|
| 16 |
* See full list of changes: http://creole.phpdb.org/trac/report/9 |
|---|
| 17 |
|
|---|
| 18 |
----------------- |
|---|
| 19 |
OLD CVS CHANGELOG |
|---|
| 20 |
----------------- |
|---|
| 21 |
|
|---|
| 22 |
2006-01-30 21:32 sethr |
|---|
| 23 |
|
|---|
| 24 |
* Discovered that extra single quotes were being added to strings |
|---|
| 25 |
due to the escape function - changed it so it does nothing, and |
|---|
| 26 |
removed the calls to it from this file. |
|---|
| 27 |
|
|---|
| 28 |
No escaping of single quotes is needed becuase data values are |
|---|
| 29 |
inserted via OCI_BIND - there are no special characters when |
|---|
| 30 |
using oci_bind. |
|---|
| 31 |
|
|---|
| 32 |
2006-01-17 20:06 hlellelid |
|---|
| 33 |
|
|---|
| 34 |
* Added support for specifying any of the supported compatibility |
|---|
| 35 |
flags from DSN |
|---|
| 36 |
|
|---|
| 37 |
2006-01-17 19:44 hlellelid |
|---|
| 38 |
|
|---|
| 39 |
* Added new COMPAT_ constants to Creole class and changed behavior |
|---|
| 40 |
to not automatically enable compatability mode. |
|---|
| 41 |
|
|---|
| 42 |
2006-01-12 23:58 hlellelid |
|---|
| 43 |
|
|---|
| 44 |
* Changed MSSQL to use SCOPE_IDENTITY() instead of @@Identity, as per |
|---|
| 45 |
suggestion from Randy Syring |
|---|
| 46 |
|
|---|
| 47 |
2006-01-06 00:02 sethr |
|---|
| 48 |
|
|---|
| 49 |
* OCI8: Fixed an issue with the reporting of Indexes - only indexes whose |
|---|
| 50 |
name matched a column name would properly report which columns |
|---|
| 51 |
were involved in the index. This change was prompted by Jens |
|---|
| 52 |
Bohrmann <jbohrmann@gmail.com> |
|---|
| 53 |
|
|---|
| 54 |
2005-12-10 13:46 hlellelid |
|---|
| 55 |
|
|---|
| 56 |
* Change MySQL driver to use mysql_real_escape_string() |
|---|
| 57 |
|
|---|
| 58 |
2005-11-21 17:53 sethr |
|---|
| 59 |
|
|---|
| 60 |
* OCI8: Added a setnull function to fix a problem caused by interaction |
|---|
| 61 |
problems with the common setnull function and oracle bind - |
|---|
| 62 |
binding NULL to a number causes an invalid number error - so |
|---|
| 63 |
replace nulls with '' |
|---|
| 64 |
|
|---|
| 65 |
2005-11-13 01:29 gamr |
|---|
| 66 |
|
|---|
| 67 |
* Add caching of replaceParams to prepared statements |
|---|
| 68 |
|
|---|
| 69 |
2005-11-08 04:24 hlellelid |
|---|
| 70 |
|
|---|
| 71 |
* Added support for sequences in PostgreSQL metadata classes |
|---|
| 72 |
|
|---|
| 73 |
2005-11-01 01:52 hlellelid |
|---|
| 74 |
|
|---|
| 75 |
* Added support for identity columns to MSSQL metadata. |
|---|
| 76 |
|
|---|
| 77 |
2005-10-18 11:20 hlellelid |
|---|
| 78 |
|
|---|
| 79 |
* Applied patch from Sönke Ruempler to include ON DELETE / ON |
|---|
| 80 |
UPDATE for MySQL foreign key metadata. |
|---|
| 81 |
|
|---|
| 82 |
2005-10-18 02:27 hlellelid |
|---|
| 83 |
|
|---|
| 84 |
* Applying sqlite patches from aurelian to fix missing $lastQuery |
|---|
| 85 |
setting and have better pkey detection. |
|---|
| 86 |
|
|---|
| 87 |
2005-10-17 19:05 dlawson_mi |
|---|
| 88 |
|
|---|
| 89 |
* TableMap::hasColumn() would fail sometimes if the ColumnMaps |
|---|
| 90 |
hadn't been loaded yet. |
|---|
| 91 |
* Fixed bug with new cached Connection code: If a retrieved |
|---|
| 92 |
Connection is closed, a subsequent call to |
|---|
| 93 |
Creole::getConnection() with the same DSN will return the cached |
|---|
| 94 |
Connection in a closed state. |
|---|
| 95 |
|
|---|
| 96 |
2005-10-06 17:16 sethr |
|---|
| 97 |
|
|---|
| 98 |
* Added a setDate function to make Creole::Date save correctly in |
|---|
| 99 |
Oracle. The function is almost identical to the existing setTime |
|---|
| 100 |
function |
|---|
| 101 |
|
|---|
| 102 |
2005-09-28 13:18 hlellelid |
|---|
| 103 |
|
|---|
| 104 |
* Changed BIGINT to use String methods rather than integer (since |
|---|
| 105 |
PHP does not support big integers) |
|---|
| 106 |
|
|---|
| 107 |
2005-09-16 13:09 hlellelid |
|---|
| 108 |
|
|---|
| 109 |
* Added support for new PHP 5.1 strtotime() signature (returns |
|---|
| 110 |
FALSE now instead of -1). |
|---|
| 111 |
|
|---|
| 112 |
2005-08-23 23:07 sethr |
|---|
| 113 |
|
|---|
| 114 |
* OCI8: Made changes so that inserts and updates into lob fields works |
|---|
| 115 |
correctly. Added a new array to store the columns referenced in |
|---|
| 116 |
the insert/update statement. Added a new function to determine |
|---|
| 117 |
the columns referenced... This works for the tests that I have |
|---|
| 118 |
done, but probably will not work for all situations Added code to |
|---|
| 119 |
the sqlToOracleBindVars to put empty_*lob() inplace of a bind |
|---|
| 120 |
variable, and to add a returning statement to the end of the sql. |
|---|
| 121 |
|
|---|
| 122 |
2005-08-18 15:26 hlellelid |
|---|
| 123 |
|
|---|
| 124 |
* Added a DebugConnection example written by Michael Sims |
|---|
| 125 |
|
|---|
| 126 |
2005-07-21 21:43 sethr |
|---|
| 127 |
|
|---|
| 128 |
* OCI8: Made some changes to make timestamps work correctly. Had to first |
|---|
| 129 |
modify the connection to set the oracle session environment |
|---|
| 130 |
variable NLS_DATE_FORMAT, and then added a setTimestamp function. |
|---|
| 131 |
|
|---|
| 132 |
2005-06-13 01:56 hlellelid |
|---|
| 133 |
|
|---|
| 134 |
* Patch from David Zulke to make getConnection() behave like a |
|---|
| 135 |
singleton, returning existing Connection (for same params). |
|---|
| 136 |
|
|---|
| 137 |
2005-04-21 14:48 hlellelid |
|---|
| 138 |
|
|---|
| 139 |
* Postgres: Fixed name of primary key to be the column name of the |
|---|
| 140 |
pkey (not sure if this is correct, but seems better than the empty |
|---|
| 141 |
pkey name that was resulting before). |
|---|
| 142 |
|
|---|
| 143 |
|
|---|
| 144 |
|
|---|
| 145 |
Creole 1.0.2 - April 17, 2005 |
|---|
| 146 |
----------------------------- |
|---|
| 147 |
|
|---|
| 148 |
2005-04-16 15:55:28 hlellelid |
|---|
| 149 |
|
|---|
| 150 |
* Adding timezone information to the PgSQLPreparedstatement setTime() |
|---|
| 151 |
and setTimestamp() method so that now Creole supports the 'with time zone' |
|---|
| 152 |
columns in Postgres. |
|---|
| 153 |
|
|---|
| 154 |
2005-04-16 13:27 hlellelid |
|---|
| 155 |
|
|---|
| 156 |
* Reverted PreparedStatementCommon->executeQuery() to previous signature |
|---|
| 157 |
which supports first param being FETCHMODE. |
|---|
| 158 |
|
|---|
| 159 |
2005-04-02 11:17 dlawson_mi |
|---|
| 160 |
|
|---|
| 161 |
* Optimized caching in ODBCCachedResultSet. |
|---|
| 162 |
* Added support for manual row counting in ODBCResultSet. This is helpful |
|---|
| 163 |
for ODBC drivers which don't return a valid count when odbc_num_rows() |
|---|
| 164 |
is called after a query. |
|---|
| 165 |
|
|---|
| 166 |
|
|---|
| 167 |
Creole 1.0.1 - Apr. 07, 2005 |
|---|
| 168 |
---------------------------- |
|---|
| 169 |
|
|---|
| 170 |
2005-03-29 08:44 gamr |
|---|
| 171 |
|
|---|
| 172 |
* slight rework in PreparedStatementCommon to save memory |
|---|
| 173 |
* complete rewrite of sql parser in PreparedStatementCommon, |
|---|
| 174 |
10% faster parsing |
|---|
| 175 |
|
|---|
| 176 |
2005-03-09 14:15 hlellelid |
|---|
| 177 |
|
|---|
| 178 |
* Fixed bug in PgSQLTableInfo index query. |
|---|
| 179 |
|
|---|
| 180 |
2005-03-01 07:29 micha |
|---|
| 181 |
|
|---|
| 182 |
* MySQLTableInfo: Fixed bugs in initForeignKeys(): |
|---|
| 183 |
- renamed TableInfo to MySQLTableInfo |
|---|
| 184 |
- added $this->database as first parameter of MySQLTableInfo |
|---|
| 185 |
- changed second parameter to $ftbl |
|---|
| 186 |
|
|---|
| 187 |
2005-02-25 10:47 pachanga |
|---|
| 188 |
|
|---|
| 189 |
* vendor specific optional data attribute added to ColumnInfo, |
|---|
| 190 |
DatabaseInfo, ForeignKeyInfo, PrimaryKeyInfo classes, this |
|---|
| 191 |
information can be set in constructor and retrived with |
|---|
| 192 |
getVendorSpecificInfo() method |
|---|
| 193 |
|
|---|
| 194 |
2005-02-21 11:48 pachanga |
|---|
| 195 |
|
|---|
| 196 |
* initial tests for MySQL metadata added: tests for indexes, uniques, |
|---|
| 197 |
foreign keys, vendor specific metadata |
|---|
| 198 |
* MySQL escaping added to all metadata retrieval classes |
|---|
| 199 |
* MySQL index metadata retrieval fixes(this information was loaded |
|---|
| 200 |
improperly) |
|---|
| 201 |
* isAutoIncrement attribute added to CoumnInfo, set from |
|---|
| 202 |
constructor, null by default |
|---|
| 203 |
* isUnique attribute added to IndexInfo, set from constructor, |
|---|
| 204 |
false by default |
|---|
| 205 |
* vendorSpecificInfo attribute added to |
|---|
| 206 |
IndexInfo, set from constructor, empty array by default |
|---|
| 207 |
* TableInfo can retrieve vendor specific info via getVendorSpecificInfo() |
|---|
| 208 |
method |
|---|
| 209 |
* MySQL creole-schema.sql modified, added tables for better indexes, |
|---|
| 210 |
uniques, foreign keys and vendor specific data tests |
|---|
| 211 |
|
|---|
| 212 |
2005-02-10 04:22 pachanga |
|---|
| 213 |
|
|---|
| 214 |
* MySql 'longtext' field support added |
|---|
| 215 |
|
|---|
| 216 |
2005-01-21 14:13 hlellelid |
|---|
| 217 |
|
|---|
| 218 |
* Added cross-platform support for specifying port in mssql DSN. |
|---|
| 219 |
Submitted by: Jon Whitcraft |
|---|
| 220 |
|
|---|
| 221 |
2005-01-13 09:40 micha |
|---|
| 222 |
|
|---|
| 223 |
* Fixed 'undefined value $sql'. Submitted: Martel Valgoerad |
|---|
| 224 |
|
|---|
| 225 |
2005-01-07 14:04 micha |
|---|
| 226 |
|
|---|
| 227 |
* Fixed typo in require path for PgSQLResultSetIterator. |
|---|
| 228 |
|
|---|
| 229 |
2004-12-17 04:58 micha |
|---|
| 230 |
|
|---|
| 231 |
* Submitted By: Louis Bustin |
|---|
| 232 |
- Fixed typo in initForeignKeys() |
|---|
| 233 |
- Use hasTable() and hasColumn() in initForeignKeys() |
|---|
| 234 |
|
|---|
| 235 |
2004-12-04 00:58 gamr |
|---|
| 236 |
|
|---|
| 237 |
* Added PgSQLResultSetIterator class |
|---|
| 238 |
|
|---|
| 239 |
2004-12-04 00:41 gamr |
|---|
| 240 |
|
|---|
| 241 |
* [postgres] save having a query resource result in memory twice |
|---|
| 242 |
|
|---|
| 243 |
2004-12-04 00:32 gamr |
|---|
| 244 |
|
|---|
| 245 |
* Removed deprecated reference to pg_cmdtuples. |
|---|
| 246 |
|
|---|
| 247 |
2004-12-04 00:29 gamr |
|---|
| 248 |
|
|---|
| 249 |
* Removed deprecated use of pg_exec. |
|---|
| 250 |
|
|---|
| 251 |
2004-12-03 11:54 gamr |
|---|
| 252 |
|
|---|
| 253 |
* speed optimized SQLiteResultSetIterator (20%+) |
|---|
| 254 |
|
|---|
| 255 |
2004-12-03 11:28 gamr |
|---|
| 256 |
|
|---|
| 257 |
* SQLiteResultSetIterator: fix the valid() function in the iterator |
|---|
| 258 |
so we have all of our rows, it was skipping a row every time it was |
|---|
| 259 |
called |
|---|
| 260 |
|
|---|
| 261 |
2004-11-29 08:41 micha |
|---|
| 262 |
|
|---|
| 263 |
* SQLiteResultSet: Fixed unknown variable $this->conn->connection |
|---|
| 264 |
($this->conn->getResource()) |
|---|
| 265 |
|
|---|
| 266 |
2004-11-29 08:40 micha |
|---|
| 267 |
|
|---|
| 268 |
* SQLiteTableInfo: Fixed bug in where $default variable was unknown. |
|---|
| 269 |
|
|---|
| 270 |
2004-11-28 17:03 hlellelid |
|---|
| 271 |
|
|---|
| 272 |
* Added hasTable() and hasColumn() methods to metadata classes. |
|---|
| 273 |
|
|---|
| 274 |
2004-11-28 11:24 hlellelid |
|---|
| 275 |
|
|---|
| 276 |
* MySQLTableInfo: Added fix for initPrimaryKey() so that only 'PRIMARY' |
|---|
| 277 |
keys are considered primary keys :) |
|---|
| 278 |
|
|---|
| 279 |
Submitted By: Tony Bibbs |
|---|
| 280 |
|
|---|
| 281 |
2004-11-28 11:21 hlellelid |
|---|
| 282 |
|
|---|
| 283 |
* Added implementation of initForeignKeys() for supported versions of |
|---|
| 284 |
MySQL. |
|---|
| 285 |
|
|---|
| 286 |
Submitted By: Tony Bibbs |
|---|
| 287 |
|
|---|
| 288 |
2004-11-18 16:35 dlawson_mi |
|---|
| 289 |
|
|---|
| 290 |
* ODBCPreparedStatement: Added ability to emulate prepared statements |
|---|
| 291 |
if necessary. This is triggered by a function in ODBCAdapter. |
|---|
| 292 |
|
|---|
| 293 |
2004-11-04 13:51 revjim |
|---|
| 294 |
|
|---|
| 295 |
* [Jargon] Altered all referenced of CONSTANTS in Record to use proper |
|---|
| 296 |
namespaces (i.e. UPDATE becomes Record::UPDATE) in order to remove |
|---|
| 297 |
E_NOTICE errors and provide proper operation (as the default is to |
|---|
| 298 |
interpret the constant as a string). |
|---|
| 299 |
|
|---|
| 300 |
2004-11-04 13:42 revjim |
|---|
| 301 |
|
|---|
| 302 |
* [Jargon] Altered all calls to "is_a" to use the new "instanceof" |
|---|
| 303 |
conditional so that code will execute properly under E_STRICT. |
|---|
| 304 |
|
|---|
| 305 |
2004-10-25 21:42 hlellelid |
|---|
| 306 |
|
|---|
| 307 |
* Changed setTimestamp() so that it escapes the value before inserting. |
|---|
| 308 |
|
|---|