1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>LuaSQL: Database connectivity for the Lua programming language</title>
<link rel="stylesheet" href="doc.css" type="text/css"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo">
<img alt="LuaSQL logo" src="luasql.png"/>
</div>
<div id="product_name"><big><strong>LuaSQL</strong></big></div>
<div id="product_description">Database connectivity for the Lua programming language</div>
</div> <!-- id="product" -->
<div id="main">
<div id="navigation">
<h1>LuaSQL</h1>
<ul>
<li><a href="index.html">Home</a>
</li>
<li><a href="manual.html">Manual</a>
</li>
<li><a href="examples.html">Examples</a></li>
<li><strong>History</strong></li>
<li><a href="http://github.com/keplerproject/luasql">Project</a>
<ul>
<li><a href="https://github.com/lunarmodules/luasql/issues">Bug Tracker</a></li>
</ul>
</li>
<li><a href="license.html">License</a></li>
</ul>
</div> <!-- id="navigation" -->
<div id="content">
<h2><a name="history"></a>History</h2>
<dl class="history">
<dt><strong>LuaSQL 2.7.0</strong> [23/Apr/2025]</dt>
<dd>
<ul>
<li>LuaSQL is adapted to Lua version 5.4 and all the drivers are compatible with To-be-closed variables.</li>
<li>The <code>:close()</code> method now returns false and a string with appropriate message instead of raising an error when there are related open objects.</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.6.1</strong> [07/Feb/2024]</dt>
<dd>
<ul>
<li>Corrected compatibility to Lua versions below 5.3 to SQLite3 (thanks to Daniel McCarney)</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.6.0</strong> [09/Sep/2020]</dt>
<dd>
<ul>
<li>Added read-only mode to SQLite3 and two new methods to MySQL fetch</li>
<li>Added library opening functions to ease the initialization process in C applications</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.5.0</strong> [14/Jun/2019]</dt>
<dd>
<ul>
<li>Added support in MySQL driver for seeking in the result set</li>
<li>Bug-fix on number retrieval on ODBC driver (thanks to Mauro Grassia)</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.4.0</strong> [30/Oct/2018]</dt>
<dd>
<ul>
<li>Added support in MySQL driver for opening a connection based on a Unix socket (thanks to rafis)</li>
<li>Added connection ping method (thanks to rafis)</li>
<li>Added Makefile for mingw (thanks to watercoldyi)</li>
<li>Bug correction on retrieving varchar2 data (thanks to David Gao)</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.3.5</strong> [23/Feb/2017]</dt>
<dd>
<ul>
<li>Added some bug corrections and tested with Lua versions 5.1, 5.2 and 5.3 (only Postgres, MySQL and SQLite were tested by the time of the launch)</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.3.4</strong> [30/Oct/2016]</dt>
<dd>
<ul>
<li>Bug correction in Postgres driver: escaping string bigger than the default buffer are now correctly handled</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.3.3</strong> [16/May/2016]</dt>
<dd>
<ul>
<li>Bug correction in Postgres driver: generating error message after failed connection (thanks to seanpringle)</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.3.2</strong> [14/May/2016]</dt>
<dd>
<ul>
<li>Bug correction in Postgres driver: freeing memory after failed connection opening (thanks to seanpringle)</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.3.1</strong> [28/Mar/2016]</dt>
<dd>
<ul>
<li>Improvement on the Postgres driver to avoid the need of compiler support of dynamic array allocation</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.3.0</strong> [23/May/2012]</dt>
<dd>
<ul>
<li>Added support to compile the drivers for all Lua 5.X versions (only Postgres, MySQL and SQLite were tested by the time of the launch)</li>
<li>Correction on MySQL implementation to honor the close of the cursor when the last row is returned</li>
<li>Drivers:
<ul>
<li>Postgres: tested with versions 8.4 and 9.1</li>
<li>MySQL: tested with version 5.1</li>
<li>SQLite3: tested with version 3.6</li>
<li>Firebird: compiled but not tested</li>
<li>SQLite: adapted but not compiled</li>
<li>ODBC: adapted but not compiled</li>
<li>Oracle/OCI8: adapted but not compiled</li>
<li>ADO: nothing changed</li>
<li>JDBC: nothing changed</li>
</ul>
</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.2.0</strong> [??/??/200?]</dt>
<dd>
<ul>
<li>Added Firebird driver</li>
<li>Added LuaRocks specifications</li>
<li><a href="manual.html#escape">escape</a> method added to some drivers</li>
<li><a href="manual.html#mysql_getlastautoid">getlastautoid</a> method added to MySQL driver</li>
<li><a href="manual.html#cur_fetch">fetch</a> method now closes the cursor when there is no more rows to retrieve</li>
<li>Uniformization of method's return values on all drivers</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.1.1</strong> [29/Oct/2007]</dt>
<dd>
<ul>
<li>Fixed a bug in the SQLite3 error handling (patch by David Burgess)</li>
<li>Fixed bug
<a href="http://github.com/keplerproject/luasql/issues&atid=166&func=detail&aid=1770">[#1770]</a>
for SQLite 3 (found by Enrico Tassi, patch by Marc Nijdam)</li>
<li>Fixed bug
<a href="http://github.com/keplerproject/luasql/issues&atid=166&func=detail&aid=1834">[#1834]</a>
for SQLite 3 (found by Savin Zlobec, patch by Marc Nijdam)</li>
</ul>
</dd>
<dt><strong>LuaSQL 2.1.0</strong> [29/Aug/2007]</dt>
<dd>
<ul>
<li>Added support for SQLite 3</li>
<li>Bug correction: freeing PGresults in the Postgres driver (thanks to Michael Broughton)</li>
<li>Corrected memory leak when no cursor created (thanks to Klaus Ripke)</li>
<li>Corrected bug avoiding duplicate access to stack</li>
</ul>
</dd>
<dt><strong><a href="http://www.keplerproject.org/luasql/2.0/">LuaSQL 2.0.2</a></strong> [26/Jun/2006]</dt>
<dd>
<ul>
<li><a href="manual.html#mysql_extensions">numrows</a> method added to MySQL driver.</li>
<li>Added a <code>config</code> for the <code>makefile</code>.</li>
<li>Added configuration for the UnixODBC driver.</li>
<li>Bug fixes to the SQLite driver (bug found by Mike Petersen).</li>
<li>Bug fixes to the JDBC, OCI8 and ADO drivers.</li>
<li>Improved tests.</li>
<li>Updated documentation.</li>
</ul>
</dd>
<dt><strong><a href="http://www.keplerproject.org/luasql/2.0/">LuaSQL 2.0.1</a></strong> [02/Jun/2005]</dt>
<dd>
<ul>
<li>Bug fixes to the ODBC driver.</li>
</ul>
</dd>
<dt><strong><a href="http://www.keplerproject.org/luasql/2.0/">LuaSQL 2.0.0</a></strong> [22/Mar/2005]</dt>
<dd>
<ul>
<li>Added ADO driver and some bug fixes to the ODBC driver.</li>
</ul>
</dd>
<dt><strong><a href="http://www.keplerproject.org/luasql/2.0/">LuaSQL 2.0 Beta 3</a></strong> [23/Dec/2004]</dt>
<dd>
<ul>
<li>Minor bug fixes.</li>
</ul>
</dd>
<dt><strong><a href="http://www.keplerproject.org/luasql/2.0/">LuaSQL 2.0 Beta 2</a></strong> [26/Nov/2004]</dt>
<dd>
<ul>
<li>Bug fixes</li>
<li>New SQLite and JDBC drivers</li>
<li>LuaSQL now follows the <a href="http://www.keplerproject.org/compat/">package model</a>
for Lua 5.1 (see <a href="manual.html#installation">Installation</a> section for more details).</li>
</ul>
</dd>
<dt><strong><a href="http://www.keplerproject.org/luasql/2.0/">LuaSQL 2.0 Beta</a></strong> [10/Nov/2003]</dt>
</dl>
<h2>Changes from previous versions</h2>
<p>Version 2.x has some design changes and implementation improvements compared to version 1.0:</p>
<ul>
<li>New <code>fetch</code> method: more eficient and more flexible</li>
<li>New <code>setautocommit</code> method</li>
<li>Lua 5.0 and 5.1 compatible</li>
<li>Dynamically loadable or statically linked</li>
<li>New drivers for Oracle and MySQL databases</li>
</ul>
<p> </p>
<p> </p>
<p> </p>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>
|