PageRenderTime 55ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/branches/messigdp/include/Database/adodb/docs/old-changelog.htm

http://antilophpe.googlecode.com/
HTML | 822 lines | 817 code | 5 blank | 0 comment | 0 complexity | 3158a33f9d5eda38a369b5749198dd02 MD5 | raw file
Possible License(s): LGPL-2.1, LGPL-3.0, GPL-3.0

Large files files are truncated, but you can click here to view the full file

  1. <html><title>Old Changelog: ADOdb</title><body>
  2. <h3>Old Changelog</h3>
  3. </p><p><b>3.92 22 Sept 2003</b>
  4. </p><p>Added GetAssoc and CacheGetAssoc to connection object.
  5. </p><p>Removed TextMax and CharMax functions from adodb.inc.php.
  6. </p><p>HasFailedTrans() returned false when trans failed. Fixed.
  7. </p><p>Moved perf driver classes into adodb/perf/*.php.
  8. </p><p>Misc improvements to performance monitoring, including UI().
  9. </p><p>RETVAL in mssql Parameter(), we do not append @ now.
  10. </p><p>Added Param($name) to connection class, returns '?' or ":$name", for defining
  11. bind parameters portably.
  12. </p><p>LogSQL traps affected_rows() and saves its value properly now. Also fixed oci8
  13. _stmt and _affectedrows() bugs.
  14. </p><p>Session code timestamp check for oci8 works now. Formerly default NLS_DATE_FORMAT
  15. stripped off time portion. Thx to Tony Blair (tonanbarbarian#hotmail.com). Also
  16. added new $conn-&gt;datetime field to oci8, controls whether MetaType() returns
  17. 'D' ($this-&gt;datetime==false) or 'T' ($this-&gt;datetime == true) for DATE type.
  18. </p><p>Fixed bugs in adodb-cryptsession.inc.php and adodb-session-clob.inc.php.
  19. </p><p>Fixed misc bugs in adodb_key_exists, GetInsertSQL() and GetUpdateSQL().
  20. </p><p>Tuned include_once handling to reduce file-system checking overhead.
  21. </p><p><b>3.91 9 Sept 2003</b>
  22. </p><p>Only released to InterAkt
  23. </p><p>Added LogSQL() for sql logging and $ADODB_NEWCONNECTION to override factory
  24. for driver instantiation.
  25. </p><p>Added IfNull($field,$ifNull) function, thx to johnwilk#juno.com
  26. </p><p>Added portable substr support.
  27. </p><p>Now rs2html() has new parameter, $echo. Set to false to return $html instead
  28. of echoing it.
  29. </p><p><b>3.90 5 Sept 2003</b>
  30. </p><p>First beta of performance monitoring released.
  31. </p><p>MySQL supports MetaTable() masking.
  32. </p><p>Fixed key_exists() bug in adodb-lib.inc.php
  33. </p><p>Added sp_executesql Prepare() support to mssql.
  34. </p><p>Added bind support to db2.
  35. </p><p>Added swedish language file - Christian Tiberg" christian#commsoft.nu
  36. </p><p>Bug in drop index for mssql data dict fixed. Thx to Gert-Rainer Bitterlich.
  37. </p><p>Left join setting for oci8 was wrong. Thx to johnwilk#juno.com
  38. </p><p><b>3.80 27 Aug 2003</b>
  39. </p><p>Patch for PHP 4.3.3 cached recordset csv2rs() fread loop incompatibility.
  40. </p><p>Added matching mask for MetaTables. Only for oci8, mssql and postgres currently.
  41. </p><p>Rewrite of "oracle" driver connection code, merging with "oci8", by Gaetano.
  42. </p><p>Added better debugging for Smart Transactions.
  43. </p><p>Postgres DBTimeStamp() was wrongly using TO_DATE. Changed to TO_TIMESTAMP.
  44. </p><p>ADODB_FETCH_CASE check pushed to ADONewConnection to allow people to define
  45. it after including adodb.inc.php.
  46. </p><p>Added portugese (brazilian) to languages. Thx to "Levi Fukumori".
  47. </p><p>Removed arg3 parameter from Execute/SelectLimit/Cache* functions.
  48. </p><p>Execute() now accepts 2-d array as $inputarray. Also changed docs of fnExecute()
  49. to note change in sql query counting with 2-d arrays.
  50. </p><p>Added MONEY to MetaType in PostgreSQL.
  51. </p><p>Added more debugging output to CacheFlush().
  52. </p><p><b>3.72 9 Aug 2003</b>
  53. </p><p>Added qmagic($str), which is a qstr($str) that auto-checks for magic quotes
  54. and does the right thing...
  55. </p><p>Fixed CacheFlush() bug - Thx to martin#gmx.de
  56. </p><p>Walt Boring contributed MetaForeignKeys for postgres7.
  57. </p><p>_fetch() called _BlobDecode() wrongly in interbase. Fixed.
  58. </p><p>adodb_time bug fixed with dates after 2038 fixed by Jason Pell. http://phplens.com/lens/lensforum/msgs.php?id=6980
  59. </p><p><b>3.71 4 Aug 2003</b>
  60. </p><p>The oci8 driver, MetaPrimaryKeys() did not check the owner correctly when $owner
  61. == false.
  62. </p><p>Russian language file contributed by "Cyrill Malevanov" cyrill#malevanov.spb.ru.
  63. </p><p>Spanish language file contributed by "Horacio Degiorgi" horaciod#codigophp.com.
  64. </p><p>Error handling in oci8 bugfix - if there was an error in Execute(), then when
  65. calling ErrorNo() and/or ErrorMsg(), the 1st call would return the error, but
  66. the 2nd call would return no error.
  67. </p><p>Error handling in odbc bugfix. ODBC would always return the last error, even
  68. if it happened 5 queries ago. Now we reset the errormsg to '' and errorno to
  69. 0 everytime before CacheExecute() and Execute().
  70. </p><p><b>3.70 29 July 2003</b>
  71. </p><p>Added new SQLite driver. Tested on PHP 4.3 and PHP 5.
  72. </p><p>Added limited "sapdb" driver support - mainly date support.
  73. </p><p>The oci8 driver did not identify NUMBER with no defined precision correctly.
  74. </p><p>Added ADODB_FORCE_NULLS, if set, then PHP nulls are converted to SQL nulls
  75. in GetInsertSQL/GetUpdateSQL.
  76. </p><p>DBDate() and DBTimeStamp() format for postgresql had problems. Fixed.
  77. </p><p>Added tableoptions to ChangeTableSQL(). Thx to Mike Benoit.
  78. </p><p>Added charset support to postgresql. Thx to Julian Tarkhanov.
  79. </p><p>Changed OS check for MS-Windows to prevent confusion with darWIN (MacOS)
  80. </p><p>Timestamp format for db2 was wrong. Changed to yyyy-mm-dd-hh.mm.ss.nnnnnn.
  81. </p><p>adodb-cryptsession.php includes wrong. Fixed.
  82. </p><p>Added MetaForeignKeys(). Supported by mssql, odbc_mssql and oci8.
  83. </p><p>Fixed some oci8 MetaColumns/MetaPrimaryKeys bugs. Thx to Walt Boring.
  84. </p><p>adodb_getcount() did not init qryRecs to 0. Missing "WHERE" clause checking
  85. in GetUpdateSQL fixed. Thx to Sebastiaan van Stijn.
  86. </p><p>Added support for only 'VIEWS' and "TABLES" in MetaTables. From Walt Boring.
  87. </p><p>Upgraded to adodb-xmlschema.inc.php 0.0.2.
  88. </p><p>NConnect for mysql now returns value. Thx to Dennis Verspuij.
  89. </p><p>ADODB_FETCH_BOTH support added to interbase/firebird.
  90. </p><p>Czech language file contributed by Kamil Jakubovic jake#host.sk.
  91. </p><p>PostgreSQL BlobDecode did not use _connectionID properly. Thx to Juraj Chlebec.
  92. </p><p>Added some new initialization stuff for Informix. Thx to "Andrea Pinnisi" pinnisi#sysnet.it
  93. </p><p>ADODB_ASSOC_CASE constant wrong in sybase _fetch(). Fixed.
  94. </p><p><b>3.60 16 June 2003</b>
  95. </p><p>We now SET CONCAT_NULL_YIELDS_NULL OFF for odbc_mssql driver to be compat with
  96. mssql driver.
  97. </p><p>The property $emptyDate missing from connection class. Also changed 1903 to
  98. constant (TIMESTAMP_FIRST_YEAR=100). Thx to Sebastiaan van Stijn.
  99. </p><p>ADOdb speedup optimization - we now return all arrays by reference.
  100. </p><p>Now DBDate() and DBTimeStamp() now accepts the string 'null' as a parameter.
  101. Suggested by vincent.
  102. </p><p>Added GetArray() to connection class.
  103. </p><p>Added not_null check in informix metacolumns().
  104. </p><p>Connection parameters for postgresql did not work correctly when port was defined.
  105. </p><p>DB2 is now a tested driver, making adodb 100% compatible. Extensive changes
  106. to odbc driver for DB2, including implementing serverinfo() and SQLDate(), switching
  107. to SQL_CUR_USE_ODBC as the cursor mode, and lastAffectedRows and SelectLimit()
  108. fixes.
  109. </p><p>The odbc driver's FetchField() field names did not obey ADODB_ASSOC_CASE. Fixed.
  110. </p><p>Some bugs in adodb_backtrace() fixed.
  111. </p><p>Added "INT IDENTITY" type to adorecordset::MetaType() to support odbc_mssql
  112. properly.
  113. </p><p>MetaColumns() for oci8, mssql, odbc revised to support scale. Also minor revisions
  114. to odbc MetaColumns() for vfp and db2 compat.
  115. </p><p>Added unsigned support to mysql datadict class. Thx to iamsure.
  116. </p><p>Infinite loop in mssql MoveNext() fixed when ADODB_FETCH_ASSOC used. Thx to
  117. Josh R, Night_Wulfe#hotmail.com.
  118. </p><p>ChangeTableSQL contributed by Florian Buzin.
  119. </p><p>The odbc_mssql driver now sets CONCAT_NULL_YIELDS_NULL OFF for compat with
  120. mssql driver.
  121. </p>
  122. <p><b>3.50 19 May 2003</b></p>
  123. <p>Fixed mssql compat with FreeTDS. FreeTDS does not implement mssql_fetch_assoc().
  124. <p>Merged back connection and recordset code into adodb.inc.php.
  125. <p>ADOdb sessions using oracle clobs contributed by achim.gosse#ddd.de. See adodb-session-clob.php.
  126. <p>Added /s modifier to preg_match everywhere, which ensures that regex does not
  127. stop at /n. Thx Pao-Hsi Huang.
  128. <p>Fixed error in metacolumns() for mssql.
  129. <p>Added time format support for SQLDate.
  130. <p>Image => B added to metatype.
  131. <p>MetaType now checks empty($this->blobSize) instead of empty($this).
  132. <p>Datadict has beta support for informix, sybase (mapped to mssql), db2 and generic
  133. (which is a fudge).
  134. <p>BlobEncode for postgresql uses pg_escape_bytea, if available. Needed for compat
  135. with 7.3.
  136. <p>Added $ADODB_LANG, to support multiple languages in MetaErrorMsg().
  137. <p>Datadict can now parse table definition as declarative text.
  138. <p>For DataDict, oci8 autoincrement trigger missing semi-colon. Fixed.
  139. <p>For DataDict, when REPLACE flag enabled, drop sequence in datadict for autoincrement
  140. field in postgres and oci8.s
  141. <p>Postgresql defaults to template1 database if no database defined in connect/pconnect.
  142. <p>We now clear _resultid in postgresql if query fails.
  143. <p><b>3.40 19 May 2003</b></p>
  144. <p>Added insert_id for odbc_mssql.
  145. <p>Modified postgresql UpdateBlobFile() because it did not work in safe mode.
  146. <p>Now connection object is passed to raiseErrorFn as last parameter. Needed by
  147. StartTrans().
  148. <p>Added StartTrans() and CompleteTrans(). It is recommended that you do not modify
  149. transOff, but use the above functions.
  150. <p>oci8po now obeys ADODB_ASSOC_CASE settings.
  151. <p>Added virtualized error codes, using PEAR DB equivalents. Requires you to manually
  152. include adodb-error.inc.php yourself, with MetaError() and MetaErrorMsg($errno).
  153. <p>GetRowAssoc for mysql and pgsql were flawed. Fix by Ross Smith.
  154. <p>Added to datadict types I1, I2, I4 and I8. Changed datadict type 'T' to map
  155. to timestamp instead of datetime for postgresql.
  156. <p>Error handling in ExecuteSQLArray(), adodb-datadict.inc.php did not work.
  157. <p>We now auto-quote postgresql connection parameters when building connection
  158. string.
  159. <p>Added session expiry notification.
  160. <p>We now test with odbc mysql - made some changes to odbc recordset constructor.
  161. <p>MetaColumns now special cases access and other databases for odbc.
  162. <p><b>3.31 17 March 2003</b></p>
  163. <p>Added row checking for _fetch in postgres.
  164. <p>Added Interval type to MetaType for postgres.
  165. <p>Remapped postgres driver to call postgres7 driver internally.
  166. <p>Adorecordset_array::getarray() did not return array when nRows >= 0.
  167. <p>Postgresql: at times, no error message returned by pg_result_error() but error
  168. message returned in pg_last_error(). Recoded again.
  169. <p>Interbase blob's now use chunking for updateblob.
  170. <p>Move() did not set EOF correctly. Reported by Jorma T.
  171. <p>We properly support mysql timestamp fields when we are creating mysql tables
  172. using the data-dict interface.
  173. <p>Table regex includes backticks character now.
  174. <p><b>3.30 3 March 2003</b></p>
  175. <p>Added $ADODB_EXTENSION and $ADODB_COMPAT_FETCH constant.
  176. <p>Made blank1stItem configurable using syntax "value:text" in GetMenu/GetMenu2.
  177. Thx to Gabriel Birke.
  178. <p>Previously ADOdb differed from the Microsoft standard because it did not define
  179. what to set $this->fields when EOF was reached. Now at EOF, ADOdb sets $this->fields
  180. to false for all databases, which is consist with Microsoft's implementation.
  181. Postgresql and mysql have always worked this way (in 3.11 and earlier). If you
  182. are experiencing compatibility problems (and you are not using postgresql nor
  183. mysql) on upgrading to 3.30, try setting the global variables $ADODB_COUNTRECS
  184. = true (which is the default) and $ADODB_FETCH_COMPAT = true (this is a new
  185. global variable).
  186. <p>We now check both pg_result_error and pg_last_error as sometimes pg_result_error
  187. does not display anything. Iman Mayes
  188. <p> We no longer check for magic quotes gpc in Quote().
  189. <p> Misc fixes for table creation in adodb-datadict.inc.php. Thx to iamsure.
  190. <p> Time calculations use adodb_time library for all negative timestamps due to
  191. problems in Red Hat 7.3 or later. Formerly, only did this for Windows.
  192. <p> In mssqlpo, we now check if $sql in _query is a string before we change ||
  193. to +. This is to support prepared stmts.
  194. <p> Move() and MoveLast() internals changed to support to support EOF and $this->fields
  195. change.
  196. <p> Added ADODB_FETCH_BOTH support to mssql. Thx to Angel Fradejas afradejas#mediafusion.es
  197. <p> We now check if link resource exists before we run mysql_escape_string in
  198. qstr().
  199. <p> Before we flock in csv code, we check that it is not a http url.
  200. <p><b>3.20 17 Feb 2003</b></p>
  201. <p>Added new Data Dictionary classes for creating tables and indexes. Warning
  202. - this is very much alpha quality code. The API can still change. See adodb/tests/test-datadict.php
  203. for more info.
  204. <p>We now ignore $ADODB_COUNTRECS for mysql, because PHP truncates incomplete
  205. recordsets when mysql_unbuffered_query() is called a second time.
  206. <p>Now postgresql works correctly when $ADODB_COUNTRECS = false.
  207. <p>Changed _adodb_getcount to properly support SELECT DISTINCT.
  208. <p>Discovered that $ADODB_COUNTRECS=true has some problems with prepared queries
  209. - suspect PHP bug.
  210. <p>Now GetOne and GetRow run in $ADODB_COUNTRECS=false mode for better performance.
  211. <p>Added support for mysql_real_escape_string() and pg_escape_string() in qstr().
  212. <p>Added an intermediate variable for mysql _fetch() and MoveNext() to store fields,
  213. to prevent overwriting field array with boolean when mysql_fetch_array() returns
  214. false.
  215. <p>Made arrays for getinsertsql and getupdatesql case-insensitive. Suggested by
  216. Tim Uckun" tim#diligence.com
  217. <p><b>3.11 11 Feb 2003</b></p>
  218. <p>Added check for ADODB_NEVER_PERSIST constant in PConnect(). If defined, then
  219. PConnect() will actually call non-persistent Connect().
  220. <p>Modified interbase to properly work with Prepare().
  221. <p>Added $this->ibase_timefmt to allow you to change the date and time format.
  222. <p>Added support for $input_array parameter in CacheFlush().
  223. <p>Added experimental support for dbx, which was then removed when i found that
  224. it was slower than using native calls.
  225. <p>Added MetaPrimaryKeys for mssql and ibase/firebird.
  226. <p>Added new $trim parameter to GetCol and CacheGetCol
  227. <p>Uses updated adodb-time.inc.php 0.06.
  228. <p><b>3.10 27 Jan 2003</b>
  229. <p>Added adodb_date(), adodb_getdate(), adodb_mktime() and adodb-time.inc.php.
  230. <p>For interbase, added code to handle unlimited number of bind parameters. From
  231. Daniel Hasan daniel#hasan.cl.
  232. <p>Added BlobDecode and UpdateBlob for informix. Thx to Fernando Ortiz.
  233. <p>Added constant ADODB_WINDOWS. If defined, means that running on Windows.
  234. <p>Added constant ADODB_PHPVER which stores php version as a hex num. Removed
  235. $ADODB_PHPVER variable.
  236. <p>Felho Bacsi reported a minor white-space regular expression problem in GetInsertSQL.
  237. <p>Modified ADO to use variant to store _affectedRows
  238. <p>Changed ibase to use base class Replace(). Modified base class Replace() to
  239. support ibase.
  240. <p>Changed odbc to auto-detect when 0 records returned is wrong due to bad odbc
  241. drivers.
  242. <p>Changed mssql to use datetimeconvert ini setting only when 4.30 or later (does
  243. not work in 4.23).
  244. <p>ExecuteCursor($stmt, $cursorname, $params) now accepts a new $params array
  245. of additional bind parameters -- William Lovaton walovaton#yahoo.com.mx.
  246. <p>Added support for sybase_unbuffered_query if ADODB_COUNTRECS == false. Thx
  247. to chuck may.
  248. <p>Fixed FetchNextObj() bug. Thx to Jorma Tuomainen.
  249. <p>We now use SCOPE_IDENTITY() instead of @@IDENTITY for mssql - thx to marchesini#eside.it
  250. <p>Changed postgresql movenext logic to prevent illegal row number from being
  251. passed to pg_fetch_array().
  252. <p>Postgresql initrs bug found by "Bogdan RIPA" bripa#interakt.ro $f1 accidentally
  253. named $f
  254. <p><b>3.00 6 Jan 2003</b>
  255. <p>Fixed adodb-pear.inc.php syntax error.
  256. <p>Improved _adodb_getcount() to use SELECT COUNT(*) FROM ($sql) for languages
  257. that accept it.
  258. <p>Fixed _adodb_getcount() caching error.
  259. <p>Added sql to retrive table and column info for odbc_mssql.
  260. <p><strong>2.91 3 Jan 2003</strong>
  261. <p>Revised PHP version checking to use $ADODB_PHPVER with legal values 0x4000,
  262. 0x4050, 0x4200, 0x4300.
  263. <p>Added support for bytea fields and oid blobs in postgres by allowing BlobDecode()
  264. to detect and convert non-oid fields. Also added BlobEncode to postgres when
  265. you want to encode oid blobs.
  266. <p>Added blobEncodeType property for connections to inform phpLens what encoding
  267. method to use for blobs.
  268. <p>Added BlobDecode() and BlobEncode() to base ADOConnection class.
  269. <p>Added umask() to _gencachename() when creating directories.
  270. <p>Added charPage for ado drivers, so you can set the code page.
  271. <pre>
  272. $conn->charPage = CP_UTF8;
  273. $conn->Connect($dsn);
  274. </pre>
  275. <p>Modified _seek in mysql to check for num rows=0.
  276. <p>Added to metatypes new informix types for IDS 9.30. Thx Fernando Ortiz.
  277. <p>_maxrecordcount returned in CachePageExecute $rsreturn
  278. <p>Fixed sybase cacheselectlimit( ) problems
  279. <p>MetaColumns() max_length should use precision for types X and C for ms access.
  280. Fixed.
  281. <p>Speedup of odbc non-SELECT sql statements.
  282. <p>Added support in MetaColumns for Wide Char types for ODBC. We halve max_length
  283. if unicode/wide char.
  284. <p>Added 'B' to types handled by GetUpdateSQL/GetInsertSQL.
  285. <p>Fixed warning message in oci8 driver with $persist variable when using PConnect.
  286. <p><b>2.90 11 Dec 2002</b>
  287. <p>Mssql and mssqlpo and oci8po now support ADODB_ASSOC_CASE.
  288. <p>Now MetaType() can accept a field object as the first parameter.
  289. <p>New $arr = $db-&gt;ServerInfo( ) function. Returns $arr['description'] which
  290. is the string description, and $arr['version'].
  291. <p>PostgreSQL and MSSQL speedups for insert/updates.
  292. <p> Implemented new SetFetchMode() that removes the need to use $ADODB_FETCH_MODE.
  293. Each connection has independant fetchMode.
  294. <p>ADODB_ASSOC_CASE now defaults to 2, use native defaults. This is because we
  295. would break backward compat for too many applications otherwise.
  296. <p>Patched encrypted sessions to use replace()
  297. <p>The qstr function supports quoting of nulls when escape character is \
  298. <p>Rewrote bits and pieces of session code to check for time synch and improve
  299. reliability.
  300. <p>Added property ADOConnection::hasTransactions = true/false;
  301. <p>Added CreateSequence and DropSequence functions
  302. <p>Found misplaced MoveNext() in adodb-postgres.inc.php. Fixed.
  303. <p>Sybase SelectLimit not reliable because 'set rowcount' not cached - fixed.
  304. <p>Moved ADOConnection to adodb-connection.inc.php and ADORecordSet to adodb-recordset.inc.php.
  305. This allows us to use doxygen to generate documentation. Doxygen doesn't like
  306. the classes in the main adodb.inc.php file for some mysterious reason.
  307. <p><b>2.50, 14 Nov 2002</b>
  308. <p>Added transOff and transCnt properties for disabling (transOff = true) and
  309. tracking transaction status (transCnt>0).
  310. <p>Added inputarray handling into _adodb_pageexecute_all_rows - "Ross Smith" RossSmith#bnw.com.
  311. <p>Fixed postgresql inconsistencies in date handling.
  312. <p>Added support for mssql_fetch_assoc.
  313. <p>Fixed $ADODB_FETCH_MODE bug in odbc MetaTables() and MetaPrimaryKeys().
  314. <p>Accidentally declared UnixDate() twice, making adodb incompatible with php
  315. 4.3.0. Fixed.
  316. <p>Fixed pager problems with some databases that returned -1 for _currentRow on
  317. MoveLast() by switching to MoveNext() in adodb-lib.inc.php.
  318. <p>Also fixed uninited $discard in adodb-lib.inc.php.
  319. <p><b>2.43, 25 Oct 2002</b></p>
  320. Added ADODB_ASSOC_CASE constant to better support ibase and odbc field names.
  321. <p>Added support for NConnect() for oracle OCINLogin.
  322. <p>Fixed NumCols() bug.
  323. <p>Changed session handler to use Replace() on write.
  324. <p>Fixed oci8 SelectLimit aggregate function bug again.
  325. <p>Rewrote pivoting code.
  326. <p><b>2.42, 4 Oct 2002</b></p>
  327. <p>Fixed ibase_fetch() problem with nulls. Also interbase now does automatic blob
  328. decoding, and is backward compatible. Suggested by Heinz Hombergs heinz#hhombergs.de.
  329. <p>Fixed postgresql MoveNext() problems when called repeatedly after EOF. Also
  330. suggested by Heinz Hombergs.
  331. <p>PageExecute() does not rewrite queries if SELECT DISTINCT is used. Requested
  332. by hans#velum.net
  333. <p>Added additional fixes to oci8 SelectLimit handling with aggregate functions
  334. - thx to Christian Bugge for reporting the problem.
  335. <p><b>2.41, 2 Oct 2002</b></p>
  336. <p>Fixed ADODB_COUNTRECS bug in odbc. Thx to Joshua Zoshi jzoshi#hotmail.com.
  337. <p>Increased buffers for adodb-csvlib.inc.php for extremely long sql from 8192
  338. to 32000.
  339. <p>Revised pivottable.inc.php code. Added better support for aggregate fields.
  340. <p>Fixed mysql text/blob types problem in MetaTypes base class - thx to horacio
  341. degiorgi.
  342. <p>Added SQLDate($fmt,$date) function, which allows an sql date format string
  343. to be generated - useful for group by's.
  344. <p>Fixed bug in oci8 SelectLimit when offset>100.
  345. <p><b>2.40 4 Sept 2002</b></p>
  346. <p>Added new NLS_DATE_FORMAT property to oci8. Suggested by Laurent NAVARRO ln#altidev.com
  347. <p>Now use bind parameters in oci8 selectlimit for better performance.
  348. <p>Fixed interbase replaceQuote for dialect != 1. Thx to "BEGUIN Pierre-Henri
  349. - INFOCOB" phb#infocob.com.
  350. <p>Added white-space check to QA.
  351. <p>Changed unixtimestamp to support fractional seconds (we always round down/floor
  352. the seconds). Thanks to beezly#beezly.org.uk.
  353. <p>Now you can set the trigger_error type your own user-defined type in adodb-errorhandler.inc.php.
  354. Suggested by Claudio Bustos clbustos#entelchile.net.
  355. <p>Added recordset filters with rsfilter.inc.php.
  356. <p>$conn->_rs2rs does not create a new recordset when it detects it is of type
  357. array. Some trickery there as there seems to be a bug in Zend Engine
  358. <p>Added render_pagelinks to adodb-pager.inc.php. Code by "Pablo Costa" pablo#cbsp.com.br.
  359. <p>MetaType() speedup in adodb.inc.php by using hashing instead of switch. Best
  360. performance if constant arrays are supported, as they are in PHP5.
  361. <p>adodb-session.php now updates only the expiry date if the crc32 check indicates
  362. that the data has not been modified.
  363. <p><b>2.31 20 Aug 2002</b></p>
  364. <p>Made changes to pivottable.inc.php due to daniel lucuzaeu's suggestions (we sum the pivottable column if desired).
  365. <p>Fixed ErrorNo() in postgres so it does not depend on _errorMsg property.
  366. <p>Robert Tuttle added support for oracle cursors. See ExecuteCursor().
  367. <p>Fixed Replace() so it works with mysql when updating record where data has not changed. Reported by
  368. Cal Evans (cal#calevans.com).
  369. <p><b>2.30 1 Aug 2002</b></p>
  370. <p>Added pivottable.inc.php. Thanks to daniel.lucazeau#ajornet.com for the original
  371. concept.
  372. <p>Added ADOConnection::outp($msg,$newline) to output error and debugging messages. Now
  373. you can override this using the ADODB_OUTP constant and use your own output handler.
  374. <p>Changed == to === for 'null' comparison. Reported by ericquil#yahoo.com
  375. <p>Fixed mssql SelectLimit( ) bug when distinct used.
  376. <p><b>2.30 1 Aug 2002</b></p>
  377. <p>New GetCol() and CacheGetCol() from ross#bnw.com that returns the first field as a 1 dim array.
  378. <p>We have an empty recordset, but RecordCount() could return -1. Fixed. Reported by "Jonathan Polansky" jonathan#polansky.com.
  379. <p>We now check for session variable changes using strlen($sessval).crc32($sessval).
  380. Formerly we only used crc32().
  381. <p>Informix SelectLimit() problem with $ADODB_COUNTRECS fixed.
  382. <p>Fixed informix SELECT FIRST x DISTINCT, and not SELECT DISTINCT FIRST x - reported by F Riosa
  383. <p>Now default adodb error handlers ignores error if @ used.
  384. <p>If you set $conn->autoRollback=true, we auto-rollback persistent connections for odbc, mysql, oci8, mssql.
  385. Default for autoRollback is false. No need to do so for postgres.
  386. As interbase requires a transaction id (what a flawed api), we don't do it for interbase.
  387. <p>Changed PageExecute() to use non-greedy preg_match when searching for "FROM" keyword.
  388. <p><b>2.20 9 July 2002</b></p>
  389. <p>Added CacheGetOne($secs2cache,$sql), CacheGetRow($secs2cache,$sql), CacheGetAll($secs2cache,$sql).
  390. <p>Added $conn->OffsetDate($dayFraction,$date=false) to generate sql that calcs
  391. date offsets. Useful for scheduling appointments.
  392. <p>Added connection properties: leftOuter, rightOuter that hold left and right
  393. outer join operators.
  394. <p>Added connection property: ansiOuter to indicate whether ansi outer joins supported.
  395. <p>New driver <i>mssqlpo</i>, the portable mssql driver, which converts string
  396. concat operator from || to +.
  397. <p>Fixed ms access bug - SelectLimit() did not support ties - fixed.
  398. <p>Karsten Kraus (Karsten.Kraus#web.de), contributed error-handling code to ADONewConnection.
  399. Unfortunately due to backward compat problems, had to rollback most of the changes.
  400. <p>Added new parameter to GetAssoc() to allow returning an array of key-value pairs,
  401. ignoring any additional columns in the recordset. Off by default.
  402. <p>Corrected mssql $conn->sysDate to return only date using convert().
  403. <p>CacheExecute() improved debugging output.
  404. <p>Changed rs2html() so newlines are converted to BR tags. Also optimized rs2html() based
  405. on feedback by "Jerry Workman" jerry#mtncad.com.
  406. <p>Added support for Replace() with Interbase, using DELETE and INSERT.
  407. <p>Some minor optimizations (mostly removing & references when passing arrays).
  408. <p>Changed GenID() to allows id's larger than the size of an integer.
  409. <p>Added force_session property to oci8 for better updateblob() support.
  410. <p>Fixed PageExecute() which did not work properly with sql containing GROUP BY.
  411. <p><b>2.12 12 June 2002</b></p>
  412. <p>Added toexport.inc.php to export recordsets in CSV and tab-delimited format.
  413. <p>CachePageExecute() does not work - fixed - thx John Huong.
  414. <p>Interbase aliases not set properly in FetchField() - fixed. Thx Stefan Goethals.
  415. <p>Added cache property to adodb pager class. The number of secs to cache recordsets.
  416. <p>SQL rewriting bug in pageexecute() due to skipping of newlines due to missing /s modifier. Fixed.
  417. <p>Max size of cached recordset due to a bug was 256000 bytes. Fixed.
  418. <p>Speedup of 1st invocation of CacheExecute() by tuning code.
  419. <p>We compare $rewritesql with $sql in pageexecute code in case of rewrite failure.
  420. <p><b>2.11 7 June 2002</b></p>
  421. <p>Fixed PageExecute() rewrite sql problem - COUNT(*) and ORDER BY don't go together with
  422. mssql, access and postgres. Thx to Alexander Zhukov alex#unipack.ru
  423. <p>DB2 support for CHARACTER type added - thx John Huong huongch#bigfoot.com
  424. <p>For ado, $argProvider not properly checked. Fixed - kalimero#ngi.it
  425. <p>Added $conn->Replace() function for update with automatic insert if the record does not exist.
  426. Supported by all databases except interbase.
  427. <p><b>2.10 4 June 2002</b></p>
  428. <p>Added uniqueSort property to indicate mssql ORDER BY cols must be unique.
  429. <p>Optimized session handler by crc32 the data. We only write if session data has changed.
  430. <p>adodb_sess_read in adodb-session.php now returns ''correctly - thanks to Jorma Tuomainen, webmaster#wizactive.com
  431. <p>Mssql driver did not throw EXECUTE errors correctly because ErrorMsg() and ErrorNo() called in wrong order.
  432. Pointed out by Alexios Fakos. Fixed.
  433. <p>Changed ado to use client cursors. This fixes BeginTran() problems with ado.
  434. <p>Added handling of timestamp type in ado.
  435. <p>Added to ado_mssql support for insert_id() and affected_rows().
  436. <p>Added support for mssql.datetimeconvert=0, available since php 4.2.0.
  437. <p>Made UnixDate() less strict, so that the time is ignored if present.
  438. <p>Changed quote() so that it checks for magic_quotes_gpc.
  439. <p>Changed maxblobsize for odbc to default to 64000.
  440. <p><b>2.00 13 May 2002</b></p>
  441. <p>Added drivers <i>informix72</i> for pre-7.3 versions, and <i>oci805</i> for
  442. oracle 8.0.5, and postgres64 for postgresql 6.4 and earlier. The postgres and postgres7 drivers
  443. are now identical.
  444. <p>Interbase now partially supports ADODB_FETCH_BOTH, by defaulting to ASSOC mode.
  445. <p>Proper support for blobs in mssql. Also revised blob support code
  446. is base class. Now UpdateBlobFile() calls UpdateBlob() for consistency.
  447. <p>Added support for changed odbc_fetch_into api in php 4.2.0
  448. with $conn-&gt;_has_stupid_odbc_fetch_api_change.
  449. <p>Fixed spelling of tablock locking hint in GenID( ) for mssql.
  450. <p>Added RowLock( ) to several databases, including oci8, informix, sybase, etc.
  451. Fixed where error in mssql RowLock().
  452. <p>Added sysDate and sysTimeStamp properties to most database drivers. These are the sql
  453. functions/constants for that database that return the current date and current timestamp, and
  454. are useful for portable inserts and updates.
  455. <p>Support for RecordCount() caused date handling in sybase and mssql to break.
  456. Fixed, thanks to Toni Tunkkari, by creating derived classes for ADORecordSet_array for
  457. both databases. Generalized using arrayClass property. Also to support RecordCount(),
  458. changed metatype handling for ado drivers. Now the type returned in FetchField
  459. is no longer a number, but the 1-char data type returned by MetaType.
  460. At the same time, fixed a lot of date handling. Now mssql support dmy and mdy date formats.
  461. Also speedups in sybase and mssql with preg_match and ^ in date/timestamp handling.
  462. Added support in sybase and mssql for 24 hour clock in timestamps (no AM/PM).
  463. <p>Extensive revisions to informix driver - thanks to Samuel CARRIERE samuel_carriere#hotmail.com
  464. <p>Added $ok parameter to CommitTrans($ok) for easy rollbacks.
  465. <p>Fixed odbc MetaColumns and MetaTables to save and restore $ADODB_FETCH_MODE.
  466. <p>Some odbc drivers did not call the base connection class constructor. Fixed.
  467. <p>Fixed regex for GetUpdateSQL() and GetInsertSQL() to support more legal character combinations.
  468. <p><b>1.99 21 April 2002</b></p>
  469. <p>Added emulated RecordCount() to all database drivers if $ADODB_COUNTRECS = true
  470. (which it is by default). Inspired by Cristiano Duarte (cunha17#uol.com.br).
  471. <p>Unified stored procedure support for mssql and oci8. Parameter() and PrepareSP()
  472. functions implemented.
  473. <p>Added support for SELECT FIRST in informix, modified hasTop property to support
  474. this.
  475. <p>Changed csv driver to handle updates/deletes/inserts properly (when Execute() returns true).
  476. Bind params also work now, and raiseErrorFn with csv driver. Added csv driver to QA process.
  477. <p>Better error checking in oci8 UpdateBlob() and UpdateBlobFile().
  478. <p>Added TIME type to MySQL - patch by Manfred h9125297#zechine.wu-wien.ac.at
  479. <p>Prepare/Execute implemented for Interbase/Firebird
  480. <p>Changed some regular expressions to be anchored by /^ $/ for speed.
  481. <p>Added UnixTimeStamp() and UnixDate() to ADOConnection(). Now these functions
  482. are in both ADOConnection and ADORecordSet classes.
  483. <p>Empty recordsets were not cached - fixed.
  484. <p>Thanks to Gaetano Giunta (g.giunta#libero.it) for the oci8 code review. We
  485. didn't agree on everything, but i hoped we agreed to disagree!
  486. <p><b>1.90 6 April 2002</b></p>
  487. <p>Now all database drivers support fetch modes ADODB_FETCH_NUM and ADODB_FETCH_ASSOC, though
  488. still not fully tested. Eg. Frontbase, Sybase, Informix.
  489. <p>NextRecordSet() support for mssql. Contributed by "Sven Axelsson" sven.axelsson#bokochwebb.se
  490. <p>Added blob support for SQL Anywhere. Contributed by Wade Johnson wade#wadejohnson.de
  491. <p>Fixed some security loopholes in server.php. Server.php also supports fetch mode.
  492. <p>Generalized GenID() to support odbc and mssql drivers. Mssql no longer generates GUID's.
  493. <p>Experimental RowLock($table,$where) for mssql.
  494. <p>Properly implemented Prepare() in oci8 and ODBC.
  495. <p>Added Bind() support to oci8 to support Prepare().
  496. <p>Improved error handler. Catches CacheExecute() and GenID() errors now.
  497. <p>Now if you are running php from the command line, debugging messages do not output html formating.
  498. Not 100% complete, but getting there.
  499. <p><b>1.81 22 March 2002</b></p>
  500. <p>Restored default $ADODB_FETCH_MODE = ADODB_FETCH_DEFAULT for backward compatibility.
  501. <p>SelectLimit for oci8 improved - Our FIRST_ROWS optimization now does not overwrite existing hint.
  502. <p>New Sybase SQL Anywhere driver. Contributed by Wade Johnson wade#wadejohnson.de
  503. <p><b>1.80 15 March 2002</b></p>
  504. <p>Redesigned directory structure of ADOdb files. Added new driver directory where
  505. all database drivers reside.
  506. <p>Changed caching algorithm to create subdirectories. Now we scale better.
  507. <p>Informix driver now supports insert_id(). Contribution by "Andrea Pinnisi" pinnisi#sysnet.it
  508. <p>Added experimental ISO date and FetchField support for informix.
  509. <p>Fixed a quoting bug in Execute() with bind parameters, causing problems with blobs.
  510. <p>Mssql driver speedup by 10-15%.
  511. <p>Now in CacheExecute($secs2cache,$sql,...), $secs2cache is optional. If missing, it will
  512. take the value defined in $connection->cacheSecs (default is 3600 seconds). Note that
  513. CacheSelectLimit(), the secs2cache is still compulsory - sigh.
  514. <p>Sybase SQL Anywhere driver (using ODBC) contributed by Wade Johnson wade#wadejohnson.de
  515. <p><b>1.72 8 March 2002</b></p>
  516. <p>Added @ when returning Fields() to prevent spurious error - "Michael William Miller" mille562#pilot.msu.edu
  517. <p>MetaDatabases() for postgres contributed by Phil pamelant#nerim.net
  518. <p>Mitchell T. Young (mitch#youngfamily.org) contributed informix driver.
  519. <p>Fixed rs2html() problem. I cannot reproduce, so probably a problem with pre PHP 4.1.0 versions,
  520. when supporting new ADODB_FETCH_MODEs.
  521. <p>Mattia Rossi (mattia#technologist.com) contributed BlobDecode() and UpdateBlobFile() for postgresql
  522. using the postgres specific pg_lo_import()/pg_lo_open() - i don't use them but hopefully others will
  523. find this useful. See <a href="http://phplens.com/lens/lensforum/msgs.php?id=1262">this posting</a>
  524. for an example of usage.
  525. <p>Added UpdateBlobFile() for uploading files to a database.
  526. <p>Made UpdateBlob() compatible with oci8po driver.
  527. <p>Added noNullStrings support to oci8 driver. Oracle changes all ' ' strings to nulls,
  528. so you need to set strings to ' ' to prevent the nullifying of strings. $conn->noNullStrings = true;
  529. will do this for you automatically. This is useful when you define a char column as NOT NULL.
  530. <p>Fixed UnixTimeStamp() bug - wasn't setting minutes and seconds properly. Patch from Agusti Fita i Borrell agusti#anglatecnic.com.
  531. <p>Toni Tunkkari added patch for sybase dates. Problem with spaces in day part of date fixed.
  532. <p><b>1.71 18 Jan 2002</b></p>
  533. <p>Sequence start id support. Now $conn->Gen_ID('seqname', 50) to start sequence from 50.
  534. <p>CSV driver fix for selectlimit, from Andreas - akaiser#vocote.de.
  535. <P>Gam3r spotted that a global variable was undefined in the session handler.
  536. <p>Mssql date regex had error. Fixed - reported by Minh Hoang vb_user#yahoo.com.
  537. <p>DBTimeStamp() and DBDate() now accept iso dates and unix timestamps. This means
  538. that the PostgreSQL handling of dates in GetInsertSQL() and GetUpdateSQL() can
  539. be removed. Also if these functions are passed '' or null or false, we return a SQL null.
  540. <p>GetInsertSQL() and GetUpdateSQL() now accept a new parameter, $magicq to
  541. indicate whether quotes should be inserted based on magic quote settings - suggested by
  542. dj#4ict.com.
  543. <p>Reformated docs slightly based on suggestions by Chris Small.
  544. <p><b>1.65 28 Dec 2001</b></p>
  545. <p>Fixed borland_ibase class naming bug.
  546. <p>Now instead of using $rs->fields[0] internally, we use reset($rs->fields) so
  547. that we are compatible with ADODB_FETCH_ASSOC mode. Reported by Nico S.
  548. <p>Changed recordset constructor and _initrs() for oci8 so that it returns the field definitions even
  549. if no rows in the recordset. Reported by Rick Hickerson (rhickers#mv.mv.com).
  550. <p>Improved support for postgresql in GetInsertSQL and GetUpdateSQL by
  551. "mike" mike#partner2partner.com and "Ryan Bailey" rebel#windriders.com
  552. <p><b>1.64 20 Dec 2001</b></p>
  553. <p>Danny Milosavljevic &lt;danny.milo#gmx.net> added some patches for MySQL error handling
  554. and displaying default values.
  555. <p>Fixed some ADODB_FETCH_BOTH inconsistencies in odbc and interbase.
  556. <p>Added more tests to test suite to cover ADODB_FETCH_* and ADODB_ERROR_HANDLER.
  557. <p>Added firebird (ibase) driver
  558. <p>Added borland_ibase driver for interbase 6.5
  559. <p><b>1.63 13 Dec 2001</b></p>
  560. Absolute to the adodb-lib.inc.php file not set properly. Fixed.<p>
  561. <p><b>1.62 11 Dec 2001</b></p>
  562. <p>Major speedup of ADOdb for low-end web sites by reducing the php code loading and compiling
  563. cycle. We conditionally compile not so common functions.
  564. Moved csv code to adodb-csvlib.inc.php to reduce adodb.inc.php parsing. This file
  565. is loaded only when the csv/proxy driver is used, or CacheExecute() is run.
  566. Also moved PageExecute(), GetSelectSQL() and GetUpdateSQL() core code to adodb-lib.inc.php.
  567. This reduced the 70K main adodb.inc.php file to 55K, and since at least 20K of the file
  568. is comments, we have reduced 50K of code in adodb.inc.php to 35K. There
  569. should be 35% reduction in memory and thus 35% speedup in compiling the php code for the
  570. main adodb.inc.php file.
  571. <p>Highly tuned SelectLimit() for oci8 for massive speed improvements on large files.
  572. Selecting 20 rows starting from the 20,000th row of a table is now 7 times faster.
  573. Thx to Tomas V V Cox.
  574. <p>Allow . and # in table definitions in GetInsertSQL and GetUpdateSQL.
  575. See ADODB_TABLE_REGEX constant. Thx to Ari Kuorikoski.
  576. <p>Added ADODB_PREFETCH_ROWS constant, defaulting to 10. This determines the number
  577. of records to prefetch in a SELECT statement. Only used by oci8.</p>
  578. <p>Added high portability Oracle class called oci8po. This uses ? for bind variables, and
  579. lower cases column names.</p>
  580. <p>Now all database drivers support $ADODB_FETCH_MODE, including interbase, ado, and odbc:
  581. ADODB_FETCH_NUM and ADODB_FETCH_ASSOC. ADODB_FETCH_BOTH is not fully implemented for all
  582. database drivers.
  583. <p><b>1.61 Nov 2001</b></p>
  584. <p>Added PO_RecordCount() and PO_Insert_ID(). PO stands for portable. Pablo Roca
  585. [pabloroca#mvps.org]</p>
  586. <p>GenID now returns 0 if not available. Safer is that you should check $conn->hasGenID
  587. for availability.</p>
  588. <p>M'soft ADO we now correctly close recordset in _close() peterd#telephonetics.co.uk</p>
  589. <p>MSSQL now supports GenID(). It generates a 16-byte GUID from mssql newid()
  590. function.</p>
  591. <p>Changed ereg_replace to preg_replace in SelectLimit. This is a fix for mssql.
  592. Ereg doesn't support t or n! Reported by marino Carlos xaplo#postnuke-espanol.org</p>
  593. <p>Added $recordset->connection. This is the ADOConnection object for the recordset.
  594. Works with cached and normal recordsets. Surprisingly, this had no affect on performance!</p>
  595. <p><b>1.54 15 Nov 2001</b></p>
  596. Fixed some more bugs in PageExecute(). I am getting sick of bug in this and will have to
  597. reconsider my QA here. The main issue is that I don't use PageExecute() and
  598. to check whether it is working requires a visual inspection of the html generated currently.
  599. It is possible to write a test script but it would be quite complicated :(
  600. <p> More speedups of SelectLimit() for DB2, Oci8, access, vfp, mssql.
  601. <p>
  602. <p><b>1.53 7 Nov 2001</b></p>
  603. Added support for ADODB_FETCH_ASSOC for ado and odbc drivers.<p>
  604. Tuned GetRowAssoc(false) in postgresql and mysql.<p>
  605. Stephen Van Dyke contributed ADOdb icon, accepted with some minor mods.<p>
  606. Enabled Affected_Rows() for postgresql<p>
  607. Speedup for Concat() using implode() - Benjamin Curtis ben_curtis#yahoo.com<p>
  608. Fixed some more bugs in PageExecute() to prevent infinite loops<p>
  609. <p><b>1.52 5 Nov 2001</b></p>
  610. Spelling error in CacheExecute() caused it to fail. $ql should be $sql in line 625!<p>
  611. Added fixes for parsing [ and ] in GetUpdateSQL().
  612. <p><b>1.51 5 Nov 2001</b></p>
  613. <p>Oci8 SelectLimit() speedup by using OCIFetch().
  614. <p>Oci8 was mistakenly reporting errors when $db->debug = true.
  615. <p>If a connection failed with ODBC, it was not correctly reported - fixed.
  616. <p>_connectionID was inited to -1, changed to false.
  617. <p>Added $rs->FetchRow(), to simplify API, ala PEAR DB
  618. <p>Added PEAR DB compat mode, which is still faster than PEAR! See adodb-pear.inc.php.
  619. <p>Removed postgres pconnect debugging statement.
  620. <p><b>1.50 31 Oct 2001</b></p>
  621. <p>ADOdbConnection renamed to ADOConnection, and ADOdbFieldObject to ADOFieldObject.
  622. <p>PageExecute() now checks for empty $rs correctly, and the errors in the docs on this subject have been fixed.
  623. <p>odbc_error() does not return 6 digit error correctly at times. Implemented workaround.
  624. <p>Added ADORecordSet_empty class. This will speedup INSERTS/DELETES/UPDATES because the return
  625. object created is much smaller.
  626. <p>Added Prepare() to odbc, and oci8 (but doesn't work properly for oci8 still).
  627. <p>Made pgsql a synonym for postgre7, and changed SELECT LIMIT to use OFFSET for compat with
  628. postgres 7.2.
  629. <p>Revised adodb-cryptsession.php thanks to Ari.
  630. <p>Set resources to false on _close, to force freeing of resources.
  631. <p>Added adodb-errorhandler.inc.php, adodb-errorpear.inc.php and raiseErrorFn on Freek's urging.
  632. <p>GetRowAssoc($toUpper=true): $toUpper added as default.
  633. <p>Errors when connecting to a database were not captured formerly. Now we do it correctly.
  634. <p><b>1.40 19 September 2001</b></p>
  635. <p>PageExecute() to implement page scrolling added. Code and idea by Iv&aacute;n Oliva.</p>
  636. <p>Some minor postgresql fixes.</p>
  637. <p>Added sequence support using GenID() for postgresql, oci8, mysql, interbase.</p>
  638. <p>Added UpdateBlob support for interbase (untested).</p>
  639. <p>Added encrypted sessions (see adodb-cryptsession.php). By Ari Kuorikoski &lt;kuoriari#finebyte.com></p>
  640. <p><b>1.31 21 August 2001</b></p>
  641. <p>Many bug fixes thanks to "GaM3R (Cameron)" &lt;gamr#outworld.cx>. Some session changes due to Gam3r.
  642. <p>Fixed qstr() to quote also.
  643. <p>rs2html() now pretty printed.
  644. <p>Jonathan Younger jyounger#unilab.com contributed the great idea GetUpdateSQL() and GetInsertSQL() which
  645. generates SQL to update and insert into a table from a recordset. Modify the recordset fields
  646. array, then can this function to generate the SQL (the SQL is not executed).
  647. <p>"Nicola Fankhauser" &lt;nicola.fankhauser#couniq.com> found some bugs in date handling for mssql.</p>
  648. <p>Added minimal Oracle support for LOBs. Still under development.</p>
  649. Added $ADODB_FETCH_MODE so you can control whether recordsets return arrays which are
  650. numeric, associative or both. This is a global variable you set. Currently only MySQL, Oci8, Postgres
  651. drivers support this.
  652. <p>PostgreSQL properly closes recordsets now. Reported by several people.
  653. <p>
  654. Added UpdateBlob() for Oracle. A hack to make it easier to save blobs.
  655. <p>
  656. Oracle timestamps did not display properly. Fixed.
  657. <p><b>1.20 6 June 2001</b></p>
  658. <p>Now Oracle can connect using tnsnames.ora or server and service name</p>
  659. <p>Extensive Oci8 speed optimizations.
  660. Oci8 code revised to support variable binding, and /*+ FIRST_ROWS */ hint.</p>
  661. <p>Worked around some 4.0.6 bugs in odbc_fetch_into().</p>
  662. <p>Paolo S. Asioli paolo.asioli#libero.it suggested GetRowAssoc().</p>
  663. <p>Escape quotes for oracle wrongly set to '. Now '' is used.</p>
  664. <p>Variable binding now works in ODBC also.</p>
  665. <p>Jumped to version 1.20 because I don't like 13 :-)</p>
  666. <p><b>1.12 6 June 2001</b></p>
  667. <p>Changed $ADODB_DIR to ADODB_DIR constant to plug a security loophole.</p>
  668. <p>Changed _close() to close persistent connections also. Prevents connection leaks.</p>
  669. <p>Major revision of oracle and oci8 drivers.
  670. Added OCI_RETURN_NULLS and OCI_RETURN_LOBS to OCIFetchInto(). BLOB, CLOB and VARCHAR2 recognition
  671. in MetaType() improved. MetaColumns() returns columns in correct sort order.</p>
  672. <p>Interbase timestamp input format was wrong. Fixed.</p>
  673. <p><b>1.11 20 May 2001</b></p>
  674. <p>Improved file locking for Windows.</p>
  675. <p>Probabilistic flushing of cache to avoid avalanche updates when cache timeouts.</p>
  676. <p>Cached recordset timestamp not saved in some scenarios. Fixed.</p>
  677. <p><b>1.10 19 May 2001</b></p>
  678. <p>Added caching. CacheExecute() and CacheSelectLimit().
  679. <p>Added csv driver. See <a href="http://php.weblogs.com/adodb_csv">http://php.weblogs.com/ADODB_csv</a>.
  680. <p>Fixed SelectLimit(), SELECT TOP not working under certain circumstances.
  681. <p>Added better Frontbase support of MetaTypes() by Frank M. Kromann.
  682. <p><b>1.01 24 April 2001</b></p>
  683. <p>Fixed SelectLimit bug. not quoted properly.
  684. <p>SelectLimit: SELECT TOP -1 * FROM TABLE not support by Microsoft. Fixed.</p>
  685. <p>GetMenu improved by glen.davies#cce.ac.nz to support multiple hilited items<p>
  686. <p>FetchNextObject() did not work with only 1 record returned. Fixed bug reported by $tim#orotech.net</p>
  687. <p>Fixed mysql field max_length problem. Fix suggested by Jim Nicholson (jnich#att.com)</p>
  688. <p><b>1.00 16 April 2001</b></p>
  689. <p>Given some brilliant suggestions on how to simplify ADOdb by akul. You no longer need to
  690. setup $ADODB_DIR yourself, and ADOLoadCode() is automatically called by ADONewConnection(),
  691. simplifying the startup code.</p>
  692. <p>FetchNextObject() added. Suggested by Jakub Marecek. This makes FetchObject() obsolete, as
  693. this is more flexible and powerful.</p>
  694. <p>Misc fixes to SelectLimit() to support Access (top must follow distinct) and Fields()
  695. in the array recordset. From Reinhard Balling.</p>
  696. <p><b>0.96 27 Mar 2001</b></p>
  697. <p>ADOConnection Close() did not return a value correctly. Thanks to akul#otamedia.com.</p>
  698. <p>When the horrible magic_quotes is enabled, back-slash () is changed to double-backslash (\).
  699. This doesn't make sense for Microsoft/Sybase databases. We fix this in qstr().</p>
  700. <p>Fixed Sybase date problem in UnixDate() thanks to Toni Tunkkari. Also fixed MSSQL problem
  701. in UnixDate() - thanks to milhouse31#hotmail.com.</p>
  702. <p>MoveNext() moved to leaf classes for speed in MySQL/PostgreSQL. 10-15% speedup.</p>
  703. <p>Added null handling in bindInputArray in Execute() -- Ron Baldwin suggestion.</p>
  704. <p>Fixed some option tags. Thanks to john#jrmstudios.com.</p>
  705. <p><b>0.95 13 Mar 2001</b></p>
  706. <p>Added postgres7 database driver which supports LIMIT and other version 7 stuff in the future.</p>
  707. <p>Added SelectLimit to ADOConnection to simulate PostgreSQL's "select * from table limit 10 offset 3".
  708. Added helper function GetArrayLimit() to ADORecordSet.</p>
  709. <p>Fixed mysql metacolumns bug. Thanks to Freek Dijkstra (phpeverywhere#macfreek.com).</p>
  710. <p>Also many PostgreSQL changes by Freek. He almost rewrote the whole PostgreSQL driver!</p>
  711. <p>Added fix to input parameters in Execute for non-strings by Ron Baldwin.</p>
  712. <p>Added new metatype, X for TeXt. Formerly, metatype B for Blob also included
  713. text fields. Now 'B' is for binary/image data. 'X' for textual data.</p>
  714. <p>Fixed $this->GetArray() in GetRows().</p>
  715. <p>Oracle and OCI8: 1st parameter is always blank -- now warns if it is filled.</p>
  716. <p>Now <i>hasLimit</i> and <i>hasTop</i> added to indicate whether
  717. SELECT * FROM TABLE LIMIT 10 or SELECT TOP 10 * FROM TABLE are supported.</p>
  718. <p><b>0.94 04 Feb 2001</b></p>
  719. <p>Added ADORecordSet::GetRows() for compatibility with Microsoft ADO. Synonym for GetArray().</p>
  720. <p>Added new metatype 'R' to represent autoincrement numbers.</p>
  721. <p>Added ADORecordSet.FetchObject() to return a row as an object.</p>
  722. <p>Finally got a Linux box to test PostgreSql. Many fixes.</p>
  723. <p>Fixed copyright misspellings in 0.93.</p>
  724. <p>Fixed mssql MetaColumns type bug.</p>
  725. <p>Worked around odbc bug in PHP4 for sessions.</p>
  726. <p>Fixed many documentation bugs (affected_rows, metadatabases, qstr).</p>
  727. <p>Fixed MySQL timestamp format (removed comma).</p>
  728. <p>Interbase driver did not call ibase_pconnect(). Fixed.</p>
  729. <p><b>0.93 18 Jan 2002</b></p>
  730. <p>Fixed GetMenu bug.</p>
  731. <p>Simplified Interbase commit and rollback.</p>
  732. <p>Default behaviour on closing a connection is now to rollback all active transactions.</p>
  733. <p>Added field object handling for array recordset for future XML compatibility.</p>
  734. <p>Added arr2html() to convert array to html table.</p>
  735. <p><b>0.92 2 Jan 2002</b></p>
  736. <p>Interbase Commit and Rollback should be working again.</p>
  737. <p>Changed initialisation of ADORecordSet. This is internal and should not affect users. We
  738. are doing this to support cached recordsets in the future.</p>
  739. <p>Implemented ADORecordSet_array class. This allows you to simulate a database recordset
  740. with an array.</p>
  741. <p>Added UnixDate() and UnixTimeStamp() to ADORecordSet.</p>
  742. <p><b>0.91 21 Dec 2000</b></p>
  743. <p>Fixed ODBC so ErrorMsg() is working.</p>
  744. <p>Worked around ADO unrecognised null (0x1) value problem in COM.</p>
  745. <p>Added Sybase support for FetchField() type</p>
  746. <p>Removed debugging code and unneeded html from various files</p>
  747. <p>Changed to javadoc style comments to adodb.inc.php.</p>
  748. <p>Added maxsql as synonym for mysqlt</p>
  749. <p>Now ODBC downloads first 8K of blob by default
  750. <p><b>0.90 15 Nov 2000</b></p>
  751. <p>Lots of testing of Microsoft ADO. Should be more stable now.</p>
  752. <p>Added $ADODB_COUNTREC. Set to false for high speed selects.</p>
  753. <p>Added Sybase support. Contributed by Toni Tunkkari (toni.tunkkari#finebyte.com). Bug in Sybase
  754. API: GetFields is unable to determine date types.</p>
  755. <p>Changed behaviour of RecordSet.GetMenu() to support size parameter (listbox) properly.</p>
  756. <p>Added emptyDate and emptyTimeStamp to RecordSet class that defines how to represent
  757. empty dates.</p>
  758. <p>Added MetaColumns($table) that returns an array of ADOFieldObject's listing
  759. the columns of a table.</p>
  760. <p>Added transaction support for PostgresSQL -- thanks to "Eric G. Werk" egw#netguide.dk.</p>
  761. <p>Added adodb-session.php for session support.</p>
  762. <p><b>0.80 30 Nov 2000</b><

Large files files are truncated, but you can click here to view the full file